[XML-SIG] how to use XSV in python to validate an xml file against an xsd schema file
Nico Grubert
nicogrubert@web.de
Fri, 21 Mar 2003 11:11:27 +0100
hello,
i played around with XSV. I have installed it on win2000 and run the XSV f=
ile from the command line passing an xml file and and xsd schema file.
how can i use XSV in python =3F
I tried:
"""
# validateTestXML.py
from XSV.driver import runitAndShow
xmlfile =3D "myxmlfile.xml"
schemafile =3D "myxsdfile.xsd"
res =3D runitAndShow( xmlfile, schemafile )
print res
"""
but python does not print out anything. how can I print, if the validation=
brought errors or not =3F
has anybody ever used it directly in python =3F
thanks in advance
-nico
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=
=5F=5F=5F=5F
Jetzt 52 verschiedene Briefpapiere f=FCr Ihre E-Mails bei
WEB.DE FreeMail - http://freemail.web.de/features/=3Fmc=3D021140