Re: [Tutor] Read XML records one by one

2010-03-08 Thread Glen Zangirolami
Another alternative to parsing XML is beautiful soup. Website: http://www.crummy.com/software/BeautifulSoup/ Documentation for parsing xml: http://www.crummy.com/software/BeautifulSoup/documentation.html#Parsing%20XML sample code: from BeautifulSoup import BeautifulStoneSoup xml = "Contents 1Con

Re: [Tutor] Read XML records one by one

2010-03-08 Thread Stefan Behnel
Hichiro, 08.03.2010 10:48: I'm trying to read one by one record in XML file to find out its tag and attribute for schema matching. But I haven't done yet. So, could you help me?! You were not very specific about your data, neither did you provide enough information about your use case to under

[Tutor] Read XML records one by one

2010-03-08 Thread Hichiro
Hi all! I'm trying to read one by one record in XML file to find out its tag and attribute for schema matching. But I haven't done yet. So, could you help me?! Thanks so much! :) -- Best regards, Vinh NV CNPM K50 DHBKHN Y!: Vinh.dhbk Sky : Vinh.dhbk 84 976 314 988 __

[Tutor] Read XML records one by one

2010-03-08 Thread Hichiro
-- Best regards, Vinh NV CNPM K50 DHBKHN Y!: Vinh.dhbk Sky : Vinh.dhbk 84 976 314 988 ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] Read XML

2005-12-07 Thread Joseph Quigley
Joseph Quigley wrote:> How do I read xml? The python documentation doesn't help me. > Or, how can I remove the (tags?) ?If you want to strip out all the tags and just leave the text,Strip-o-Gram might do it. http://www.zope.org/Members/chrisw/StripOGramThere was a thread here recently about other t

Re: [Tutor] Read XML

2005-12-06 Thread Kent Johnson
Joseph Quigley wrote: > How do I read xml? The python documentation doesn't help me. > Or, how can I remove the (tags?) ? If you want to strip out all the tags and just leave the text, Strip-o-Gram might do it. http://www.zope.org/Members/chrisw/StripOGram There was a thread here recently about

Re: [Tutor] Read XML

2005-12-06 Thread Danny Yoo
On Tue, 6 Dec 2005, Joseph Quigley wrote: > How do I read xml? The python documentation doesn't help me. Or, how can > I remove the (tags?) ? Hi Joseph, The modules in the standard library for XML reading should be functional. For example, here is some 'xml.dom.minidom' example code to show h

[Tutor] Read XML

2005-12-06 Thread Joseph Quigley
How do I read xml? The python documentation doesn't help me. Or, how can I remove the (tags?) ? thanks, Joe-- There are 10 different types of people in the world.Those who understand binary and those who don't. ___ Tutor maillist - Tutor@python.org http