[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: transformation of narrative documents with nested
Tempore 19:26:54, die 01/16/2005 AD, hinc in
xsl-list@xxxxxxxxxxxxxxxxxxxxxx scripsit Andrea Fiore <a.flow@xxxxxxxxxx>:
* I have to select only the news where an English title is availableHi, Just replace 'xsl:value-of' elements with 'xsl:apply-templates' elements in the templates: <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> Note that I also replaced 'i' with 'em'; html has an element that expresses emphasis, you should preserve the markup as much as possible. regards, -- Joris Gillis (http://www.ticalc.org/cgi-bin/acct-view.cgi?userid=38041) Vincit omnia simplicitas Keep it simple
|
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
|