p2p.wrox.com Forums

Need to download code?

View our list of code downloads.


  Return to Index  

xslt thread: forwarding problems


Message #1 by "Massimo Altavilla" <massimo.altavilla@e...> on Mon, 30 Jul 2001 11:51:39 +0100
> Which implementation (XSLT 1.0 or 1.1) does MSXML3 use?

1.0. The only processors (as far as I know) that implement the 1.1 spec are
Saxon and jd:xslt.

Mike Kay
Software AG
>
> -----Original Message-----
> From: Michael Kay [mailto:mhkay@i...]
> Sent: Tuesday, July 31, 2001 7:07 AM
> To: P2P_XSLT
> Subject: [xslt] RE: forwarding problems
>
>
> >
> > How would you set up the global variable of node names
> > you mention in your second suggestion?
> >
>
> Typically:
>
> <xsl:variable name="node-names">
>   <name>name1</name>
>   <name>name2</name>
>   ...
> </xsl:variable>
>
> You can address this in XSLT 1.1 as
> <xsl:for-each select="$node-names/name"
>
> With XSLT 1.0 you either need
> <xsl:for-each select="xx:node-set($node-names)/name">
>
> or
> <xsl:for-each
> select="document('')/*/xsl:variable[name='node-names']/name">
>
> Mike Kay
> Software AG
>
>
> ---
> When you work at Microsoft, you don't have to wait for the
> latest technologies to be released. You'll create them ? with
> XML, SOAP, and C# -- and help decide what happens next.
> Find out where your career can take you: take a look at our
> software design engineer opportunities at
> http://www.microsoft.com/jobs.
>


  Return to Index