At 01:13 PM 5/23/2006 -0500, Bernie Miller wrote:
When using DOMcount to validate an XML document, and the schema on which that document is based resides on the same machine, must the document and the schema file be on the same directory? Thank you.

No, the XML document can reference that schema using a relative (like in ../folder/schema.xsd) or an absolute path (like in file:///c:/folder/schema.xsd), or you could set up an entity resolver to map a single file name (like in schema.xsd) to a location chosen by you at run time, even reading the content from the executable memory itself (see the Redirect sample)

Alberto

Reply via email to