It is SalesType.type I was referring to.
you can do something like:
SchemaType st = SalesType.type;
SchemaProperty[] sp = st.getAttributeProperties()
-or-
SchemaProperty sp = st.getAttributeProperty(new
QName("attribute_your_looking_for");
sp. ...
http://xmlbeans.apache.org/docs/2.0.0/reference/org/apache/xmlbeans/SchemaProperty.html
Hope this helps,
-jacobd
On Dec 28, 2007 9:28 AM, lyassa <[EMAIL PROTECTED]> wrote:
>
> Jacob,
> Thanks for your reply. Will you please explain more on your answer. I
> couldn't find SalesType.schemaType. I found SalesType.type, but still
> couldn't figure out how to use it to get the answer to my question.
>
> --
> View this message in context:
> http://www.nabble.com/Methods-to-query-the-xsd-attributes--tp14520676p14528652.html
>
> Sent from the Xml Beans - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]