Subject: Re: [xsl] Newbie question--applying templates, selecting paragraphs From: Joerg Heinicke <joerg.heinicke@xxxxxx> Date: Thu, 23 May 2002 21:34:16 +0200 |
---------------------- XSL file----------------------------------- <?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:output method="xml" encoding="UTF-8"/>
<!-- Match the root node --> <xsl:template match="*"> <xsl:apply-templates select="*"/> </xsl:template>
<!-- Handle any node not yet matched --> <xsl:template match="*|@*|text()|comment()"> <xsl:copy> <xsl:apply-templates select="*|@*|text()|comment()"/> </xsl:copy> </xsl:template>
</xsl:stylesheet> ---------------------- XSL file-----------------------------------
<xsl:template match="div[@class='mgronly']"> <!-- 'mgronly' div's won't be copied --> </xsl:template>
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Newbie question--applying tem, Grant-Kathryn | Thread | [xsl] W3C still there?, John Geering |
[xsl] Newbie question--applying tem, Grant-Kathryn | Date | Re: [xsl] Empty node set when names, Joerg Heinicke |
Month |