|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: How to propagate links in hierachy
> <link to="www.otherpage.com">
> <table>
> <row>
> <item>
> <image src="prettyicon.gif" />
> </item>
> </row>
> <row>
> <item>
> <text>A label</text>
> </item>
> </row>
> </table>
> </link>
in the template managing the image and/or text,
<xsl:value-of select="ancestor::link/@to"/> should give you the URL
so
<a>
<xsl:attribute name="href">
<xsl:value-of select="ancestor::link/@to"/>
</xsl:attribute>
Here whatever (your img tag or your text)
</a>
should do the trick
Andreas
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








