Subject: RE: [xsl] how to do i18n with parameter substitution From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> Date: Wed, 23 Mar 2005 16:37:13 -0500 |
Thank you for this, it has given me the inspiration I needed. After a short nap I was able to build on it and came up with:
<xsl:template match='target/*' mode='parameters'> <xsl:param name='caption'/> <xsl:variable name='name' select='name()'/> <xsl:value-of select='$caption/*[name()=$name]/@value'/> </xsl:template>
Cheers, Wendell
====================================================================== Wendell Piez mailto:wapiez@xxxxxxxxxxxxxxxx Mulberry Technologies, Inc. http://www.mulberrytech.com 17 West Jefferson Street Direct Phone: 301/315-9635 Suite 207 Phone: 301/315-9631 Rockville, MD 20850 Fax: 301/315-8285 ---------------------------------------------------------------------- Mulberry Technologies: A Consultancy Specializing in SGML and XML ======================================================================
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] how to do i18n with param, George James | Thread | [xsl] RE: Aleph, was [xsl] decorat, Pawson, David |
Re: [xsl] Optimize results, Robert Koberg | Date | Re: [xsl] Optimize results, Camaleón |
Month |