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: processing-instruction()


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


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