[xsd-users] how to access xs:ref="element" target element name
vikas
pvssvikas at gmail.com
Thu Aug 23 10:27:00 EDT 2012
Hello xsd-users,
can you please help with the following scenario, I've tried checking at
online forums, and user guides, all the given examples but could not
find relevant information.
*Can you please let me know how to access element name of the parsed xml,
when reference elements are being used with xsd?*
*Sample xsd:*
<OperationList>
<xs:sequence>
<xs:element ref="operation" minOccurs="1"
maxOccurs="unbounded" />
</xs:sequence>
</OperationList>
*Sample xml:*
<OperationList>
<createglobaluser id = 1>
</createglobaluser>
<createlocaluser id = 2>
</createglobaluser>
</OperationList>
Thanks,
-Vikas.
More information about the xsd-users
mailing list