Hi George,
The samples come with Xerces would be a good start point (DOMCount,
SAXCount, etc.)
And it should be "xmlns:xsd"/"xmlns:xsi" instead of "xsd:xmlns
"/"xsi:xmlns".
Cheers,
Sandy Gao
Software Developer, IBM Canada
(1-416) 448-3255
[EMAIL PROTECTED]
George Rosier
<[EMAIL PROTECTED] To: User List Xerces <[EMAIL
PROTECTED]>
oo.com> cc:
Subject: Newbie - need help with
Schema validation
06/19/2001
04:32 PM
Please respond
to
xerces-j-user
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]