I have 10 different DTD's and one specific part of the DTD repeats in all of the DTD's. I want to store this repeating DTD as another separate DTD and use it as a reference in all the other DTD's.

Davanum Srinivas

Yes, this is possible using External Parameter Entities. Here's the sample logon.dtd


Here's another DTD which references the logon.dtd

<!ENTITY % logon SYSTEM "logon.dtd">
Here's a URL which explains this mechanism. http://www.irt.org/articles/js212/#dtd_xhtml_mathml
0 Comments  (click to add your comment)
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.



About | Sitemap | Contact