How to define XDTO package to obtain the value of element if it has an attribute?
Example XML:
| Code |
|---|
<id_lang xlink:href="http://example.com/api/languages/2">
<![CDATA[ 2 ]]>
</id_lang> |
When I am trying to convert it to XDTO Object it just show me the value of attribute xlink:href and omits element value no matter how I am trying to describe the XML scheme. In the case of use of AnyType it also show me just attribute value.
The code is:
| Code |
|---|
ExType = XDTOFactory.Type("http://www.sample-package.org", "example");
Object = XDTOFactory.ReadXML(XMLReader, ExType); |
"example" defined in configuration