Did you ask about XML::Xerces earlier?
The issue is that I couldn't find any appropriate parser in perl for this Job
I don't think there is one. Any compliant parser should do the job though. There are many parsers around, but only few are fully conformant. My one-stop solution is xerces. If you are willing to spend money there are excellent commercial parsers on the market. For the sake of clarity: you need a parser that fully supports the XMLSchema recommendation, anything else won't do.
When an attribute is declared with a default value in the schema and you parse/process the instance document, the value of the attribute returned by the parser will be:
No need to use XSLT or anything.
Cheers
Harry
In reply to Re: XML parser to fetch default values of the optional attributes from the xsd file
by dHarry
in thread XML parser to fetch default values of the optional attributes from the xsd file
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |