[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: selectin element and attribute for link
Hi Jarkko, > And the result should be in html format like this: > > <a href="00223322334342.htm">Xalan</a> > > Now the part of xsl- file concerning this part is this: > <a href="{Subject}.htm"> > <xsl:value-of select="Subject" /></a> You're almost there. All you want is to select the Subject's id attribute in the attribute value template held in the href attribute, rather than the Subject itself: <a href="{Subject/@id}.htm"><xsl:value-of select="Subject" /></a> Cheers, Jeni --- Jeni Tennison http://www.jenitennison.com/ 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
|