[XML-SIG] Does Python libexpat and EXPAT
stefan_ml at behnel.de
Fri Aug 21 17:11:57 CEST 2009
please don't top-post.
> On Aug 21, 2:37 am, Stefan Behnel wrote:
>> hari wrote:
>>> Am very new to XML, I have a query, Does Python libexpat and EXPAT
>>> are same or they are diffrent?
>> Depends on what you mean with "EXPAT". Python's expat module that you can
>> find in the standard library is the well known non-validating XML parser
>> originally written by James Clark.
>> BTW, if you are new to XML and want to use it in Python, you might want to
>> start with the xml.etree package.
> Thanks, now I want to know is whether Expat is used as the base for
> developing Python libexpat.
That's what I said above: the Python module is based on the expat parser.
Note that the xml.etree package also uses the expat parser, but that's only
one of the reasons why it's so fast.
More information about the XML-SIG