Subject: Re: [xsl] transformation of narrative documents with nested elements From: "Joris Gillis" <roac@xxxxxxxxxx> Date: Sun, 16 Jan 2005 18:58:45 +0100 |
* I have to select only the news where an English title is availableHi,
* I have to transform all the elements inside the English description,
and they may occur as nested elements, as in line 17: X PATH: /news_list/news/description[lang='it']/bold/emph at the moment i wrote this stylesheet, that does not achieve the second goal: i have a correct output for line 15 and 16, but i have no output for line 17
<xsl:template match="bold"> <xsl:element name="strong"> <xsl:apply-templates/> </xsl:element> </xsl:template> <xsl:template match="emph"> <xsl:element name="em"> <xsl:apply-templates/> </xsl:element> </xsl:template>
regards, -- Joris Gillis (http://www.ticalc.org/cgi-bin/acct-view.cgi?userid=38041) Vincit omnia simplicitas Keep it simple
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] transformation of narrati, Michael Kay | Thread | Re: [xsl] transformation of narrati, Andrea Fiore |
Re: [xsl] transformation of narrati, Raffaele Sena | Date | [xsl] transformation of narrative d, Andrea Fiore |
Month |