Subject: RE: [xsl] Using attribute values in html conversion From: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx> Date: Wed, 2 Oct 2002 11:13:30 +0100 |
> The first idea that came to mind would be something of the sort: > <input type="text" name=<xsl:apply-templates > select="@name"/> maxlength=<xsl:templates select="@maxLength"/> > > Look up "attribute value templates"; or if you really want to use template rules to process the attributes, write: <input type="text"> <xsl:attribute name="name"> <xsl:apply-templates select="@name"/> </xsl:attribute> <xsl:attribute name="maxlength"> <xsl:apply-templates select="@maxLength"/> </xsl:attribute> </input> Michael Kay Software AG home: Michael.H.Kay@xxxxxxxxxxxx work: Michael.Kay@xxxxxxxxxxxxxx XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Using attribute values in htm, Zietak, James | Thread | RE: [xsl] Using attribute values in, John Pallister |
RE: [xsl] variable handling, Michael Kay | Date | RE: [xsl] Predicates using current , Michael Kay |
Month |