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

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

Re: Questions about XML processing?

2020-11-07 Thread Hernán De Angelis
that a bracketed >> clause of the type [@ ...] already in the first "findall" would do a >> more efficient job but alas my knowledge of xml is too rudimentary. >> Perhaps something to tinker on in the coming weeks. >> >> Have a nice weekend! >>

Re: Questions about XML processing?

2020-11-07 Thread Shaozhong SHI
> > > On 2020-11-06 20:10, Terry Reedy wrote: > > 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

Re: Questions about XML processing?

2020-11-06 Thread Hernán De Angelis
ed (or archived) posts since May 2018(!). I wonder if there are other list or forum for Python XML questions, or if this list would be fine for that. If you don't hear otherwise, try here.  Or try stackoverflow.com and tag questions with python and xml. -- https://mail.python.org/mailman/listinfo/python-list

Re: Questions about XML processing?

2020-11-06 Thread Terry Reedy
May 2018(!). I wonder if there are other list or forum for Python XML questions, or if this list would be fine for that. If you don't hear otherwise, try here. Or try stackoverflow.com and tag questions with python and xml. -- Terry Jan Reedy -- https://mail.python.org/mailman/listinfo

Questions about XML processing?

2020-11-06 Thread Hernán De Angelis
if there are other list or forum for Python XML questions, or if this list would be fine for that. Thanks in advance /H. -- https://mail.python.org/mailman/listinfo/python-list

Re: Questions on XML

2009-08-25 Thread SUBHABRATA BANERJEE
I was trying this. Looks perfectly fine. There must be something really wrong. If you can reinstall Python 2.5. a1=raw_input(String) Stringআম On Mon, Aug 24, 2009 at 12:18 AM, Rami Chowdhury rami.chowdh...@gmail.comwrote: My problem is with IDLE on Windows. When I try to type Bangla directly

Re: Questions on XML

2009-08-23 Thread Rami Chowdhury
My problem is with IDLE on Windows. When I try to type Bangla directly into the IDLE window I only get '?' characters, and repr() fails with a UnicodeDecodeError. I expect, though, that that's because of my specific installation / Windows issues, as it works fine on Fedora 10... I do not get

Re: Questions on XML

2009-08-22 Thread Kee Nethery
On Aug 21, 2009, at 7:15 PM, joy99 wrote: Dear Group, I like to convert some simple strings of natural language to XML. May I use Python to do this? If any one can help me, on this. I am using primarily UTF-8 based strings, like Hindi or Bengali. Can I use Python to help me in this regard?

Re: Questions on XML

2009-08-22 Thread joy99
On Aug 22, 10:53 am, Stefan Behnel stefan...@behnel.de wrote: Rami Chowdhury wrote: I am using primarily UTF-8 based strings, like Hindi or Bengali. Can I use Python to help me in this regard? I can say from experience that Python on Windows (at least, Python 2.5 on 32-bit Vista) works

Re: Questions on XML

2009-08-22 Thread Emmanuel Surleau
I am using primarily UTF-8 based strings, like Hindi or Bengali. Can I use Python to help me in this regard? I can say from experience that Python on Windows (at least, Python 2.5 on 32-bit Vista) works perfectly well with UTF-8 files containing Bangla. I have had trouble with working

Re: Questions on XML

2009-08-22 Thread Emmanuel Surleau
On Saturday 22 August 2009 08:13:33 joy99 wrote: On Aug 22, 10:53 am, Stefan Behnel stefan...@behnel.de wrote: Rami Chowdhury wrote: I am using primarily UTF-8 based strings, like Hindi or Bengali. Can I use Python to help me in this regard? I can say from experience that Python on

Re: Questions on XML

2009-08-22 Thread Rami Chowdhury
encoding declaration to the top of your source file if you use encoded literal strings in your code Any tips for how to set the encoding in IDLE? printing the Unicode strings works -- trying to repr() the variable chokes with a UnicodeDecodeError, and trying to enter the literals inside

Re: Questions on XML

2009-08-22 Thread SUBHABRATA BANERJEE
Should I help you? If you answered my questions I am differing from your view I do not get any problem in processing Hindi or Bangla or any Indian language in Python it is perfectly fine. Best Regards, Subhabrata. On Sat, Aug 22, 2009 at 9:48 AM, Rami Chowdhury rami.chowdh...@gmail.comwrote: I

Re: Questions on XML

2009-08-22 Thread joy99
On Aug 22, 12:16 pm, Rami Chowdhury rami.chowdh...@gmail.com wrote: encoding declaration to the top of your source file if you use encoded literal strings in your code Any tips for how to set the encoding in IDLE? printing the Unicode   strings works -- trying to repr() the variable chokes

Questions on XML

2009-08-21 Thread joy99
Dear Group, I like to convert some simple strings of natural language to XML. May I use Python to do this? If any one can help me, on this. I am using primarily UTF-8 based strings, like Hindi or Bengali. Can I use Python to help me in this regard? How can I learn good XML aspects of Python. If

Re: Questions on XML

2009-08-21 Thread David Smith
joy99 wrote: Dear Group, I like to convert some simple strings of natural language to XML. May I use Python to do this? If any one can help me, on this. I am using primarily UTF-8 based strings, like Hindi or Bengali. Can I use Python to help me in this regard? How can I learn good XML

Re: Questions on XML

2009-08-21 Thread Rami Chowdhury
I am using primarily UTF-8 based strings, like Hindi or Bengali. Can I use Python to help me in this regard? I can say from experience that Python on Windows (at least, Python 2.5 on 32-bit Vista) works perfectly well with UTF-8 files containing Bangla. I have had trouble with working

Re: Questions on XML

2009-08-21 Thread Stefan Behnel
Rami Chowdhury wrote: I am using primarily UTF-8 based strings, like Hindi or Bengali. Can I use Python to help me in this regard? I can say from experience that Python on Windows (at least, Python 2.5 on 32-bit Vista) works perfectly well with UTF-8 files containing Bangla. I have had