J
Jared
Hello everyone,
I have been researching for some time now, but I cannot figure out how
to declare a DTD within my XML document using Java. Does anyone know
how this can be done?
Here is some data I've gathered:
- the DOMImplementation.createDocumentType method only creates
external DTDs (SYSTEM or PUBLIC)
- Transformer.setOutputProperty and Transformer.transform method
allows me to print out a reference to an external SYSTEM or PUBLIC DTD
in an xml file.
For such a large time investment, I have gathered suprisingly little
data.
Well, if someone could let me know if declaring an DTD inline is
possible with Java, that would be great.
Thanks,
Jared
I have been researching for some time now, but I cannot figure out how
to declare a DTD within my XML document using Java. Does anyone know
how this can be done?
Here is some data I've gathered:
- the DOMImplementation.createDocumentType method only creates
external DTDs (SYSTEM or PUBLIC)
- Transformer.setOutputProperty and Transformer.transform method
allows me to print out a reference to an external SYSTEM or PUBLIC DTD
in an xml file.
For such a large time investment, I have gathered suprisingly little
data.
Well, if someone could let me know if declaring an DTD inline is
possible with Java, that would be great.
Thanks,
Jared