[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Platform detection
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|