Hi ! Me again, I hope someone on this list is able to answer my question because there is not much information insise the XML Schema API and the tutorial is very light !
So to sum up my first mail: "how to retrieve the value of an element extension attribute (not in the xsd namespace)?" Thanks, Pierre -----Message d'origine----- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Envoyé : mardi 4 juillet 2006 13:45 À : [email protected] Objet : [XML Schema Project] retrieve extension attribute value Hi List, I need to retrieve the value of some extension attribute defined in an xsd:element from the XML Schema section of a WSDL 2.0 file. I used the Woden apache project to parse the WSDL 2.0 file and was able to retrieve a XmlSchemaElement instance that I don't know how to use. I've read the API for XmlSchemaElement but that didn't give me any usefull information. So my question is: How to obtain the value of a named extension attribute (with its QName for example) from a XmlSchemaElement instance ? For example, in the following schema I would like to obtain the value of the "sawsdl:modelReference" attribute from the "OrderRequest" XmlSchemaElement instance. <wsdl:types> <xs:schema targetNamespace="http://example.org/order#" elementFormDefault="qualified"> <xs:element name="OrderRequest" sawsdl:modelReference="http://www.w3.org/2002/ws/sawsdl/spec/ontology/purchaseorder#OrderRequest" sawsdl:liftingSchemaMapping="http://www.w3.org/2002/ws/sawsdl/spec/mapping/Request2Ont.xslt"> <xs:complexType> Thanks ! -- Pierre Chatel THALES COMMUNICATIONS FRANCE SC2 - Software Core for Computer-based systems 1-5, Avenue Carnot / BC4 91883 Massy CEDEX Tel 01 69 75 30 57 --------------------------------------------------------------------- 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]
