www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Check an entire XML document for well-formedness in KXML

reply "Sergey" <httpal gmail.com> writes:
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.
Jul 08 2015
parent reply "Gary Willoughby" <dev nomad.so> writes:
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?
Jul 08 2015
parent "Sergey" <httpal gmail.com> writes:
On Wednesday, 8 July 2015 at 12:18:46 UTC, Gary Willoughby wrote:
 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?
I need a solution on d. Now I program (work) on windows.
Jul 08 2015