File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
XML and Related Technologies
XML within XML
Joined: Oct 21, 2005
Oct 21, 2005 12:58:00
How can I include an XML [Having same dtd] into another XML.
Joined: Feb 27, 2002
Oct 22, 2005 04:02:00
Not sure about youre question. Are you asking how to refer to DTD in a XML document or how to include an external XML file in a XML file.
For first one
<!DOCTYPE note SYSTEM "note.dtd">
For 2nd one use XInclude.
Joined: Mar 22, 2005
Oct 24, 2005 05:57:00
If you don't need to mix elements (i.e., the included XML is just a text blob to the including XML), use a CDATA section.
If you need to access elements of both at the same time, give each a namespace. As suggested, XInclude can help as well.
I agree. Here's the link:
subject: XML within XML
Ajax Jqery xml response - not able to read response
making XML Doc from JDBC Results
iText problem with html-table to pdf
Pronounciation of "Buzz Words"
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015