This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Entity includes
 
Similar Threads
How to incluse a dtd.
jsp:include file
SAXParser causes a null pointer exception when using internal DTD declaration?
external DTD file questions
How to deploy JSP/Servlet in Jboss3.2