Re: splitting an XML file on the basis on basis of XML tags

2008-04-07 Thread bijeshn
On Apr 7, 5:34 pm, Stefan Behnel <[EMAIL PROTECTED]> wrote: > bijeshn wrote: > > the extracted files are to be XML too. ijust need to extract it raw > > (tags and data just like it is in the parent XML file..) > > Ah, so then replace the "print t

Re: splitting an XML file on the basis on basis of XML tags

2008-04-07 Thread bijeshn
the extracted files are to be XML too. ijust need to extract it raw (tags and data just like it is in the parent XML file..) -- http://mail.python.org/mailman/listinfo/python-list

Re: splitting an XML file on the basis on basis of XML tags

2008-04-07 Thread bijeshn
pls disregard the above post On Apr 7, 3:13 pm, bijeshn <[EMAIL PROTECTED]> wrote: > > What do you mean by "written down to a separate file"? Do you have a > > specific > > format in mind? > > sorry, it should be extracted into separate " XML fi

Re: splitting an XML file on the basis on basis of XML tags

2008-04-07 Thread bijeshn
> > What do you mean by "written down to a separate file"? Do you have a specific > format in mind? > sorry, it should be extracted into separate "files". i.e. if i have an XML file containing 10 million records, i need to split the file to 100 files containing 100,000 records each. i hope this

Re: splitting an XML file on the basis on basis of XML tags

2008-04-03 Thread bijeshn
On Apr 3, 11:28 pm, "Diez B. Roggisch" <[EMAIL PROTECTED]> wrote: > > I abuse it because I can (and because I don't generally work with XML > > files larger than 20-30meg) :) > > And the OP never said the XML file for 1TB in size, which makes things > > different. > > Even with small xml-files your

Re: splitting an XML file on the basis on basis of XML tags

2008-04-02 Thread bijeshn
On Apr 2, 5:37 pm, Chris <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] wrote: > > Hi all, > > >          i have an XML file with the following structure:: > > > > > -| > >     | > >     | > > .           | > > .           |         > constitutes one record. > > .        

splitting an XML file on the basis on basis of XML tags

2008-04-02 Thread bijeshn
Hi all, i have an XML file with the following structure:: -| | | . | . | > constitutes one record. . | . | . | | | | . . .---| . | .

copying all data(tags and values) after a particular XML tag

2008-03-12 Thread bijeshn
i've an XML file with the following structure . . . . . what i want to do is copy all data(tags and all) between N and N+k appearances of . I am a python newbie. How do I do it? Thanks. -- http://mail.python.org/mailman/listinfo/python-list