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

RE: [xsl] processing-instruction()


Subject: RE: [xsl] processing-instruction()
From: "Bradford, Denis" <denisb@xxxxxxxxxxxx>
Date: Thu, 1 Aug 2002 08:54:42 -0400

A slight twist: how do you match on the value of a pi's attribute?

For example, given  <?dbhtml filename="deliver.htm"?>, 

I can match on the pi itself:

   <xsl:param name="pis" select="./processing-instruction('dbhtml')"/>

but this doesn't work:

   <xsl:param name="pis"
select="./processing-instruction('dbhtml')/@filename"/>

Thanks,
Denis


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



Current Thread