This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: How to generate Tag by parameter


Hi Tuan-Dung,

> I would like generate Tag </HTML> or <BODY> by value of parameter. How
> can i do that?

You need to use xsl:element with an attribute value template in the
name attribute, rather than the non-well-formed
<$taginsert>...</$taginsert>. Just do:

  <xsl:element name="{$taginsert}">
    ...
  </xsl:element>

Cheers,

Jeni

---
Jeni Tennison
http://www.jenitennison.com/


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]