XML validation in stdlib?

  • Thread starter Filip GruszczyÅ„ski
  • Start date
F

Filip Gruszczyński

Hi!

I took a look at the standard library and tried to find some
validation against schema tools, but found none. I googled, but found
only links to external libraries, that can do some validation. Does it
mean, that there is no validation in stdlib or have I just missed
something?
 
S

Stefan Behnel

Filip said:
I took a look at the standard library and tried to find some
validation against schema tools, but found none. I googled, but found
only links to external libraries, that can do some validation. Does it
mean, that there is no validation in stdlib or have I just missed
something?

No, there is no XML validation tool available in the standard library. If you
require depending on the stdlib only, you can write your code with ElementTree
and replace it with lxml when you want to use validation (DTD/XML
Schema/RelaxNG/Schematron).

http://codespeak.net/lxml/

Stefan
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,431
Messages
2,571,679
Members
48,796
Latest member
Greg L.

Latest Threads

Top