Subject: Re: [xsl] Recursive substitution From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> Date: Fri, 04 Nov 2005 15:54:09 -0500 |
<xsl:template match="ref[@name]"> <xsl:variable name="x"> <xsl:copy-of select="//define[@name=current()/@name]/*"/> </xsl:variable> <xsl:apply-templates select="$x"/> </xsl:template>
<xsl:template match="ref[@name]"> <xsl:apply-templates select="//define[@name=current()/@name]/*"/> </xsl:template>
Good luck, 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 -> |
---|---|---|
[xsl] Recursive substitution, Agnisys | Thread | Re: [xsl] Recursive substitution, David Carlisle |
[xsl] Converting siblings into chil, Woods, Christopher | Date | Re: [xsl] Matching certain elements, Wendell Piez |
Month |