|
Subject: Re: [xsl] Test processing instruction as first preceding sibling From: Florent Georges <lists@xxxxxxxxxxxx> Date: Tue, 9 Dec 2008 23:13:14 +0100 (CET) |
"G. Ken Holman" wrote:
> preceding-sibling::node()[not(self::text())][1]/
> self::processing-instruction('proc')
Depending on the OP's needs, maybe the following is more suitable:
preceding-sibling::node()[
not(self::text()[not(normalize-space(.))])
][1]/self::processing-instruction('proc')
(takes precedings text nodes into account if they are not whitespaces
only.)
Regards,
--
Florent Georges
http://www.fgeorges.org/
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] Test processing instructi, G. Ken Holman | Thread | [xsl] changing section of XML file, Furst, Tom |
| RE: [xsl] changing section of XML f, Michael Kay | Date | Re: [xsl] multiple files to single , Ganesh Babu N |
| Month |