This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund 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
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Reply 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://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Entity includes
 
Similar Threads
How to incluse a dtd.
jsp:include file
How to deploy JSP/Servlet in Jboss3.2
external DTD file questions
SAXParser causes a null pointer exception when using internal DTD declaration?