From haricibi83 at gmail.com Thu Aug 20 15:48:18 2009 From: haricibi83 at gmail.com (hari) Date: Thu, 20 Aug 2009 06:48:18 -0700 (PDT) Subject: [XML-SIG] Does Python libexpat and EXPAT Message-ID: <8646e2f5-0ac8-4458-8fe0-7fb29407833d@a39g2000pre.googlegroups.com> Hi all, Am very new to XML, I have a query, Does Python libexpat and EXPAT are same or they are diffrent? Thanks in advance. Regards, Hari From stefan_ml at behnel.de Thu Aug 20 19:37:06 2009 From: stefan_ml at behnel.de (Stefan Behnel) Date: Thu, 20 Aug 2009 19:37:06 +0200 Subject: [XML-SIG] Does Python libexpat and EXPAT In-Reply-To: <8646e2f5-0ac8-4458-8fe0-7fb29407833d@a39g2000pre.googlegroups.com> References: <8646e2f5-0ac8-4458-8fe0-7fb29407833d@a39g2000pre.googlegroups.com> Message-ID: <4A8D89C2.2010100@behnel.de> Hi, copying my answer from comp.lang.python: hari wrote: > Hi all, > > 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. Stefan From haricibi83 at gmail.com Fri Aug 21 02:16:34 2009 From: haricibi83 at gmail.com (hari) Date: Thu, 20 Aug 2009 17:16:34 -0700 (PDT) Subject: [XML-SIG] Does Python libexpat and EXPAT In-Reply-To: <4A8D89C2.2010100@behnel.de> References: <8646e2f5-0ac8-4458-8fe0-7fb29407833d@a39g2000pre.googlegroups.com> <4A8D89C2.2010100@behnel.de> Message-ID: <0e93383f-edf0-42de-b4d8-a592383fb652@v15g2000prn.googlegroups.com> Hi , Thanks, now I want to know is whether Expat is used as the base for developing Python libexpat. Sorry to keep on asking questions. -Hari On Aug 21, 2:37?am, Stefan Behnel wrote: > Hi, > > copying my answer from comp.lang.python: > > hari wrote: > > Hi all, > > > 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. > > Stefan > > _______________________________________________ > XML-SIG maillist ?- ?XML-... at python.orghttp://mail.python.org/mailman/listinfo/xml-sig From stefan_ml at behnel.de Fri Aug 21 17:11:57 2009 From: stefan_ml at behnel.de (Stefan Behnel) Date: Fri, 21 Aug 2009 17:11:57 +0200 Subject: [XML-SIG] Does Python libexpat and EXPAT In-Reply-To: <0e93383f-edf0-42de-b4d8-a592383fb652@v15g2000prn.googlegroups.com> References: <8646e2f5-0ac8-4458-8fe0-7fb29407833d@a39g2000pre.googlegroups.com> <4A8D89C2.2010100@behnel.de> <0e93383f-edf0-42de-b4d8-a592383fb652@v15g2000prn.googlegroups.com> Message-ID: <4A8EB93D.1020305@behnel.de> Hi, please don't top-post. hari wrote: > 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. Stefan