xsl-list
[Top] [All Lists]

Re: Platform detection

2002-11-11 17:47:09

  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



<Prev in Thread] Current Thread [Next in Thread>