[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Platform detection

Subject: RE: Platform detection
From: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx>
Date: Mon, 11 Nov 2002 23:11:55 -0000
platform detection
You can pass this kind of information to the stylesheet as a parameter
from the calling code.

But since you can't set the encoding attribute dynamically from within
the stylesheet, there's not much point.

If you're using JAXP, you can set the encoding from the API using
setOutputProperties(), which is a much better way of doing it.

Michael Kay
Software AG
home: Michael.H.Kay@xxxxxxxxxxxx
work: Michael.Kay@xxxxxxxxxxxxxx 

> -----Original Message-----
> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx 
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of 
> Russell Kohn
> Sent: 11 November 2002 21:29
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject:  Platform detection
> 
> 
>   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?
> 
> TIA,
> 
> - Russ
> 
> 
> Russell Kohn , Chaparral Software & Consulting Services Inc. 
> Calabasas, California -  http://www.chapsoft.com - 818.225.1247
> 
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
> 
> 


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.