Try using the XMLBeans XQuery/XPath API features. On 26 March 2010 09:57, Peter Keller <[email protected]> wrote:
> Dear all, > > I have been trying to figure out how to get the value of the "id" attribute > of a schema component, but have got nowhere. Can anyone help? > > Slightly more explicitly: if my XSD contains a type definition like this: > > <complexType name="MyType" id="some_identifier_or_other"> > ... > </complexType> > > and I have an instance of this type "myTypeInstance", is there some way > that I can access the value of "id" by using "myTypeInstance.SchemaType()", > or otherwise? > > Regards, > Peter. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > -- Sri Harsha Yenuganti [email protected] " IF YOU ARE NOT BRAVE ENOUGH TO FACE A FAILURE YOU ARE UNFIT TO SUCCEED.AIM HIGH BUT BE PREPARED FOR THE WORST. "

