xsom

Using a schema to sort an XML document

Say I have an XML document (represented as text, a W3C DOM, whatever), and also an XML Schema. The XML document has all the right elements as defined by the schema, but in the wrong order. How do I use the schema to "re-order" the elements in the document to conform to the ordering defined by the schema? I know that this should be poss...

getting the minOccurs attribute using XSOM from an element

How do I get the minOccurs attribute off of an element using the XSOM parser? I've seen this example for getting the attributes related to a complex type: private void getAttributes(XSComplexType xsComplexType){ Collection<? extends XSAttributeUse> c = xsComplexType.getAttributeUses(); Iterator<? extends XSAttributeUse> i = c.it...

xsom jre 1.5 problem

Hi, Does xsom parser have any problems on jre 1.5 ? ...