Subscribe to keep this site alive! Under new management but as always, still 100% FREE. Anyone with the IBM i is a friend of ours.
The Challenge: How can I map XML tags with multiple instances of an attribute. I imported the tags from XSD. I only have one name, how could I express the other instances? Or is there something wrong with the tool that created the XSD.
The Solution: Don't worry this can be done and the XSD is correct. Consider this situation as something similar to an element set with a qualifier-qualified pair. The element set is equivalent to the XML Tag. and the different name attributes are the qualifiers. The value of the instance is expressed by simply the tag hence it should be driven by a condition against the attribute "name".
Thinking of a new CHALLENGE? Let us know HERE.