[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Alternative to msxsl:node-set function

Subject: Alternative to msxsl:node-set function
From: Maria Amuchastegui <mamuchastegui@xxxxxxxxxxx>
Date: Tue, 3 May 2005 13:24:22 -0400
msxsl node set
I have declared the following variable in my stylesheet, and I am using the
msxsl:node-set function to access elements within the variable. Since the
stylesheet must be migrated from MSXML to Xalan, is there another way to
access this variable?
 
Maria
 
 <xsl:variable name="SideNav">
  <SiteNavigationLinks>
   <NavigationLink>
    <LinkName>Homepage</LinkName>
    <IsDisplayed>1</IsDisplayed>
    <LinkText>Home</LinkText>
    <HRef>/framework/homepage/homepage.asp</HRef>
    <AltText>Get the latest news about the webdoxs service.</AltText>
    <ImgSrc>./images/triangle_<xsl:value-of select="$ImgVer"/>.gif</ImgSrc>
    <ImgHiSrc>./images/triangle_<xsl:value-of
select="$ImgVer"/>.gif</ImgHiSrc>
    <ImgWidth>15</ImgWidth>
    <ImgHeight>10</ImgHeight>
   </NavigationLink>
   <NavigationLink>
    <LinkName>Current Activity</LinkName>
    <IsDisplayed>1</IsDisplayed>
    <LinkText>Inbox</LinkText>
    <HRef>/framework/currentbills/currentbills.asp</HRef>
    <AltText>View your last documents received.</AltText>
    <ImgSrc>./images/triangle_<xsl:value-of select="$ImgVer"/>.gif</ImgSrc>
    <ImgHiSrc>./images/triangle_<xsl:value-of
select="$ImgVer"/>.gif</ImgHiSrc>
    <ImgWidth>15</ImgWidth>
    <ImgHeight>10</ImgHeight>
   </NavigationLink>
  </SiteNavigationLinks>
 </xsl:variable>
 
  <xsl:for-each
select="msxsl:node-set($SideNav)/SiteNavigationLinks/NavigationLink">
   <td width="15" valign="top">
    <img>
     <xsl:attribute name="src"><xsl:value-of
select="ImgSrc"/></xsl:attribute>
     <xsl:attribute name="width"><xsl:value-of
select="ImgWidth"/></xsl:attribute>
     <xsl:attribute name="height"><xsl:value-of
select="ImgHeight"/></xsl:attribute>
     <xsl:attribute name="target">_top</xsl:attribute>
    </img>
   </td>
  </xsl:for-each>

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.