Rank: Newbie
Joined: 8/20/2009 Posts: 1 Location: London
|
I have generated the Java code for my XML Schema. I would now like to a) Loop through each node in the schema b) process each of the nodes depending on what type it is - e.g. Group or Element
What is the Java code to
a) loop through all nodes? b) determin if a node is an Element or a Group c) If it is a group, what type it is? e.g. sequence or choice d) If it is an Element, what is the primative type - date, int etc
|