Re: [xsl] Platform detection

Subject: Re: [xsl] Platform detection
From: David Carlisle <davidc@xxxxxxxxx>
Date: Tue, 12 Nov 2002 00:47:09 GMT
  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?


yes you can detect that, 
     <xsl:when test="system-property('xsl:vendor')!='Microsoft'"/>
for example, but you can't (in XSLT 1) change the encoding attribute
of the output.

David

_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.

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


Current Thread