I have the following xsd:
<xs:schema xmlns:xs="http://ift.tt/tphNwY" xmlns:uni="http://ws.unisoft" targetNamespace="http://ws.unisoft">
<xs:element name="message" type="xs:string"/>
<xs:element name="anothermsg">
<xs:complexType>
<xs:sequence>
<xs:element ref="uni:message"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
I'm trying to find element with name message via XCD expression. For this goal I use XSOM library. My XCD expr is: "//element::uni:message". When I try this I get only top-level element and don't get referenced element from complexType. Is it right or not? I think not. What other implementations of XCD could you recommend?
No comments:
Post a Comment