Re: What library/package to use for parsing XML?

2017-01-31 Thread Chris Green
Irmen de Jong wrote: > On 30-1-2017 18:58, Chris Green wrote: > > I want to parse some XML data, it's the address book data from the > > linux program osmo. The file I want to parse is like this:- > > > > [snip] > > > > > I basically want to be able to extract the

Re: What library/package to use for parsing XML?

2017-01-30 Thread Rob Gaddi
On 01/30/2017 02:14 PM, Juan C. wrote: On Mon, Jan 30, 2017 at 3:58 PM, Chris Green wrote: I want to parse some XML data, it's the address book data from the linux program osmo. The file I want to parse is like this:- Just like Irmen said, use the default

Re: What library/package to use for parsing XML?

2017-01-30 Thread Juan C.
On Mon, Jan 30, 2017 at 3:58 PM, Chris Green wrote: > I want to parse some XML data, it's the address book data from the > linux program osmo. The file I want to parse is like this:- Just like Irmen said, use the default xml.etree.ElementTree, it's amazing and very simple to use.

Re: What library/package to use for parsing XML?

2017-01-30 Thread Irmen de Jong
On 30-1-2017 18:58, Chris Green wrote: > I want to parse some XML data, it's the address book data from the > linux program osmo. The file I want to parse is like this:- > [snip] > > I basically want to be able to extract the data and output in other > formats - e.g. write to a Sqlite3

What library/package to use for parsing XML?

2017-01-30 Thread Chris Green
I want to parse some XML data, it's the address book data from the linux program osmo. The file I want to parse is like this:- None Peter and Denise Smith 0 0 Some address AAA BBB