This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: xsl:template for a processing instruction?
- From: "Ivan Pedruzzi" <ivan at exln dot com>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Fri, 19 Jul 2002 02:13:04 -0400
- Subject: RE: [xsl] xsl:template for a processing instruction?
- Reply-to: xsl-list at lists dot mulberrytech dot com
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@lists.mulberrytech.com
> [mailto:owner-xsl-list@lists.mulberrytech.com] On Behalf Of
> abhishek srivastava
> Sent: Friday, July 19, 2002 1:42 AM
> To: xsl-list@lists.mulberrytech.com
> 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