2013/8/6 Chris Down :
> On 2013-08-06 18:38, andrea crotti wrote:
>> I would really like to do the following:
>>
>> from lxml import etree as ET
>> from lxml.builder import E
>>
>> url = "http://something?x=10&y=20";
>> l = E.link(url)
>> ET.tostring(l) -> "http://something?x=10&y=20"
>>
>> However
On 2013-08-06 18:38, andrea crotti wrote:
> I would really like to do the following:
>
> from lxml import etree as ET
> from lxml.builder import E
>
> url = "http://something?x=10&y=20";
> l = E.link(url)
> ET.tostring(l) -> "http://something?x=10&y=20"
>
> However the lxml tostring always quotes t
I would really like to do the following:
from lxml import etree as ET
from lxml.builder import E
url = "http://something?x=10&y=20";
l = E.link(url)
ET.tostring(l) -> "http://something?x=10&y=20"
However the lxml tostring always quotes the &, I can't find a way to
tell it to avoid quoting it.
Is