|
Hello,
You have to options
: either enter the full path to the schema in your xml file, or set it
programmatically.
To have the full
path in the xml instance document :
<root
xmlns="http://www.yournamespace.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.yournamespace.com
file://thePathToSchema">
To set it
programmatically :
DocumentBuilderFactory factory =
DocumentBuilderFactory.newInstance();
factory.setAttribute("http://apache.org/xml/properties/schema/external-schemaLocation", "http://yournamespace.com " +
thePathToSchema);
Hope this Helps,
R�gis
|
<<attachment: ATT03713.gif>>
<<attachment: ATT03714.gif>>
<<attachment: ATT03715.jpg>>
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
