Re: [xsl] [XSLT 1.0] A template that matches on any PI except xml-stylesheet?

Subject: Re: [xsl] [XSLT 1.0] A template that matches on any PI except xml-stylesheet?
From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx>
Date: Wed, 30 Mar 2011 14:24:26 -0400
At 2011-03-30 11:40 -0400, Costello, Roger L. wrote:
   Is there a way, in XSLT 1.0, to create
   a template that matches on any processing
   instruction except the xml-stylesheet PI?

<xsl:template match="processing-instruction()[name(.)!='xml-stylesheet']">


I hope this helps.

. . . . . . Ken

--
Contact us for world-wide XML consulting & instructor-led training
Crane Softwrights Ltd.          http://www.CraneSoftwrights.com/s/
G. Ken Holman                 mailto:gkholman@xxxxxxxxxxxxxxxxxxxx
Legal business disclaimers:  http://www.CraneSoftwrights.com/legal

Current Thread