Closed danielnilsson9 closed 8 years ago
Yep should work - attributes are part of the subset defined in https://github.com/AlexGilleran/IceSoap/wiki/Getting-Started-%283%29#using-xmlobject.
In XPath you target attributes by prefixing @
to the name. So that should be accessible with XMLField("@token")
or something like that.
Ohh, how embarrassing, looks like I read through these documents a bit too fast, missed the @
part... Thank you for your the library and your help, works perfectly!
No worries, great to hear it's helped :)
Not sure if this is not supported or just me being stupid but basically I have this SOAP response:
I need to access the value of the attribute "token" in the "Profiles" node, is it supported by the parser in any way or do I have to parse the xml manually? Obviously the XMLField annotation does not work for this.
Thanks in advance