| Associate XSD schema with XML document without declaration [message #483347] |
Tue, 01 September 2009 05:36  |
Martin Novak Messages: 4 Registered: July 2009 |
Junior Member |
|
|
It is possible associate XSD schema to some XML document in runtime
without declaration it in this document?
e.g. this two code are equivalent :
<?xml version="1.0" encoding="utf-8" ?>
<root xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="schema.xsd">
<someelement/>
<root>
<?xml version="1.0" encoding="utf-8" ?>
<root>
<someelement/>
<root>
I can override ResolverExtension to get file in my location but I have to
write declaration in XML file.
Thanks.Associate XSD schema with XML document without declaration.
|
|
|
|
Powered by
FUDForum. Page generated in 0.01438 seconds