xsl-list
[Top] [All Lists]

RE: Removing Specific Processing-Instruction

2004-02-25 15:17:01
How about:

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

Josh
-----Original Message-----
From: Schreifels, Mark J. [mailto:mark(_dot_)schreifels(_at_)unisys(_dot_)com]
Sent: Wednesday, February 25, 2004 1:51 PM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
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



<Prev in Thread] Current Thread [Next in Thread>