You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xmlbeans.apache.org by "Kamath, Navin" <na...@iona.com> on 2007/06/14 10:21:26 UTC

XMLBeans object API for ref!

Hi,

 

Does anyone know how to check if the given element is a "ref" with
XMLBeans?

 

I have a SchemaType object corresponding to gdocsRequest below and I
want to check if any of the child elements have a "ref" or not.

 

<element name="gdocsRequest">

  <complexType>

    <sequence>

      <element ref="msg:behaviorVersion" minOccurs="0"/>

      <element name="myint" type="xs:int"/>                       

    </sequence>

  </complexType>

</element>

 

Regards,

Navin

 


----------------------------
IONA Technologies PLC (registered in Ireland)
Registered Number: 171387
Registered Address: The IONA Building, Shelbourne Road, Dublin 4, Ireland