Subject: [xsl] a href problem with XSLT From: Erik Stunkat <erik@xxxxxxxxxx> Date: Thu, 27 Jul 2006 14:16:59 +0200 |
I?m using Forrest DirectoryGenerator to browse through pdf files in different folders.
<li> 171-Regulatory_Interactions.pdf <a href="N109C6">171-Regulatory_Interactions.pdf</a> </li> - <li> 181-Leukemic_Inhibition.pdf <a href="N109CB">181-Leukemic_Inhibition.pdf</a> </li>
<xsl:template match="dir:directory|dir:file"> <li> <xsl:value-of select="@name"/> <xsl:if test="name(.)='dir:directory'"> <!-- creating subdirectories --> <ul><xsl:apply-templates/></ul> </xsl:if> <xsl:for-each select="@name">
<a href="{generate-id(.)}"> <xsl:value-of select="."/> </a> </xsl:for-each>
</li> </xsl:template>
<xsl:template match="/dir:directory"> <ul> <xsl:value-of select="@name"/> <!-- creating subdirectories -->
</ul> </xsl:template>
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] XSL, SQL, and trees (agai, Mukul Gandhi | Thread | Re: [xsl] a href problem with XSLT, David Carlisle |
Re: [xsl] Filemaker XSL woes, Mike Ferrando | Date | Re: [xsl] a href problem with XSLT, David Carlisle |
Month |