Subject: Re: [xsl] handling embedded XML tags From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> Date: Wed, 02 Oct 2002 00:37:31 -0400 |
What I am trying to achieve is this:
<p>Some text here <span>emphasised words</span> and more text here</p>
So, my question is, how can I apply the 'emphasis' template in an 'inline' manner to elements 'embedded' inside other elements?
<xsl:template match="para"> <p> <xsl:apply-templates/> </p> </xsl:template>
<xsl:template match="emphasis"> <span> <xsl:apply-templates/> </span> </xsl:template>
Hope this is clear.
Cheers, Wendell
___&&__&_&___&_&__&&&__&_&__&__&&____&&_&___&__&_&&_____&__&__&&_____&_&&_ "Thus I make my own use of the telegraph, without consulting the directors, like the sparrows, which I perceive use it extensively for a perch." -- Thoreau
Current Thread |
---|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] handling embedded XML tag, ninti | Thread | [xsl] problem child (X-path), DEV SEN |
Re: [xsl] Looping using XSL, Wendell Piez | Date | Re: [xsl] Looping using XSL, Vasu Chakkera |
Month |