I need to put a reference to an XML-schema (xsd) into an XML-node. It should look like this:
<root>
<!--reference to xsd-->
<child1/>
<child2/>
</root>
At the place of the comment should be a link to some schema. Is there a standard way to do this?
This is a good link to start reading about referencing schema documents in XML documents; it gives you a description of the two attributes, xsi:noNamespaceSchemaLocation and xsi:schemaLocation used for this purpose.