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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to create DTD just for ENTITY definition purposes

Status
Not open for further replies.

arunco

Programmer
Sep 28, 2002
1
US
Hi,

I have many XML documents with out DTD for any of them. I want to replace many recurring text part (like copy right) and some XML fragments with external DTD entities so that my changes to those text and fragments could be done once in the DTD and all XML parsers see it.

The problem is that even though the XML is well formed I don't want the elements in the documents to be controlled by the DTD. I want to use the DTD just for entity resolution --just like a C language #define macro.

I have no idea how to achieve this even after going thru all the DTD documentation I searched.

Can any one help me please with this.

Thanks, and I would appereciate any help or pointers.

Arun
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top