Russell Kohn wrote:
I'd like to dynamically assign the encoding attribute of the output
method based on platform. Is there any way for an XSLT stylesheet to
detect the platform on which the processor is running?
You can find out processor vendor name using system-property() function
or alternatively you can pass platform identifier as a paramerter. But
you cannot change output encoding from within a stylesheet. Workarounds
are either 2-step transformation or using JAXP output properties if you
are in JAXP-aware environment.
--
Oleg Tkachenko
eXperanto team
Multiconn Technologies, Israel
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list