ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> xsl-list
xsl-list
[xsl] reliability of MSXML
by Pedro Pastor other posts by this author
Nov 7 2001 11:40AM messages near this date
[xsl] Re: lookup-table thoughts (was Re: matching multiple times, outputting once? | Re: [xsl] reliability of MSXML
Hello all,

I had a curious trouble with the following program. I was using Jeni's
template for string tokenizing:

<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:str="http://exslt.org/strings" extension-element-prefixes="str"> 

 <xsl:import href="str.tokenize.template.xsl"/> 
 ...
<xsl:template match="//elem[@id='e69' ]"> 
     <term> 
       <name> <xsl:value-of select="@nombre"/></name>

       <xsl:variable name="items"> 
          <xsl:call-template name="str:tokenize"> 
               <xsl:with-param name="string" select="@hijos"/> 
          </xsl:call-template> 
      </xsl:variable> 

      <xsl:for-each select="$items/token"> 
           <child> <xsl:value-of select="."/></child>
      </xsl:for-each> 
   </term> 
</xsl:template> 

</xsl:stylesheet> 

As a result, while Saxon 6.4.4 does evering all right, MSXML 3.0 give me
the following error:

"Reference to a variable o parameter 'items' must evaluate to a node
list".

The questions are:

Is this the "normal" behaviour for MSXML 3.0 or maybe I have to update
that software with some patch ?

Is there any brand new version of MSXML more "adherent" to XSLT 1.0
specifications (what about the XSLT processor in the IE 6.0) ?

I am not very keen on MSXML (neither expert on this product), but the
great majority of the "target audience" for our developments are. At the
end, the question is: How reliable is MS's XSLT technology on the client
side ??

Thank you very much in advance.

Pedro Pastor
University of Alicante (Spain).





 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
Thread:
Tom Myers
Pedro Pastor
Pedro Pastor
Michael Kay
Daniel Veillard
Trevor Nash
Daniel Veillard
Michael Kay
Daniel Veillard
Michael Kay
David Carlisle
Kevin Jones
Michael Kay
Kevin Jones
David Carlisle
Jeni Tennison
Tom Myers
Jeni Tennison
Michael Kay
Jeni Tennison
Dimitre Novatchev
cutlass
Jeni Tennison
Mark Nahabedian
Dimitre Novatchev
Tom Myers
Michael Kay
David Carlisle
Tom Myers
David Carlisle
David Carlisle
Jeni Tennison

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved