I have an XSD file from which I want to create sample XML.
I found this answer on SO that tells me to use XML Schema Explorer.
But when I open my XSD file in Visual Studio 2008 SP1, I cannot find the option to open the XML Schema Explorer as outlined.
How do I open this window?
In VS2010:
.xsd
file and select " open with ".I solved it as follows:
I created a new file of type 'XML Schema'. That opened up the XML Schema Explorer. Then I switched to my file and the XML Schema Explorer window stayed open.
From How do you open XML Schema Explorer :
The XML Schema Explorer provides a hierarchal view of the schema set through a tree view. The XML Schema Explorer also provides search, filtering, navigation, and sorting. To access the XML Schema Explorer, do one of the following:
Drag the xsd into Visual Studio and then it will be under the View menu.
This question and the various answers helped me investigate how to open XSD files in the XML Designer for Visual Studio 2017 (Community Edition). I used the method to create an XSD in an existing project, which confirmed that the XML Designer and XML Schema Explorer were available. Then I went to File>Open>File...
and entered the URL of the public XSD I wanted to see. Both the XML Designer and XML Schema Explorer then popped up with the content of the public XSD.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.