kxml - parsing AWS API xml respond
Kagamin via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Mon Oct 19 04:53:06 PDT 2015
On Monday, 19 October 2015 at 04:49:25 UTC, holo wrote:
> Why there is needed that "//" before tag?
That's an XPath expression.
> How to drop tags from respond? I have such result of parsing by
> id tag:
>
> <instanceId>i-xxxxxx</instanceId>
>
> I need only value. Is there some equivalent to ".text" from
> std.xml?
Try getCData
https://github.com/opticron/kxml/blob/master/source/kxml/xml.d#L309
More information about the Digitalmars-d-learn
mailing list