Skip to content

Commit ba94f75

Browse files
authored
Merge pull request #2145 from craigcaseyMSFT/vcraic0601e
Content update project in xml tools folder (41-50)
2 parents 51b0781 + 29fbf33 commit ba94f75

10 files changed

+66
-66
lines changed

docs/xml-tools/sorting-filtering-and-grouping-xml-schema-explorer.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ manager: douge
1111
ms.workload:
1212
- "multiple"
1313
---
14-
# Sorting, Filtering, and Grouping (XML Schema Explorer)
14+
# Sorting, filtering, and grouping (XML Schema Explorer)
1515

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.
1717

18-
## Filter Options
18+
## Filter options
1919

2020
The following filter options are available. By default, the **Show Namespaces** and **Show Schema Files** options are selected.
2121

@@ -25,9 +25,9 @@ This topic describes the options that are available through the **Sorting, Filte
2525

2626
- **Show Compositors (sequence/choice/all)**.
2727

28-
## Sorting Options
28+
## Sorting options
2929

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.
3131

3232
- **Sort By Type**.
3333

@@ -73,6 +73,6 @@ This topic describes the options that are available through the **Sorting, Filte
7373

7474
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.
7575

76-
## Persisting Sort/Filter Options
76+
## Persisting sort/filter options
7777

7878
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.

docs/xml-tools/walkthrough-debug-an-xslt-style-sheet.md

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ manager: douge
1111
ms.workload:
1212
- "multiple"
1313
---
14-
# Walkthrough: Debug an XSLT Style Sheet
14+
# Walkthrough: Debug an XSLT style sheet
1515

1616
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.
1717

@@ -21,19 +21,19 @@ The steps in this walkthrough demonstrate how to use the XSLT debugger. Steps in
2121

2222
2. Copy the two sample files to your local computer.
2323

24-
## Start Debugging
24+
## Start debugging
2525

2626
### To start debugging
2727

2828
1. From the **File** menu, point to **Open**, and click **File**.
2929

30-
2. Locate the belowAvg.xsl file and click **Open**.
30+
2. Locate the *belowAvg.xsl* file and click **Open**.
3131

3232
The style sheet is opened in the XML Editor.
3333

3434
3. Click the browse button (**...**) on the **Input** field of the document properties window.
3535

36-
4. Locate the books.xml file and click **Open**.
36+
4. Locate the *books.xml* file and click **Open**.
3737

3838
This sets the source document file that is used for the XSLT transformation.
3939

@@ -43,54 +43,54 @@ The steps in this walkthrough demonstrate how to use the XSLT debugger. Steps in
4343

4444
This starts the debugging process and opens several new windows that are used by the debugger.
4545

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.
4747

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.
4949

5050
The **XSL Output** window displays the output of the XSL transformation. This window is separate from the **Visual Studio Output** window.
5151

52-
## Watch Window
52+
## Watch window
5353

5454
### To use the Watch window
5555

5656
1. From the **Debug** menu, point to **Windows**, point to **Watch**, and click **Watch 1**.
5757

58-
This makes the Watch 1 window visible.
58+
This makes the **Watch 1** window visible.
5959

60-
2. Type `$bookAverage` in the **Name** field and press ENTER.
60+
2. Type `$bookAverage` in the **Name** field and press **Enter**.
6161

6262
The value of the `$bookAverage` variable is displayed in the window.
6363

64-
3. Type `self::node()` in the **Name** field and press ENTER.
64+
3. Type `self::node()` in the **Name** field and press **Enter**.
6565

6666
`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.
6767

6868
4. Expand the `self::node()` node, and then expand the `price` node.
6969

7070
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.
7171

72-
## Step Through the Code
72+
## Step through the code
7373
The debugger enables you to execute code one line at a time.
7474

7575
### To step through the code
7676

7777
1. Press **F5** to continue.
7878

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.
8080

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.
8282

8383
2. Press **F5** to continue.
8484

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.
8686

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.
8888

8989
3. Press **F5** to continue.
9090

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.
9292

93-
## Sample Files
93+
## Sample files
9494

9595
The following two files are used by the walkthrough.
9696

@@ -149,6 +149,6 @@ The following two files are used by the walkthrough.
149149
</bookstore>
150150
```
151151

152-
## See Also
152+
## See also
153153

154154
- [Debugging XSLT](../xml-tools/debugging-xslt.md)

