Re: [xml] xpath extension function to return valid xml code (xmlChar*)



On Wed, Jan 25, 2006 at 02:13:03PM +0100, Christian Parpart wrote:
you see, I'm using xmlXPathReturnString to return the `buf` containing the 
valid xml markup.

unfortunately, when viewing my page, I can see the content as it's written in 
source, meaning, that libxslt obviousely escaped all < > etc.

How can I suppress this / how can I get my function to return what I need?

  that would be a disable escaping in the text node generated by your xslt
and containing that string:
   http://www.w3.org/TR/xslt#disable-output-escaping

  you can't do that at the XPath level, only at the XSLT level

Daniel

-- 
Daniel Veillard      | Red Hat 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]