This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: how to zap content between sibling elements?
- From: "Anthony B. Coates" <abcoates at TheOffice dot net>
- To: xsl-list <xsl-list at lists dot mulberrytech dot com>
- Date: Wed, 28 Aug 2002 20:34:35 +0100
- Subject: Re: [xsl] how to zap content between sibling elements?
- Reply-to: xsl-list at lists dot mulberrytech dot com
** Reply to message from Jay Han <hjhjjj@yahoo.com> on Wed, 28 Aug 2002
11:01:30 -0700 (PDT)
> I think I need a condition to my default copying template
> to handle the case of "when in-between <k>'s zap the content".
> What combination of axes and predicates can I use to express
> this condition? Any hint or suggestion would be appreciated.
Try
<xsl:template match = "text()[preceding-sibling::k and following-sibling::k]"/>
Cheers,
Tony.
====
Anthony B. Coates, Data Architect
mailto:abcoates@TheOffice.net
MDDL Editor (Market Data Definition Language)
http://www.mddl.org/
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list