xml editor

Supported platforms

Compatible with Windows7 & Mac OS X Snow Leopard

Ready for data server software
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: [xsl] forming a link w/ arguments?


Subject: RE: [xsl] forming a link w/ arguments?
From: Jarno.Elovirta@xxxxxxxxx
Date: Tue, 13 Nov 2001 14:24:48 +0200

<xsl:template match="LINK">
  <A>
    <xsl:attribute name="HREF">
      <xsl:value-of select="substring-after(BASE, 'http://')" />?<xsl:text
/>
      <xsl:for-each select="ARG">
        <xsl:value-of select="@NAME" />=<xsl:value-of select="@VALUE" />
        <xsl:if test="position != last()">&amp;</xsl:if>
      </xsl:for-each>
    </xsl:attribute>
    <xsl:value-of select="TEXT" />
  </A>
</xsl:template>

J

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



Current Thread
XML Editor | XML Author | WYSIWYG Editors | Schema Editor | XSD Documentation | XSL/XSLT Editor | XQuery | XML Databases | SVN Client
© 2002-2011 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy | This website was created & generated with <oXygen/>®XML Editor