You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-users@xerces.apache.org by George Rosier <ge...@yahoo.com> on 2001/06/19 22:32:21 UTC
Newbie - need help with Schema validation
Hi, I'm new to xerces and I would like if some one
could tell me where to find some easy to understand
examples on how to validate, report errors, and parse
a XML document using the DOM parser.
for example on how to parse this....
--------- XSD File -------------
<?xml version="1.0" ?>
<schema xsd:xmlns="............"
targetNamespace="http://www.test.com"
xmlns="http://www.test.com">
<xsd:element name="Test">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="SomeElement"
type="xsd:string" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</schema>
--------- XML File -------------
<?xml version="1.0" ?>
<Test xsi:xmlns=".........."
xsi:schemaLocation="http://www.test.com
Test.xsd">
<SomeElement>Test</SomeElement>
</Test>
__________________________________________________
Do You Yahoo!?
Spot the hottest trends in music, movies, and more.
http://buzz.yahoo.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-user-help@xml.apache.org