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

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


Daniel Veillard      | Red Hat Desktop team
veillard redhat com  | libxml GNOME XML XSLT toolkit | Rpmfind RPM search engine

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