minOccurs, maxOccurs are members of XSParticle.
When you traverse XSModelGroup you get the list of particles (XSParticle). Particle's term may reference to element declaration, if this is declaration of your element of interest use XSParticle.getMinOccurs(), XSParticle.getMinOccursUnbounded(), XSParticle.getMaxOccurs(), XSParticle.getMaxOccursUnbounded() to get min/max occurences of element.

Max

Rubens Del Monte wrote:

Hello,

 

I´m trying to know if a node has a Max/Min Ocurrs indicator but I don´t find a way, Does anyone know how to do it ?

I´m using "org.apache.xerces.dom.PSVIDocumentImpl", so I have the declarations, I can get the facets, but I can´t find out if a node has a max/minocurrs atribbutte. If anyone knows, please help me.

 

Thanks,

 

Rubens


--

Maksym Kovalenko
Software Engineer
Marketswitch Corporation
http://www.marketswitch.com
108 Powers Court, Suite 225
Dulles, VA 20166
Phone: +1 (703) 444-6750 ext. 302
Fax: +1 (703) 444-6812

Reply via email to