Subject: [xsl] using xsl attribute tags From: Mark Ivs <markivs2003@xxxxxxxxx> Date: Thu, 6 Nov 2003 09:07:16 -0800 (PST) |
Hello, I have two ways of adding a textfield in my xsl file. I have listed them below. Can anyone please tell me, which is a better approach performance vice ? I am using saxon. I have hundreds of these text fields on my page so little performance improvement will help me. FIRST: <input> <xsl:attribute name="name"> <xsl:value-of select="../@NAME"/> </xsl:attribute> <xsl:attribute name="id"> <xsl:value-of select="../@NAME"/> </xsl:attribute> <xsl:attribute name="title"> <xsl:value-of select="../@TITLE"/> </xsl:attribute> <xsl:attribute name="type">text</xsl:attribute> <xsl:attribute name="size">10</xsl:attribute> <xsl:attribute name="value"> <xsl:value-of select="COL/SIZE"/> </xsl:attribute> </input> SECOND: <input name="{../@NAME}" id="{../@NAME}" title="{../@TITLE}" type="text" size="10" value="{COL/SIZE}"/> Thanks for the help. __________________________________ Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard http://antispam.yahoo.com/whatsnewfree XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] WhiteSpace, Michael Kay | Thread | RE: [xsl] using xsl attribute tags, Andreas L. Delmelle |
Re: [xsl] How To Call XSL Template , Emmanuil Batsis (Man | Date | RE: Re: [xsl] How To Call XSL Templ, cknell |
Month |