Is it possible to validate an XML document when that XML document does not
specify a DTD via a <!DOCTYPE ...> section?
What I would like to do is create the factory - reference a DTD from
within the code then parse and manipulate an XML document by importing
fragments from a series of files prior to writing it out again, confident
that it is still valid as well as well-formed.
I am using a Xerces parser via Java.
Thanks for your help.
Ivor
specify a DTD via a <!DOCTYPE ...> section?
What I would like to do is create the factory - reference a DTD from
within the code then parse and manipulate an XML document by importing
fragments from a series of files prior to writing it out again, confident
that it is still valid as well as well-formed.
I am using a Xerces parser via Java.
Thanks for your help.
Ivor