docs/xml-tools/walkthrough-using-xml-editor-features.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@ manager: douge
1111
ms.workload:
1212
- "multiple"
1313
---
14-
# Walkthrough: Using XML Editor Features
14+
# Walkthrough: Use XML editor features
1515

1616
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.
1717

1818
> [!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.
2020
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
2222

2323
1. On the **File** menu, point to **New**, and click **File**.
2424

@@ -34,7 +34,7 @@ The steps in this walkthrough show you how to create a new XML document. The wal
3434

3535
The **Open XSD Schema** dialog box is displayed.
3636

37-
5. Select the hireDate.xsd file and click **Open**.
37+
5. Select the *hireDate.xsd* file and click **Open**.
3838

3939
6. Click **OK**.
4040

@@ -54,7 +54,7 @@ The steps in this walkthrough show you how to create a new XML document. The wal
5454

5555
- **employee** to add the root element.
5656

57-
2. Select **<!--** to add a comment node and press ENTER.
57+
2. Select **<!--** to add a comment node and press **Enter**.
5858

5959
The editor inserts a comment end tag and places the cursor between the start and end comment tags.
6060

@@ -66,25 +66,25 @@ The steps in this walkthrough show you how to create a new XML document. The wal
6666

6767
5. Type `>` to close the tag.
6868

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'**.
7070

7171
7. Type `<` and select **ID** from the member list. Then type `>`.
7272

7373
The editor adds the XML element, `<ID></ID>`, and positions the cursor after the ID start tag.
7474

7575
8. Type **abc**.
7676

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**.
7878

79-
9. Right click on the ID element and select **Go To Definition**.
79+
9. Right-click on the ID element and select **Go To Definition**.
8080

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.
8282

8383
10. Return to the XML file, and replace the **abc** text with **123**.
8484

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'**.
8686

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 `>`.
8888

8989
The editor adds the XML element, `<hire-date></hire-date>`, and positions the cursor after the hire-date start tag.
9090

@@ -100,11 +100,11 @@ The steps in this walkthrough show you how to create a new XML document. The wal
100100

101101
1. From the **File** menu, select **Save As**.
102102

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'*.
104104

105105
2. Enter the file name and location for the XML document and click **Save**.
106106

107-
## hireDate.xsd File
107+
## hireDate.xsd file
108108
The following schema file is used by the walkthrough.
109109

110110
```xml
@@ -123,6 +123,6 @@ The steps in this walkthrough show you how to create a new XML document. The wal
123123
</xs:schema>
124124
```
125125

126-
## See Also
126+
## See also
127127

128128
- [XML Editor](../xml-tools/xml-editor.md)

docs/xml-tools/walkthrough-using-xslt-hierarchy.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ author: gewarren
88
ms.author: gewarren
99
manager: douge
1010
---
11-
# Walkthrough: Using XSLT Hierarchy
11+
# Walkthrough: Use XSLT hierarchy
1212

1313
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.
1414

@@ -42,7 +42,7 @@ The example in this topic demonstrates debugging in a referenced style sheet.
4242
</COLLECTION>
4343
```
4444

45-
1. Add the following `xslincludefile.xsl`:
45+
1. Add the following *xslincludefile.xsl*:
4646

4747
```xml
4848
<?xml version='1.0'?>
@@ -65,7 +65,7 @@ The example in this topic demonstrates debugging in a referenced style sheet.
6565
</xsl:stylesheet>
6666
```
6767

68-
3. Add the following `xslinclude.xsl` file:
68+
3. Add the following *xslinclude.xsl* file:
6969

7070
```xml
7171
<?xml version='1.0'?>
@@ -107,4 +107,4 @@ The example in this topic demonstrates debugging in a referenced style sheet.
107107

108108
## See also
109109

110-
- [Walkthrough: XSLT Profiler](../xml-tools/walkthrough-xslt-profiler.md)
110+
- [Walkthrough: XSLT profiler](../xml-tools/walkthrough-xslt-profiler.md)

docs/xml-tools/walkthrough-using-xslt-intellisense.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ This walkthrough demonstrates how to use XSLT IntelliSense to auto-complete valu
4141
</xsl:stylesheet>
4242
```
4343

44-
2. Insert your cursor after `<xsl:template name="msg23" match="msg23">` and press ENTER. Then start typing the following `xsl:call-template` element:
44+
2. Insert your cursor after `<xsl:template name="msg23" match="msg23">` and press **Enter**. Then start typing the following `xsl:call-template` element:
4545

4646
```xml
4747
<xsl:call-template name="localized-message">
@@ -50,7 +50,7 @@ This walkthrough demonstrates how to use XSLT IntelliSense to auto-complete valu
5050

5151
The list of template names appears in the `name=""` attribute of the `xsl:call-template` element as you type.
5252

53-
3. Insert your cursor after `<xsl:call-template name="localized-message">` and press ENTER. Then start typing the following `xsl:with-param` element:
53+
3. Insert your cursor after `<xsl:call-template name="localized-message">` and press **Enter**. Then start typing the following `xsl:with-param` element:
5454

5555
```xml
5656
<xsl:with-param name="msgcode">msg23</xsl:with-param>
@@ -107,7 +107,7 @@ This walkthrough demonstrates how to use XSLT IntelliSense to auto-complete valu
107107
</xsl:stylesheet>
108108
```
109109

110-
2. Insert your cursor after `<xsl:apply-templates select="phone" />` and press ENTER. Then start typing the following `xsl: apply-templates` element:
110+
2. Insert your cursor after `<xsl:apply-templates select="phone" />` and press **Enter**. Then start typing the following `xsl: apply-templates` element:
111111

112112
```xml
113113
<xsl:apply-templates select="phone" mode="accountNumber">
@@ -148,7 +148,7 @@ This walkthrough demonstrates how to use XSLT IntelliSense to auto-complete valu
148148
</xsl:stylesheet>
149149
```
150150

151-
2. Insert your cursor after `<xsl:stylesheet xmlns: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:stylesheet xmlns: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:
152152

153153
```xml
154154
<xsl:namespace-alias stylesheet-prefix="alt" result-prefix="xsl"/>
@@ -158,4 +158,4 @@ This walkthrough demonstrates how to use XSLT IntelliSense to auto-complete valu
158158

159159
## See also
160160

161-
- [XML Editor IntelliSense Features](../xml-tools/xml-editor-intellisense-features.md)
161+
- [XML Editor IntelliSense features](../xml-tools/xml-editor-intellisense-features.md)

docs/xml-tools/walkthrough-xslt-profiler.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ The procedures in the following walkthrough require Visual Studio and .NET Frame
8383

8484
5. You can also sort the data by clicking column names.
8585

86-
### Select CallTree view
86+
### Select Call Tree View
8787

8888
1. Select **Call Tree View** in the **Current View** drop-down list. This view is a tree view of program execution.
8989

@@ -103,6 +103,6 @@ The procedures in the following walkthrough require Visual Studio and .NET Frame
103103

104104
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.
105105

106-
## See Also
106+
## See also
107107

108-
- [Walkthrough: Using XSLT Hierarchy](../xml-tools/walkthrough-using-xslt-hierarchy.md)
108+
- [Walkthrough: Using XSLT hierarchy](../xml-tools/walkthrough-using-xslt-hierarchy.md)

docs/xml-tools/working-with-xml-data.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Additional features include:
3030

3131
- Support for editing XSLT style sheets, including IntelliSense support.
3232

33-
- XML Schema Explorer.
33+
- **XML Schema Explorer**.
3434

3535
## XML Schema designer
3636

@@ -45,15 +45,15 @@ Visual Studio supports debugging XSLT style sheets. Using the debugger, you can
4545
[Debugging XSLT](../xml-tools/debugging-xslt.md)
4646
Discusses how to debug style sheets using the Visual Studio debugger.
4747

48-
[XML Standards Reference](http://msdn.microsoft.com/79c78508-c9d0-423a-a00f-672e855de401)
48+
[XML standards reference](http://msdn.microsoft.com/79c78508-c9d0-423a-a00f-672e855de401)
4949
Provides information about XML technologies, including XML, Document Type Definition (DTD), XML Schema definition language (XSD), and XSLT.
5050

5151
[Create and configure datasets in Visual Studio](../data-tools/create-and-configure-datasets-in-visual-studio.md)
5252
Provides an explanation of the design-time tools for creating datasets.
5353

54-
[XML Web Services in Managed Code](http://msdn.microsoft.com/c9a7dc25-3e68-4723-bfb7-de4320830196)
54+
[XML Web services in managed code](http://msdn.microsoft.com/c9a7dc25-3e68-4723-bfb7-de4320830196)
5555
Discusses how to create and deploy XML Web services and how to access XML Web services.
5656

5757
## See also
5858

59-
- [XML Tools in Visual Studio](../xml-tools/xml-tools-in-visual-studio.md)
59+
- [XML tools in Visual Studio](../xml-tools/xml-tools-in-visual-studio.md)

0 commit comments

Comments
 (0)