|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: transformation of narrative documents with nested
> Try changing the templates for "bold" and "emph" to: > > <xsl:template match="bold"> > <strong><xsl:apply-templates select="."/></strong> > </xsl:template> > > <xsl:template match="emph"> > <i><xsl:apply-templates select="."/></i> > </xsl:template> > The select="." looks wrong - it will cause the template to invoke itself. You just want <xsl:apply-templates/>, so it processes its children. Michael Kay http://www.saxonica.com/
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








