Hi,
I have a DTD which looks like :
<?xml version="1.0" encoding="UTF-8"?>
<!--DTD generated by XMLSpy v2007 sp1 (
http://www.altova.com)-->
<!ELEMENT item (#PCDATA | struct)*>
<!ELEMENT struct (#PCDATA)>
When I use this DTD in Ant XJC task, two classes are generated: Item.java
and Struct.java. But there is no method in Item.java to get the Struct
object.
Is there a way to resolve this?
-Anoop