Fw: XT and Text Nodes

Subject: Fw: XT and Text Nodes
From: "Oren Ben-Kiki" <oren@xxxxxxxxxxxxx>
Date: Sun, 31 Jan 1999 10:55:34 +0200
Bloebaum, Amy M. <Amy.M.Bloebaum@xxxxxxxxxxxxxxx> wrote:

>I am attempting to eliminate all occurrences of the sequence <p><FS/></p>
>from the XML document below.    
>
><?xml version="1.0" standalone="yes"?>
><doc>
><name><p><FS/>Foo</p></name>
><info><p><FS/></p><p>This is<FS/> a test.</p></info>
></doc>


Use modes:

<xsl:template match="P">
<xsl:apply-templates mode="IN-P"/>
</xsl:template>

<xsl:template match="FS" mode="IN-P"/>

Etc.

Have fun,

    Oren Ben-Kiki



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread