xsl-list
[Top] [All Lists]

Re: [Xsl] How to create complex dynamic href with xslt ????

2005-03-01 12:36:36
Tempore 19:47:47, die 03/01/2005 AD, hinc in xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com scripsit <pippo(_at_)keytech(_dot_)it>:

I have a very simple xslt problem but apparently without a solution:
example I have to generate something like:

   <a
href=”http://mysite/drv?expert&amp;mod={TEMPLATE}&amp;IDMENU={(_at_)MENU_ID}”>
dummy … text </a>

Regardless from the fact that the above must work, you can use the verbose method of course:

   <a>
           <xsl:attribute name="href">
                   <xsl:text>http://mysite/drv?expert&amp;mod=</xsl:text>
                   <xsl:value-of select="TEMPLATE"/>
                   <xsl:text>&amp;IDMENU=</xsl:text>
                   <xsl:value-of select="@MENU_ID"/>
                </xsl:attribute>
        dummy … text </a>

regards,
--
Joris Gillis (http://www.ticalc.org/cgi-bin/acct-view.cgi?userid=38041)
"Et ipsa scientia potestas est"  - Francis Bacon , Meditationes sacrae

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>