Experts Exchange connects you with the people and services you need so you can get back to work.
'' Create an XmlReader to read in the XML document to create an XSD file for.
'' Change the path to fit your needs.
Dim reader As XmlReader = XmlReader.Create("C:\Working Directory\linkfile2.xml")
'' Holds the XSD elements as they are created
Dim schemaSet As XmlSchemaSet = New XmlSchemaSet()
'' Used to infer the XSD from the XML file
Dim schema As XmlSchemaInference = New XmlSchemaInference()
'' Create the XSD document
schemaSet = schema.InferSchema(reader)
'' Write the XSD document to a file. Change the path to where to
'' save it on the file system
Using sw As New StreamWriter("C:\Working Directory\LinkFile2.xsd")
For Each s As XmlSchema In schemaSet.Schemas()
Open in new window
Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.
One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.
Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.
Have a better answer? Share it in a comment.
Please enter a first name
Please enter a last name
Must be at least 4 characters long.
Join and Comment
From novice to tech pro — start learning today.
Premium members can enroll in this course at no extra cost.
Premium members get this course for $122.40.
Premium members get this course for $95.20.
Premium members get this course for $62.50.
Premium members get this course for $79.20.
Premium members get this course for $148.75.
Premium members get this course for $159.20.
Premium members get this course for $108.00.
Premium members get this course for $12.50.