Dear all, I've written an XML Schema document and an instance document. They both live in my C:\XML Schema directory. 1) In the XML document (test.xsd) what do I set this values to? xmlns:xsd= targetNamespace= xmlns= elementFormDefault= 2)In the instance document (test.xml) what do I set this values to? xmlns = xmlns:xsi = xsi:schemaLocation = Thanks in advance. Ambrose Tati
Ajith Kallambella
Sheriff
Joined: Mar 17, 2000
Posts: 5781
posted
0
In XML <?xml version="1.0"?> <RootElement xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="my C:\XML\MySchema.xsd">
In XSD <?xml version="1.0"?> <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
Hope that helps! ------------------ Ajith Kallambella M. Sun Certified Programmer for the Java�2 Platform. IBM Certified Developer - XML and Related Technologies, V1.
Open Group Certified Master IT Architect.
Sun Certified Architect(SCEA).