[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: [xsl] Removing Specific Processing-Instruction


Subject: RE: [xsl] Removing Specific Processing-Instruction
From: "Josh Canfield" <Josh.Canfield@xxxxxxxxxxxx>
Date: Wed, 25 Feb 2004 14:17:01 -0800

How about:

<xsl:template match="processing-instruction('Pub')[.='Foobar']"/>

Josh
-----Original Message-----
From: Schreifels, Mark J. [mailto:mark.schreifels@xxxxxxxxxx]
Sent: Wednesday, February 25, 2004 1:51 PM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: [xsl] Removing Specific Processing-Instruction


I've been playing around with this, and haven't been able to figure out how to remove the processing instruction:

<?Pub Foobar?>

without also removing others like:

<?Pub 12343?>

<xsl:template match="processing-instruction('Pub')">
</xsl:template>

I've tried using if and choose statements with value-of select, but to no avail.  If anyone has any recommendations, I'd really appreciate it.

Thanks,

Mark

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


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



Current Thread