The parser will validate that your document matches what the schema (XSD) says.
DTDs are not as good as XSDs, as they don't enforce datatypes -- they're pretty much only good for enforcing element order and presence. I highly recommend you use XSDs if you can.
Chip H.
If you want to get the best response to a question, please check out FAQ222-2244 first