• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Problem with Cyclic DTD's

 
Ranch Hand
Posts: 84
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,
I am writing a visual tool to write xml file based upon the dtd
file. The user will load the dtd file, elements and attributes
will be shown in a tree form. The user will select the elements/attributes and xml file will be generated.
Here, I have no idea how to deal with the cyclic dtd's. Like:
<!ELEMENT A (B)*>
<!ATTLIST A name CDATA #IMPLIED>
<!ELEMENT B (A|X|Y)>
<!ELEMENT X (#PCDATA)>
<!ELEMENT Y (#PCDATA)>
Please help me.
Regards
Sanjay.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic