Discussion:
[XOM-interest] Welcome to the "XOM-interest" mailing list
Arvind Swapna
2011-10-17 12:58:52 UTC
Permalink
Hi
Hi

I have an XSD file in the following format

<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema

xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
<xsd:element

name="Canal">
<xsd:annotation>
<xsd:documentation>abc,def,hi,klmno,prq</xsd:documentation>


</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:long">
<xsd:maxLength

value="50" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>

I need to read, using XSOM parser

the attributes
<xsd:restriction .... >
<xsd:documentation ..... >
<xsd:maxLength ..... >

from this piece


How do I do this ? would appreciate code snipets.


Thanks

Loading...