You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/xml-tools/sorting-filtering-and-grouping-xml-schema-explorer.md
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -11,11 +11,11 @@ manager: douge
11
11
ms.workload:
12
12
- "multiple"
13
13
---
14
-
# Sorting, Filtering, and Grouping (XML Schema Explorer)
14
+
# Sorting, filtering, and grouping (XML Schema Explorer)
15
15
16
-
This topic describes the options that are available through the **Sorting, Filtering, and Grouping Options** menu on the XML Schema Explorer toolbar.
16
+
This topic describes the options that are available through the **Sorting, Filtering, and Grouping Options** menu on the **XML Schema Explorer** toolbar.
17
17
18
-
## Filter Options
18
+
## Filter options
19
19
20
20
The following filter options are available. By default, the **Show Namespaces** and **Show Schema Files** options are selected.
21
21
@@ -25,9 +25,9 @@ This topic describes the options that are available through the **Sorting, Filte
25
25
26
26
-**Show Compositors (sequence/choice/all)**.
27
27
28
-
## Sorting Options
28
+
## Sorting options
29
29
30
-
The following sorting options are available. The default is **Sort By Type**. Sort By options do not apply to files and namespaces.
30
+
The following sorting options are available. The default is **Sort By Type**. **Sort By** options do not apply to files and namespaces.
31
31
32
32
-**Sort By Type**.
33
33
@@ -73,6 +73,6 @@ This topic describes the options that are available through the **Sorting, Filte
73
73
74
74
The **Document Order** option is available when the **Show Schema Files** option is selected. When **Document Order** is selected, global nodes are displayed in the order in which they appear in the schema file.
75
75
76
-
## Persisting Sort/Filter Options
76
+
## Persisting sort/filter options
77
77
78
78
The sorting, filtering, and grouping options are saved to the registry for each user, no matter which solution or files were open when the settings were changed.
Copy file name to clipboardExpand all lines: docs/xml-tools/walkthrough-debug-an-xslt-style-sheet.md
+18-18Lines changed: 18 additions & 18 deletions
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@ manager: douge
11
11
ms.workload:
12
12
- "multiple"
13
13
---
14
-
# Walkthrough: Debug an XSLT Style Sheet
14
+
# Walkthrough: Debug an XSLT style sheet
15
15
16
16
The steps in this walkthrough demonstrate how to use the XSLT debugger. Steps include viewing variables, setting breakpoints, and stepping through the code. The style sheet finds all books that cost below the average book price.
17
17
@@ -21,19 +21,19 @@ The steps in this walkthrough demonstrate how to use the XSLT debugger. Steps in
21
21
22
22
2. Copy the two sample files to your local computer.
23
23
24
-
## Start Debugging
24
+
## Start debugging
25
25
26
26
### To start debugging
27
27
28
28
1. From the **File** menu, point to **Open**, and click **File**.
29
29
30
-
2. Locate the belowAvg.xsl file and click **Open**.
30
+
2. Locate the *belowAvg.xsl* file and click **Open**.
31
31
32
32
The style sheet is opened in the XML Editor.
33
33
34
34
3. Click the browse button (**...**) on the **Input** field of the document properties window.
35
35
36
-
4. Locate the books.xml file and click **Open**.
36
+
4. Locate the *books.xml* file and click **Open**.
37
37
38
38
This sets the source document file that is used for the XSLT transformation.
39
39
@@ -43,54 +43,54 @@ The steps in this walkthrough demonstrate how to use the XSLT debugger. Steps in
43
43
44
44
This starts the debugging process and opens several new windows that are used by the debugger.
45
45
46
-
There are two windows that display the input document and styles sheet. The debugger uses these windows to show the current execution state. The debugger is positioned on the `xsl:if` element of the style sheet and on the first book node in the books.xml file.
46
+
There are two windows that display the input document and styles sheet. The debugger uses these windows to show the current execution state. The debugger is positioned on the `xsl:if` element of the style sheet and on the first book node in the *books.xml* file.
47
47
48
-
The Locals window displays all the local variables and their current values. This includes variables defined in the style sheet and also variables that the debugger uses to track the nodes that are currently in context.
48
+
The **Locals** window displays all the local variables and their current values. This includes variables defined in the style sheet and also variables that the debugger uses to track the nodes that are currently in context.
49
49
50
50
The **XSL Output** window displays the output of the XSL transformation. This window is separate from the **Visual Studio Output** window.
51
51
52
-
## Watch Window
52
+
## Watch window
53
53
54
54
### To use the Watch window
55
55
56
56
1. From the **Debug** menu, point to **Windows**, point to **Watch**, and click **Watch 1**.
57
57
58
-
This makes the Watch 1 window visible.
58
+
This makes the **Watch 1** window visible.
59
59
60
-
2. Type `$bookAverage` in the **Name** field and press ENTER.
60
+
2. Type `$bookAverage` in the **Name** field and press **Enter**.
61
61
62
62
The value of the `$bookAverage` variable is displayed in the window.
63
63
64
-
3. Type `self::node()` in the **Name** field and press ENTER.
64
+
3. Type `self::node()` in the **Name** field and press **Enter**.
65
65
66
66
`self::node()` is an XPath expression that evaluates to the current context node. The value of the `self::node()` XPath expression is the first book node. This changes as we progress through the transformation.
67
67
68
68
4. Expand the `self::node()` node, and then expand the `price` node.
69
69
70
70
This allows you to see the value of the book price and you can easily compare it to the `$bookAverage` value. Because the book price is below the average, the `xsl:if` condition should succeed.
71
71
72
-
## Step Through the Code
72
+
## Step through the code
73
73
The debugger enables you to execute code one line at a time.
74
74
75
75
### To step through the code
76
76
77
77
1. Press **F5** to continue.
78
78
79
-
Because the first book node satisfied the `xsl:if` condition, the book node is added to the XSL output window. The debugger continues to execute until it is positioned again on the `xsl:if` element in the style sheet. The debugger is now positioned on the second book node in the books.xml file.
79
+
Because the first book node satisfied the `xsl:if` condition, the book node is added to the **XSL Output** window. The debugger continues to execute until it is positioned again on the `xsl:if` element in the style sheet. The debugger is now positioned on the second book node in the *books.xml* file.
80
80
81
-
In the Watch1 window the `self::node()` value changes to the second book node. By examining the value of the price element, you can determine that the price is above the average, thus the `xsl:if` condition should fail.
81
+
In the **Watch 1** window the `self::node()` value changes to the second book node. By examining the value of the price element, you can determine that the price is above the average, thus the `xsl:if` condition should fail.
82
82
83
83
2. Press **F5** to continue.
84
84
85
-
Because the second book node does not meet the `xsl:if` condition, the book node is not added to the XSL output window. The debugger continues to execute until it is positioned again on the `xsl:if` element in the style sheet. The debugger is now positioned on the third `book` node in the books.xml file.
85
+
Because the second book node does not meet the `xsl:if` condition, the book node is not added to the **XSL Output** window. The debugger continues to execute until it is positioned again on the `xsl:if` element in the style sheet. The debugger is now positioned on the third `book` node in the *books.xml* file.
86
86
87
-
In the Watch1 window the `self::node()` value changes to the third book node. By examining the value of the `price` element, you can determine that the price is below the average, thus the `xsl:if` condition should succeed.
87
+
In the **Watch 1** window the `self::node()` value changes to the third book node. By examining the value of the `price` element, you can determine that the price is below the average, thus the `xsl:if` condition should succeed.
88
88
89
89
3. Press **F5** to continue.
90
90
91
-
Because the `xsl:if` condition was satisfied, the third book is added to the XSL Output window. All books in the XML document have been processed and the debugger stops.
91
+
Because the `xsl:if` condition was satisfied, the third book is added to the **XSL Output** window. All books in the XML document have been processed and the debugger stops.
92
92
93
-
## Sample Files
93
+
## Sample files
94
94
95
95
The following two files are used by the walkthrough.
96
96
@@ -149,6 +149,6 @@ The following two files are used by the walkthrough.
Copy file name to clipboardExpand all lines: docs/xml-tools/walkthrough-using-xml-editor-features.md
+14-14Lines changed: 14 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -11,14 +11,14 @@ manager: douge
11
11
ms.workload:
12
12
- "multiple"
13
13
---
14
-
# Walkthrough: Using XML Editor Features
14
+
# Walkthrough: Use XML editor features
15
15
16
16
The steps in this walkthrough show you how to create a new XML document. The walkthrough also uses some of the features of the XML Editor that make it valuable for XML authoring.
17
17
18
18
> [!NOTE]
19
-
> Before starting the walkthrough, save the hireDate.xsd file (included below in this topic) to your local computer.
19
+
> Before starting the walkthrough, save the *hireDate.xsd* file (included below in this topic) to your local computer.
20
20
21
-
## To create a new XML file and associate it with an XML Schema
21
+
## To create a new XML file and associate it with an XML schema
22
22
23
23
1. On the **File** menu, point to **New**, and click **File**.
24
24
@@ -34,7 +34,7 @@ The steps in this walkthrough show you how to create a new XML document. The wal
34
34
35
35
The **Open XSD Schema** dialog box is displayed.
36
36
37
-
5. Select the hireDate.xsd file and click **Open**.
37
+
5. Select the *hireDate.xsd* file and click **Open**.
38
38
39
39
6. Click **OK**.
40
40
@@ -54,7 +54,7 @@ The steps in this walkthrough show you how to create a new XML document. The wal
54
54
55
55
-**employee** to add the root element.
56
56
57
-
2. Select **<!--** to add a comment node and press ENTER.
57
+
2. Select **<!--** to add a comment node and press **Enter**.
58
58
59
59
The editor inserts a comment end tag and places the cursor between the start and end comment tags.
60
60
@@ -66,25 +66,25 @@ The steps in this walkthrough show you how to create a new XML document. The wal
66
66
67
67
5. Type `>` to close the tag.
68
68
69
-
6. The editor adds the end tag. The end tag is added with a wavy underline indicating a validation error. The ToolTip displays the message: The element 'employee' has incomplete content. Expected 'ID'.
69
+
6. The editor adds the end tag. The end tag is added with a wavy underline indicating a validation error. The **ToolTip** displays the message: **The element 'employee' has incomplete content. Expected 'ID'**.
70
70
71
71
7. Type `<` and select **ID** from the member list. Then type `>`.
72
72
73
73
The editor adds the XML element, `<ID></ID>`, and positions the cursor after the ID start tag.
74
74
75
75
8. Type **abc**.
76
76
77
-
The **abc** text has a wavy underline. The ToolTip displays the message: The 'ID' element has an invalid value according to its data type.
77
+
The **abc** text has a wavy underline. The **ToolTip** displays the message: **The 'ID' element has an invalid value according to its data type**.
78
78
79
-
9. Rightclick on the ID element and select **Go To Definition**.
79
+
9. Right-click on the ID element and select **Go To Definition**.
80
80
81
-
The editor opens the hireDate.xsd file in a new document window and positions the cursor on the ID schema element definition.
81
+
The editor opens the *hireDate.xsd* file in a new document window and positions the cursor on the ID schema element definition.
82
82
83
83
10. Return to the XML file, and replace the **abc** text with **123**.
84
84
85
-
The wavy underline and ToolTip are cleared under the ID element value. The ToolTip for the employee end tag now displays the message: The element 'employee' has incomplete content. Expected 'hire-date'.
85
+
The wavy underline and **ToolTip** are cleared under the ID element value. The **ToolTip** for the employee end tag now displays the message: **The element 'employee' has incomplete content. Expected 'hire-date'**.
86
86
87
-
11. Place the cursor after the ID end tag, type in `<`, select hire-date from the member list, and then type in `>`.
87
+
11. Place the cursor after the ID end tag, type in `<`, select **hire-date** from the member list, and then type in `>`.
88
88
89
89
The editor adds the XML element, `<hire-date></hire-date>`, and positions the cursor after the hire-date start tag.
90
90
@@ -100,11 +100,11 @@ The steps in this walkthrough show you how to create a new XML document. The wal
100
100
101
101
1. From the **File** menu, select **Save As**.
102
102
103
-
The **Save File As** dialog box is displayed. The default filename is 'XMLFile1'.
103
+
The **Save File As** dialog box is displayed. The default filename is *'XMLFile1'*.
104
104
105
105
2. Enter the file name and location for the XML document and click **Save**.
106
106
107
-
## hireDate.xsd File
107
+
## hireDate.xsd file
108
108
The following schema file is used by the walkthrough.
109
109
110
110
```xml
@@ -123,6 +123,6 @@ The steps in this walkthrough show you how to create a new XML document. The wal
Copy file name to clipboardExpand all lines: docs/xml-tools/walkthrough-using-xslt-hierarchy.md
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ author: gewarren
8
8
ms.author: gewarren
9
9
manager: douge
10
10
---
11
-
# Walkthrough: Using XSLT Hierarchy
11
+
# Walkthrough: Use XSLT hierarchy
12
12
13
13
The XSLT Hierarchy tool simplifies many XML development tasks. An XSLT style sheet often uses `includes` and `imports` instructions. Compilation starts from the principal style sheet, but when you see an error as a result of compiling an XSLT style sheet, the error may come from a different source than the principal style sheet. Fixing the error or editing the style sheet may require access to included or imported style sheets. Stepping through the style sheet in the debugger may open included and imported style sheets, and you may want to add a breakpoint at some point in one or more of the included style sheets.
14
14
@@ -42,7 +42,7 @@ The example in this topic demonstrates debugging in a referenced style sheet.
42
42
</COLLECTION>
43
43
```
44
44
45
-
1. Add the following `xslincludefile.xsl`:
45
+
1. Add the following *xslincludefile.xsl*:
46
46
47
47
```xml
48
48
<?xml version='1.0'?>
@@ -65,7 +65,7 @@ The example in this topic demonstrates debugging in a referenced style sheet.
65
65
</xsl:stylesheet>
66
66
```
67
67
68
-
3. Add the following `xslinclude.xsl` file:
68
+
3. Add the following *xslinclude.xsl* file:
69
69
70
70
```xml
71
71
<?xml version='1.0'?>
@@ -107,4 +107,4 @@ The example in this topic demonstrates debugging in a referenced style sheet.
Copy file name to clipboardExpand all lines: docs/xml-tools/walkthrough-using-xslt-intellisense.md
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -41,7 +41,7 @@ This walkthrough demonstrates how to use XSLT IntelliSense to auto-complete valu
41
41
</xsl:stylesheet>
42
42
```
43
43
44
-
2. Insert your cursor after `<xsl:templatename="msg23"match="msg23">` and press ENTER. Then start typing the following `xsl:call-template` element:
44
+
2. Insert your cursor after `<xsl:templatename="msg23"match="msg23">` and press **Enter**. Then start typing the following `xsl:call-template` element:
45
45
46
46
```xml
47
47
<xsl:call-templatename="localized-message">
@@ -50,7 +50,7 @@ This walkthrough demonstrates how to use XSLT IntelliSense to auto-complete valu
50
50
51
51
The list of template names appears in the `name=""` attribute of the `xsl:call-template` element as you type.
52
52
53
-
3. Insert your cursor after `<xsl:call-templatename="localized-message">` and press ENTER. Then start typing the following `xsl:with-param` element:
53
+
3. Insert your cursor after `<xsl:call-templatename="localized-message">` and press **Enter**. Then start typing the following `xsl:with-param` element:
@@ -107,7 +107,7 @@ This walkthrough demonstrates how to use XSLT IntelliSense to auto-complete valu
107
107
</xsl:stylesheet>
108
108
```
109
109
110
-
2. Insert your cursor after `<xsl:apply-templatesselect="phone" />` and press ENTER. Then start typing the following `xsl: apply-templates` element:
110
+
2. Insert your cursor after `<xsl:apply-templatesselect="phone" />` and press **Enter**. Then start typing the following `xsl: apply-templates` element:
@@ -148,7 +148,7 @@ This walkthrough demonstrates how to use XSLT IntelliSense to auto-complete valu
148
148
</xsl:stylesheet>
149
149
```
150
150
151
-
2. Insert your cursor after `<xsl:stylesheetxmlns:xsl="http://www.w3.org/1999/XSL/Transform"xmlns:alt="http://www.w3.org/1999/XSL/Transform-alternate"version="1.0">` and press ENTER. Then start typing the following `xsl:namespace-alias` element:
151
+
2. Insert your cursor after `<xsl:stylesheetxmlns:xsl="http://www.w3.org/1999/XSL/Transform"xmlns:alt="http://www.w3.org/1999/XSL/Transform-alternate"version="1.0">` and press **Enter**. Then start typing the following `xsl:namespace-alias` element:
Copy file name to clipboardExpand all lines: docs/xml-tools/walkthrough-xslt-profiler.md
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -83,7 +83,7 @@ The procedures in the following walkthrough require Visual Studio and .NET Frame
83
83
84
84
5. You can also sort the data by clicking column names.
85
85
86
-
### Select CallTree view
86
+
### Select Call Tree View
87
87
88
88
1. Select **Call Tree View** in the **Current View** drop-down list. This view is a tree view of program execution.
89
89
@@ -103,6 +103,6 @@ The procedures in the following walkthrough require Visual Studio and .NET Frame
103
103
104
104
4. The process view displays a table that includes the **Process ID**, **Process Name**, **Begin Time**, and the **End Time**. Data can be sorted by clicking column names.
105
105
106
-
## See Also
106
+
## See also
107
107
108
-
-[Walkthrough: Using XSLT Hierarchy](../xml-tools/walkthrough-using-xslt-hierarchy.md)
108
+
-[Walkthrough: Using XSLT hierarchy](../xml-tools/walkthrough-using-xslt-hierarchy.md)
0 commit comments