Skip to content

Update how-to-create-an-xml-document-based-on-an-xsd-schema.md #5664 #5711

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Aug 10, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ Also, note that `xs:base64Binary` content will be generated only if enumerations

1. Follow the steps in [How to: Create and edit an XSD schema file](../xml-tools/how-to-create-and-edit-an-xsd-schema-file.md).

2. In the [XML Schema Explorer](../xml-tools/xml-schema-explorer.md), right-click the `PurchaseOrder` global element. Select **Generate Sample XML**.
2. In the [XML Schema Explorer](../xml-tools/xml-schema-explorer.md), select and hold (or right-click) the `PurchaseOrder` global element, and then select **Generate Sample XML**.

When you select this option, the PurchaseOrder.*xml* file with the following sample XML content will be generated and opened in the XML editor:

Expand Down
10 changes: 5 additions & 5 deletions docs/xml-tools/how-to-edit-xml-files.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ The XML editor is the new editor for XML files. It can be used on a stand-alone
> [!NOTE]
> XHTML documents are handled by the HTML Editor.

To edit an XML file, double-click the file you want to edit.
To edit an XML file, select and hold (or double-click) the file you want to edit.

## Add a new XML file to a project

Expand Down Expand Up @@ -44,7 +44,7 @@ To edit an XML file, double-click the file you want to edit.

2. Select **XML File** to create a new XML file; or, select **XSLT File** to create a new XSLT style sheet.

3. Click **Open**.
3. Select **Open**.

## Create an empty project for XML files

Expand All @@ -56,17 +56,17 @@ To edit an XML file, double-click the file you want to edit.

2. Select the code language of your choice, and then select the **Empty Project (.NET Framework)** template.

3. Click **OK**.
3. Select **OK**.

::: moniker-end

::: moniker range=">=vs-2019"

1. From the **File** menu, select **New** > **Project**.

2. Enter **Empty Project** in the template search box, select the **Empty Project (.NET Framework)** template, and then click **Next**.
2. Enter **Empty Project** in the template search box, select the **Empty Project (.NET Framework)** template, and then select **Next**.

3. Click **Create**.
3. Select **Create**.

::: moniker-end

Expand Down