View Single Post
Old 07-29-2013, 08:34 AM   #504
met67
Connoisseur
met67 can program the VCR without an owner's manual.met67 can program the VCR without an owner's manual.met67 can program the VCR without an owner's manual.met67 can program the VCR without an owner's manual.met67 can program the VCR without an owner's manual.met67 can program the VCR without an owner's manual.met67 can program the VCR without an owner's manual.met67 can program the VCR without an owner's manual.met67 can program the VCR without an owner's manual.met67 can program the VCR without an owner's manual.met67 can program the VCR without an owner's manual.
 
Posts: 78
Karma: 165868
Join Date: Jan 2012
Device: Nook Touch
Uhhmmmm, I made some tests and you are right in saying that what I suggested wouldn't work: when I do something like
Code:
a = ET.Element('a')
a.text = '<x>This is inside x tags inside a.</x>'
the '<' and '>' inside the text are (correctly) encoded so that the result is:
Code:
<a>&lt;x&gt;This is inside x tags inside a.&lt;/x&gt;</a>
Oh, well, at least I have learned something

Keep up the good work and thanks for what you are doing for us
met67 is offline   Reply With Quote