Just use a standard XML parser to parse the XSD and the XML document. If you don't find the value in the XML document, then you can return the default value from the XSD. Alternatively, write an XSLT to add the default values into the document.
...roboticus
When your only tool is a hammer, all problems look like your thumb.
In reply to Re: XML parser to fetch default values of the optional attributes from the xsd file
by roboticus
in thread XML parser to fetch default values of the optional attributes from the xsd file
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |