File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes XML and Related Technologies and the fly likes Entity includes Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Entity includes" Watch "Entity includes" New topic
Author

Entity includes

Tony Morris
Ranch Hand

Joined: Sep 24, 2003
Posts: 1608
I can include a file into a document using an entity declaration in the doctype then use &entity; What if within the file that I am including I also want to include a file? It seems that files that are included cannot have a doctype* - so does that mean it simply cannot be done? One cannot include a file that includes a file using entities?

* I get a parse error if I attempt it and:
http://xml.silmaril.ie/authors/includes/ "The one thing to make sure of is that the included file must not have an XML or DOCTYPE Declaration on it."


Tony Morris
Java Q&A (FAQ, Trivia)
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Entity includes
 
Similar Threads
How to incluse a dtd.
SAXParser causes a null pointer exception when using internal DTD declaration?
jsp:include file
How to deploy JSP/Servlet in Jboss3.2
external DTD file questions