Re: Almost identical templates2004-07-01 02:03:26> <xsl:template match="*"> > <div class="section"> > <span class="ref">***MAGIC***</span><br /> > <xsl:apply-templates select="*|text()" /> > </div> > </xsl:template> > > Where ***MAGIC*** picks out the tag name that it matched on? <span class="ref"><xsl:value-of select="name()"/></span><br /> Best Regards, George ----------------------------------------------- George Cristian Bina <oXygen/> XML Editor & XSLT Editor/Debugger http://www.oxygenxml.com
|
|