Re: [xslt] Python bindings, escaping problems



On Fri, Jan 14, 2005 at 07:15:01AM -0500, Daniel Veillard wrote:
>    style.applyStylesheet(doc, { "bar": """"dog's"""" })
> this should pass down "dog's" as the string.

>>> foo=""""dog's\""""
>>> print foo
"dog's"
>>>

  you need an extra \

Daniel

-- 
Daniel Veillard      | Red Hat Desktop team http://redhat.com/
veillard redhat com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]