Re: [xsl] Probs using XSLT in browsers

Subject: Re: [xsl] Probs using XSLT in browsers
From: David Carlisle <davidc@xxxxxxxxx>
Date: Tue, 8 Mar 2005 14:02:42 GMT
  So i assume that the IE and the FF processors don't support the
  exslt:node-set() altought i tougth that it was suficiente to declare
  the xmlns:exslt="http://exslt.org/common";. 

Declaring (any) extension namespace only has an effect if the processor
actually supports that extension.

transformiix (the XSLt engine in mozilla and friends) doesn't support
_any_ extensions.

While it is possible to find 3rd party extensions to msxml that support
exslt internet explorer can not use them (unless accessed indirectly
from script, i suppose) although it does have its own node-set extension
in its own msxsl namespace.

You can replace exslt:node-set($dias)/dia by

document('')/xsl:variable[name='dias']/dia

should then work in both, although it will cause the stylesheet to be
parsed twice.

David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

Current Thread