xsl-list
[Top] [All Lists]

Re: FW: Using a processing instruction to remove a node

2004-01-15 10:22:52

preceding-sibling::node()[not(self::text() and 
.='')][1][self::processing-instruction('REMOVE')]

sorry, meant:

preceding-sibling::node()[not(self::text() and 
normalize-space(.)='')][1][self::processing-instruction('REMOVE')]

David


-- 
http://www.dcarlisle.demon.co.uk/matthew

________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

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