[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Deleting following sibling element
From: "Michael Kay" <mhkay@xxxxxxxxxxxx> To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx> Subject: RE: Deleting following sibling element Date: Wed, 17 Jan 2001 09:28:16 -0000 Message-ID: <000501c08068$b2fdb760$0100007f@mhkhome> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 In-Reply-To: <a0500190bb68a9e7f363e@[209.179.157.251]> Importance: Normal Does anybody knows how can I delete an element that is the next following-sibling of the context node?
If you want to not-copy a <br> that is preceded by an <a>, write: <xsl:template match="br[preceding-sibling::*[1][self::a]"/> Alternatively, ensure that your stylesheet doesn't do an apply-templates on this element in the first place. Mike Kay XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
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
|