How do I write my own dtd?



How do I write my own dtd?..

Answer / Ritash Kumar

To write your own DTD, you need to define the structure of your XML document using element and attribute declarations. Start with a `DOCTYPE` declaration specifying the document name, then define your elements (with optional attributes) and their relationships using `<!ELEMENT>` and `<!ATTLIST>`. Save the DTD in an .dtd file and reference it from your XML files.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More XML XSLT RSS Interview Questions

What's xlink?

1 Answers  


How to use filtering in XSLT?

1 Answers  


What is an xml file for video?

1 Answers  


Why would you use xml?

1 Answers  


What language does xml use?

1 Answers  


How do I create an xml return?

1 Answers  


What is xsl fo template?

1 Answers  


How can I view an xml file?

1 Answers  


Explain Processing Instructions mechanism ?

1 Answers  


What is difference between xml and xsl?

1 Answers  


Explain about remote call procedure?

1 Answers  


How do I override a default xml namespace declaration?

1 Answers  


Categories