parsing multiple root element XML into text

Percy Tambunan percy.tambunan at gmail.com
Mon May 12 00:12:43 EDT 2014


On Friday, May 9, 2014 4:02:42 PM UTC+7, Chris Angelico wrote:
> On Fri, May 9, 2014 at 6:59 PM, Percy Tambunan <percy.tambunan at gmail.com> wrote:
> 
> > Hai, I would like to parse this multiple root element XML
> 
> 
> 
> Easy fix might be to wrap it in <root> and </root>, which will give
> 
> you a new root. Would that help?
> 
> 
> 
> ChrisA

Thanks chris for the idea. 
Any suggestion to make it print like this:

create enumdnsched 4.1.0.1.4.7.3.4.3.2.6.e164.arpa -set naptrFlags=nu 
create enumdnsched 5.1.0.1.4.7.3.4.3.2.6.e164.arpa -set naptrFlags=nu 



More information about the Python-list mailing list