[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] using name() to generate a tag dynamically in xsl output


Subject: Re: [xsl] using name() to generate a tag dynamically in xsl output
From: "Christopher R. Maden" <crism@xxxxxxxxx>
Date: Fri, 26 Feb 2010 14:15:19 -0500

mark bordelon wrote:
> My question is then, how can I use name() to generate the context's tag name in that template?
> 
> I have tried composing it with <xsl:text>, but that does not work.
> 
> Can someone point me in the right direction?

Use <xsl:element>.

~Chris
-- 
Chris Maden, text nerd  <URL: http://crism.maden.org/ >
bThe honest man, though eber sae poor, Is king ob men for ab that.b
 b Robert Burns, bIs There for Honest Povertyb
GnuPG Fingerprint: C6E4 E2A9 C9F8 71AC 9724 CAA3 19F8 6677 0077 C319


Current Thread