Hi!
Does anyone out there know how to dynamically set the expected location of a
schema file before/during parsing XML? I have the following schemaLocation
directive as part of some XML:

<MyTag xmlns="MyNamespace"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:schemaLocation="MyNamespace MySchemaFile.xsd">
...

The schema file MySchemaFile.xsd doesn't have a full path name by design.
This isn't a problem if this XML is in a file in the same directory as
MySchemaFile.xsd. But if the XML is in a buffer how can I tell the parser
where to find MySchemaFile.xsd?

Also: is it absolutely necessary that the schema be located in a file? Is it
possible to denote a buffer containing schema to the parser?

Thanks,
Victor Yeager
Nielsen Media Research

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to