|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] template in template? (references)
yep, i'm still asking stup..erm, simple questions :-)
well, i'm wondering if it's possible to use sth like following:
<xsl:template match="ref">
<link href="@id"> go to ref </link>
</xsl:template>
<xsl:template match="link">
<a href="@href"><xsl:apply-templates/></link>
</xsl:template>
and btw. is there any simple cross-referencing solution in xsl?
i tried sth with id(), but i can't make it work.
--
Daniel `bonkey' Bauke; http://www.oho.pl/~bonkey/; {happiness=bike&&unix;}
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








