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
On Thursday, 9 September 2021 at 17:17:23 UTC, tastyminerals
wrote:
Maybe I missed something obvious in the docs but how can I just
parse the XML and print its content?
idk how to use dxml but my dom.d makes these things trivial
http://arsd-official.dpldocs.info/arsd.dom.html
On Thursday, 9 September 2021 at 17:17:23 UTC, tastyminerals
wrote:
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
On Thursday, 9 September 2021 at 17:17:23 UTC, tastyminerals
wrote:
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
On Thursday, 9 September 2021 at 18:40:53 UTC, jfondren wrote:
On Thursday, 9 September 2021 at 17:17:23 UTC, tastyminerals
wrote:
[...]
dxml.parser is a streaming XML parser. The documentation at
http://jmdavisprog.com/docs/dxml/0.4.0/dxml_parser.html has a
link to more information about
On Thursday, 9 September 2021 at 23:29:56 UTC, Imperatorn wrote:
On Thursday, 9 September 2021 at 18:40:53 UTC, jfondren wrote:
On Thursday, 9 September 2021 at 17:17:23 UTC, tastyminerals
wrote:
[...]
dxml.parser is a streaming XML parser. The documentation at
On Thursday, 9 September 2021 at 05:37:35 UTC, Tejas wrote:
On Thursday, 9 September 2021 at 05:32:29 UTC, Tejas wrote:
On Tuesday, 7 September 2021 at 17:47:15 UTC, james.p.leblanc
wrote:
[...]
writeln([0]);
scope(exit) AlignedMallocator.instance.deallocate(buffer);
//...
}
```