[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: insert an attribute value through xsl
Secondly, is there a way that it allows me to insert the position() within the HTML element such as: - Of course there is: Either <a> <xsl:attribute name="name"> <xsl:value-of select="position()"/> </xsl:attribute> Smith </a> or shorter with attribute value template <a name="{position()}">Smith</a> Is only a number a valid value? Isn't it better to use for example fam2: <a name="fam{position()}">Smith</a> Regards, Joerg -- System Development VIRBUS AG Fon +49(0)341-979-7411 Fax +49(0)341-979-7409 joerg.heinicke@xxxxxxxxx www.virbus.de 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
|