Re: Questions about XML processing?

2020-11-08 Thread Hernán De Angelis
On 2020-11-07 20:03, Dieter Maurer wrote: Hernán De Angelis wrote at 2020-11-6 21:54 +0100: ... However, the hard thing to do here is to get those only when tagC/note/title/string='value'. I was expecting to find a way of specifying a certain construction in square brackets, like [@string='valu

Re: Questions about XML processing?

2020-11-07 Thread Dieter Maurer
Hernán De Angelis wrote at 2020-11-6 21:54 +0100: > ... >However, the hard thing to do here is to get those only when >tagC/note/title/string='value'. I was expecting to find a way of >specifying a certain construction in square brackets, like >[@string='value'] or [@/tagC/note/title/string='value'

Re: Questions about XML processing?

2020-11-07 Thread Hernán De Angelis
No, it is XML metadata. I also believe there should be a better way using [@...] expressions in the path. H. Den lör 7 nov. 2020 13:14Shaozhong SHI skrev: > Hi, Hernan, > > Did you try to parse GML? > > Surely, there can be very concise and smart ways to do these things. > > Regards, > > David

Re: Questions about XML processing?

2020-11-07 Thread Shaozhong SHI
Hi, Hernan, Did you try to parse GML? Surely, there can be very concise and smart ways to do these things. Regards, David On Fri, 6 Nov 2020 at 20:57, Hernán De Angelis wrote: > Thank you Terry, Dan and Dieter for encouraging me to post here. I have > already solved the problem albeit with a

Re: Questions about XML processing?

2020-11-06 Thread Hernán De Angelis
Thank you Terry, Dan and Dieter for encouraging me to post here. I have already solved the problem albeit with a not so efficient solution. Perhaps, it is useful to present it here anyway in case some light can be added to this. My job is to parse a complicated XML (iso metadata) and pick up v

Re: Questions about XML processing?

2020-11-06 Thread Terry Reedy
On 11/6/2020 11:17 AM, Hernán De Angelis wrote: I am confronting some XML parsing challenges and would like to ask some questions to more knowledgeable Python users. Apparently there exists a group for such questions but that list (xml-sig) has apparently not received (or archived) posts since

Questions about XML processing?

2020-11-06 Thread Hernán De Angelis
Hi everyone I am confronting some XML parsing challenges and would like to ask some questions to more knowledgeable Python users. Apparently there exists a group for such questions but that list (xml-sig) has apparently not received (or archived) posts since May 2018(!). I wonder if there are