XML validationg against XSD file in Python

Discussion in 'Python' started by colincolehour@gmail.com, Jun 28, 2006.

  1. Guest

    I have tried searching for tips or tutorials on validating an XML file
    against and XSD file in python but I haven't had any luck. Can someone
    point me in the right direction to how this would be achieved. I've
    read that Python has built in libraries for DTD validation but nothing
    about XSD.

    Thanks,
    Colin
     
    , Jun 28, 2006
    #1
    1. Advertising

  2. Jarek Zgoda Guest

    napisa³(a):

    > I have tried searching for tips or tutorials on validating an XML file
    > against and XSD file in python but I haven't had any luck. Can someone
    > point me in the right direction to how this would be achieved. I've
    > read that Python has built in libraries for DTD validation but nothing
    > about XSD.


    lxml has support for schema-based validation.

    --
    Jarek Zgoda
    http://jpa.berlios.de/
     
    Jarek Zgoda, Jun 29, 2006
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. simon ames
    Replies:
    1
    Views:
    522
    Joerg Jooss
    Apr 11, 2004
  2. Markus
    Replies:
    1
    Views:
    1,190
    Markus
    Nov 22, 2005
  3. Replies:
    2
    Views:
    759
  4. Rushi
    Replies:
    1
    Views:
    585
  5. Robert Bravery

    Validationg against a selection

    Robert Bravery, May 28, 2006, in forum: Javascript
    Replies:
    1
    Views:
    76
    Thomas 'PointedEars' Lahn
    May 30, 2006
Loading...

Share This Page