[Home] [By Thread] [By Date] [Recent Entries]
Norm --
How about: <xsl:template match="a"><!-- just letting it default --> <xsl:apply-templates/> </xsl:template> <xsl:template match="a//text()">
<a href="{ancestor::a[1]/@href}">
<xsl:value-of select="."/>
</a>
</xsl:template>...and just copying the span...? Cheers, Wendell At 10:56 AM 6/13/2002, you wrote: Has anyone written the XSLT required to "unwrap" nested links? ====================================================================== 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 ====================================================================== XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|

Cart



