xml.minidom is stripping out my CRLF's in attrib values!!
Martin v. Löwis
loewis at informatik.hu-berlin.de
Mon Sep 9 10:13:59 EDT 2002
Ahmad Baitalmal <ahmad at NOSPAMbitbuilder.com> writes:
> That's not what my problem is, that I know about ( crlf's between nodes),,
>
> Here is the deal:
> <cow>
> <hide value="spotted
> with black and white"></hide>
> </cow>
>
> After the word "spotted" there is a crlf, -inside- the attribute
> value. Sholdn't it be treated as part of the value?
>
> The value now comes stripped of that crlf.
What do you mean by "stripped of"? What is the exact value that you
get?
Regards,
Martin
More information about the Python-list
mailing list