Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Embedding a DTD within a DTD?

Status
Not open for further replies.

AndrewSmall

Programmer
Apr 4, 2001
3
US
I am using the Open Travel Alliance (OTA) XML specification but need to send additional elements along with the standard validated XML. I have so far added an internal DTD subset along with the OTA standard external DTD subset. I would like to move the internal DTD subset into an external file of its own without modifying the standard OTA DTD. Can I create a new external DTD with my extensions that also embeds the OTA DTD? I have not seen any reference to this in any tutorials and think that this must be something that others would like to do. I.E. extend industry standard DTDs without modifying them.
How do I do this?
 
One of my coworkers found the answer. The DTD !ENTITY statement handles this.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top