Check an entire XML document for well-formedness in KXML

Gary Willoughby via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Jul 8 05:18:45 PDT 2015


On Wednesday, 8 July 2015 at 07:30:51 UTC, Sergey wrote:
> Hello!
>
> I try to use KXML and I need very simple: check an entire XML 
> document for well-formedness. How is it better to do?
>
> Thanks in advance.

Maybe use the command line:

$ sudo apt-get install libxml2
$ xmllint --schema schema.xsd --stream file.xml

or are you after a D solution?


More information about the Digitalmars-d-learn mailing list