"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/
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--