andrea crotti writes:
> ...
> The reason is that it has to work on many platforms and without any c module
> installed, the reason of that
Searching for a pure Python solution, you might have a look at "PyXB".
It has not been designed to validate XML instances against XML-Schema
(but to map betw
2012/6/13 Stefan Behnel
> andrea crotti, 13.06.2012 12:06:
> > Hello Python friends, I have to validate some xml files against some xsd
> > schema files, but I can't use any cool library as libxml unfortunately.
>
> Any reason for that? Because the canonical answer to your question would be
> lxm
andrea crotti, 13.06.2012 12:06:
> Hello Python friends, I have to validate some xml files against some xsd
> schema files, but I can't use any cool library as libxml unfortunately.
Any reason for that? Because the canonical answer to your question would be
lxml, which uses libxml2.
Stefan
--
h
andrea crotti writes:
> Hello Python friends, I have to validate some xml files against some xsd
> schema files, but I can't use any cool library as libxml unfortunately.
Why?
It seems not very rational to implement a complex task (such as
XML-Schema validation) when there are ready solutions ar
So as far as I understood what I should do is the following.
Go through my own XML keeping track of the full path of everything for
example
and so on, then for every entry found in this iteration, check the schema
to make sure that that particular construct is allowed
on that level of the tree
Hello Python friends, I have to validate some xml files against some xsd
schema files, but I can't use any cool library as libxml unfortunately.
A Python-only validator might be also fine, but all the projects I've
seen are partial or seem dead..
So since we define the schema ourselves, I was all
> Hi,
>
> Basic XML questions,
>
> I have a .xml file I want to validate against a .xsd file...
>
> Does the Python base distribution come with a validating XML parser?
>
> I want to make sure the elements in my xml file vs. the elements
> defined in my xsd are a mat
Hi,
Basic XML questions,
I have a .xml file I want to validate against a .xsd file...
Does the Python base distribution come with a validating XML parser?
I want to make sure the elements in my xml file vs. the elements
defined in my xsd are a match.
I could parse both XML and xsd elements to
On Jul 8, 10:01 am, Omari Norman <[EMAIL PROTECTED]> wrote:
> My app needs to validate XML. That's easy enough in Unix. What is the
> best way to do it in Windows?
>
> The most obvious choice would of course be PyXML. However, apparently it
> is no longer maintained:
>
> http://sourceforge.net/proj
On Jul 8, 12:22 pm, Stefan Behnel <[EMAIL PROTECTED]> wrote:
> Omari Norman wrote:
> > My app needs to validate XML. That's easy enough in Unix. What is the
> > best way to do it in Windows?
>
> > The most obvious choice would of course be PyXML. However, apparently it
> > is no longer maintained:
Omari Norman wrote:
> My app needs to validate XML. That's easy enough in Unix. What is the
> best way to do it in Windows?
>
> The most obvious choice would of course be PyXML. However, apparently it
> is no longer maintained:
>
> http://sourceforge.net/project/showfiles.php?group_id=6473
>
> s
My app needs to validate XML. That's easy enough in Unix. What is the
best way to do it in Windows?
The most obvious choice would of course be PyXML. However, apparently it
is no longer maintained:
http://sourceforge.net/project/showfiles.php?group_id=6473
so there are no Windows binaries that w
Kirk Strauser wrote:
> We're looking for a current, supported, validating XML parser. Since it
> seems like there are a few thousand out there, I though we'd see what
> everyone else is using.
You are asking for lxml, right?
http://codespeak.net/lxml/
> Bonus points
We're looking for a current, supported, validating XML parser. Since it
seems like there are a few thousand out there, I though we'd see what
everyone else is using.
Bonus points if it can do something like:
>>> foo = XMLParser("""
Robert Kern wrote:
> Dale Strickland-Clark wrote:
>> A few days ago there was a discussion about which XML parser to use with
>> Python.
>> However, the discussion didn't cover validating parsers, at least, not
>> w3.org XML Schemas.
>>
>> I looked into all the parsers that came up in the discuss
Dale Strickland-Clark wrote:
> A few days ago there was a discussion about which XML parser to use with
> Python.
> However, the discussion didn't cover validating parsers, at least, not
> w3.org XML Schemas.
>
> I looked into all the parsers that came up in the discussion but found no
> mention o
A few days ago there was a discussion about which XML parser to use with
Python.
However, the discussion didn't cover validating parsers, at least, not
w3.org XML Schemas.
I looked into all the parsers that came up in the discussion but found no
mention of w3.org schemas.
It seems there are a few
17 matches
Mail list logo