RE: [xsl] xsl:template for a processing instruction?

Subject: RE: [xsl] xsl:template for a processing instruction?
From: "Ivan Pedruzzi" <ivan@xxxxxxxx>
Date: Fri, 19 Jul 2002 02:13:04 -0400
This will match all of them

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

</xsl:template>


In this way you can match a particular one

<xsl:template match="processing-instruction('xml-stylesheet')">

</xsl:template>

Ivan


> -----Original Message-----
> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx 
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of 
> abhishek srivastava
> Sent: Friday, July 19, 2002 1:42 AM
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: [xsl] xsl:template for a processing instruction?
> 
> 
> Hello All,
> 
> Can I write a xsl:template rule for a processing instruction 
> which occurs in 
> the XML document which I am paring?
> 
> regards,
> Abhishek.
> 
> 
> 
> _________________________________________________________________
> MSN Photos is the easiest way to share and print your photos: 
> http://photos.msn.com/support/worldwide.aspx
> 
> 
>  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