Re: Parsing XML Using XPATH for Python

2014-12-06 Thread Uzoma Ojemeni
On Tuesday, December 2, 2014 11:52:37 PM UTC+1, John Gordon wrote: > In Uzoma Ojemeni > writes: > > > I am new to Python - a few days old - and I would appreciate some help. > > > I want write a python code to parse the below XML as below:- > > > ServingCell--NeighbourCell > > L41_NBR

Re: Parsing XML Using XPATH for Python

2014-12-02 Thread dieter
Uzoma Ojemeni writes: ... One easy option would be to use the "XPath" support in the "lxml" package -- provided you have not problem with the installation of external libraries ("libxml2" and "libxslt") and C-extensions ("lxml"). -- https://mail.python.org/mailman/listinfo/python-list

Re: Parsing XML Using XPATH for Python

2014-12-02 Thread John Gordon
In Uzoma Ojemeni writes: > I am new to Python - a few days old - and I would appreciate some help. > I want write a python code to parse the below XML as below:- > ServingCell--NeighbourCell > L41_NBR3347_1--L41_NBR3347_2 > L41_NBR3347_1--L41_NBR3347_3 > L41_NBR3347_1-

Parsing XML Using XPATH for Python

2014-12-02 Thread Uzoma Ojemeni
I am new to Python - a few days old - and I would appreciate some help. I want write a python code to parse the below XML as below:- ServingCell--NeighbourCell L41_NBR3347_1--L41_NBR3347_2 L41_NBR3347_1--L41_NBR3347_3 L41_NBR3347_1--L41_NBR3349_1 L41_NBR3347_1-