Diaz Manuel wrote:
Hi all,
I was wondering if there's an alternative way to set the XSL processor
output encoding(e.g. through a c++ API call), other than setting the
<xsl:output encoding= ...> to the desired value. The reason why I am
asking this is because I would like this encoding setting to be dynamic,
and, to my understanding, this is not possible using the xsl stlysheet.
Thanks in advance.
Hi Manuel,
Please ask this sort of question on the user list, rather than the
developer list.
The class XalanTransformer has a member function setOutputEncoding() to
set the output encoding on the transformation. This will override any
value in the encoding element, if it happens to be present.
If you aren't using the XalanTransformer class, then the class
XSLTResultTarget also has a member function setOutputEncoding().
Finally, the command line "Xalan" utility has a "-e" option to specify
the encoding of the result.
Dave
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]