Skip to Content.
Sympa Menu

xom-interest - Re: [XOM-interest] Welcome to the "XOM-interest" mailing list

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: Arvind Swapna <message4arvind AT gmail.com>
  • To: xom-interest AT lists.ibiblio.org
  • Subject: Re: [XOM-interest] Welcome to the "XOM-interest" mailing list
  • Date: Mon, 17 Oct 2011 14:58:52 +0200

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



  • Re: [XOM-interest] Welcome to the "XOM-interest" mailing list, Arvind Swapna, 10/17/2011

Archive powered by MHonArc 2.6.24.

Top of Page