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

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



On Wednesday 25 January 2006 15:15, Daniel Veillard wrote:
> 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

interesting to see that this just is it - and even helped.

many thanks,
Christian Parpart.

Attachment: pgp9axin054Nt.pgp
Description: PGP signature



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