I want to use a Relax NG compact schema. Do I specify the .rnc file in the xsi:schemaLocation
the way I would for an XSD? I don't want to convert the Relax NG to an XSD because the limitations of XSD that would be a problem in my case.
xsi:schemaLocation is specific to XML Schema.
If you need to specify the location of a RNG schema in a document (the usefulness of this practice is not always obvious ;), you can use an XML Model Processing Instruction (assuming of course that you use a tool that supports it, the recommendation being still young).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With