Re: [xslt] Setting output encoding pragmatically?



On Sun, Apr 24, 2005 at 01:13:00PM -0700, Abraham Nelson wrote:
> I realize that XSLT 1.0 doesn't allow for the output
> encoding to be set at runtime, but I'm wondering if
> there's a way to set it through the APIs of libxslt?

  hum, not directly.

> I've tried looking/setting the
> xsltStylesheetPtr->encoding but I'm not clear what
> it's intended for to begin with.

  The stylesheet can set the output encoding see the encoding parameter on

    http://www.w3.org/TR/xslt#output

that reflects the stylesheet encoding once compiled. This may work fine.

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]