How to simply parse and print the XML with dxml?
tastyminerals
tastyminerals at gmail.com
Thu Sep 9 17:17:23 UTC 2021
Maybe I missed something obvious in the docs but how can I just
parse the XML and print its content?
```
import dxml.parser;
auto xml = parseXML!simpleXML(layout);
xml.map!(e => e.text).join.writeln;
```
throws
`core.exception.AssertError at ../../../.dub/packages/dxml-0.4.3/dxml/source/dxml/parser.d(1457): text cannot be called with elementStart`.
More information about the Digitalmars-d-learn
mailing list