Jump to content

Dtd


mir.shahidul

Recommended Posts

I am facing problem writing DTD file.I want to write DTD syntax of the XML tree like this example: "Marks" is a node and it has two children "Pass" and "Fail". If value of the marks is less than 60 then "Fail" and if marks is greater that 60 then "Pass".How can write this above scenarion in DTD syntax.Could anyone please help me?I will be grateful to u.

Link to comment
Share on other sites

You can't. DTD doesn't allow this, and XML Schema 1.0 and RelaxNG 1.0 don't either. XML Schema 1.1 (currently a draft) is supposed to introduce this ability.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...