Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries [Thread Prev] >Thread Next - Re: dtd to show alternate sub-nodes? dtd to show alternate sub-nodes?To: NULL Date: 11/5/2007 7:25:00 PM I'm new to XML and have been given an XML document for which I need to reverse-engineer a DTD. There are nodes that have one of two different sets of children. I'm not sure how to represent this in a DTD. We will have a bunch that match the first two below, with ChildNode1 and ChildNode2 but then will have a group that have different child-nodes. How can I create a dtd to describe this? Thanks. <someNode> <childNode1/> <childNode2/> </someNode> <someNode> <childNode1/> <childNode2/> </someNode> <someNode> <childNode3/> <childNode4/> </someNode> | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
