How to simply parse and print the XML with dxml?

Adam D Ruppe destructionator at gmail.com
Thu Sep 9 17:46:23 UTC 2021


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

https://github.com/adamdruppe/arsd/blob/master/dom.d
https://code.dlang.org/packages/arsd-official%3Adom

if you're familiar with javascript you'll find a lot of 
similarities with my api there.

for strict xml mode you just use `new XmlDocument` instead of 
`new Document`


More information about the Digitalmars-d-learn mailing list