xsl-list
[Top] [All Lists]

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

2010-02-26 13:16:00
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/ >
“The honest man, though e’er sae poor, Is king o’ men for a’ that.”
 — Robert Burns, “Is There for Honest Poverty”
GnuPG Fingerprint: C6E4 E2A9 C9F8 71AC 9724 CAA3 19F8 6677 0077 C319

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>