I am looking to use an .xsl document to make all instances of the following tag example:
<folder name="Documentation">
show up as a hyperlink in my xml document. So I want "Documentation" to show up as a hyperlink in this example. I'm stumbling through this and so far have:
<xsl:stylesheet xmlns:xsl="test.xml" version="1.0" >
<xsl:template match="folder name">
<xsl:for-each select="folder name">
<xsl:attribute name="href"><xsl:value-of select="Url"/>
</xsl:attribute>
<xsl:value-of select="Description">
</xsl:value-of>
</xsl:for-each>
</xsl:template>
</xsl:stylesheet>
I'm very new to xml & xsl so please excuse any stupidity on my part!
Thanks.
<folder name="Documentation">
show up as a hyperlink in my xml document. So I want "Documentation" to show up as a hyperlink in this example. I'm stumbling through this and so far have:
<xsl:stylesheet xmlns:xsl="test.xml" version="1.0" >
<xsl:template match="folder name">
<xsl:for-each select="folder name">
<xsl:attribute name="href"><xsl:value-of select="Url"/>
</xsl:attribute>
<xsl:value-of select="Description">
</xsl:value-of>
</xsl:for-each>
</xsl:template>
</xsl:stylesheet>
I'm very new to xml & xsl so please excuse any stupidity on my part!
Thanks.