Subject: RE: [xsl] transformation of narrative documents with nested elements From: "Michael Kay" <mike@xxxxxxxxxxxx> Date: Sun, 16 Jan 2005 18:30:11 -0000 |
> 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/
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] transformation of narrati, Raffaele Sena | Thread | Re: [xsl] transformation of narrati, Joris Gillis |
RE: [xsl] Re: using SAX events in U, Michael Kay | Date | Re: [xsl] transformation of narrati, Andrea Fiore |
Month |