IMPORTANT:
this is not a Support Forum! Experienced users might answer from time to time questions posted here. If you need a professional and reliable answer, or if you want to report a bug, please contact Altova Support instead.

How to process a schema in Java? Options · View
greg.soulsby
Posted: Thursday, August 20, 2009 9:14:12 AM
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
Users browsing this topic
guest

Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Use of the Altova User Forum(s) is governed by the Altova Terms of Use.