This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: xsl:template for a processing instruction?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]