aspose file tools*
The moose likes XML and Related Technologies and the fly likes Problem with Cyclic DTD's Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Problem with Cyclic DTD Watch "Problem with Cyclic DTD New topic
Author

Problem with Cyclic DTD's

Sanjay Mishra
Ranch Hand

Joined: Jul 08, 2000
Posts: 84
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem with Cyclic DTD's