M
michelle
I've been going through the w3.org schema tutorial and I got stuck.
I created a simple schema and a test xml document. How do I get a
validating parser to find my schema?
I'm using the SAX2Print example program in xerces as my test parser. (It
just parses the file and spits it back out to the screen.) If I use a
DOCTYPE declaration and reference a DTD, the parser validates against the
DTD. How do I make it to the same thing with a schema? My test schema is in
a local directory (actually, the same directory as the xml file).
Thanks.
I created a simple schema and a test xml document. How do I get a
validating parser to find my schema?
I'm using the SAX2Print example program in xerces as my test parser. (It
just parses the file and spits it back out to the screen.) If I use a
DOCTYPE declaration and reference a DTD, the parser validates against the
DTD. How do I make it to the same thing with a schema? My test schema is in
a local directory (actually, the same directory as the xml file).
Thanks.