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()


Bradford, Denis wrote:
A slight twist: how do you match on the value of a pi's attribute?
PIs don't have attributes, at least not in the XML spec.
It is just a string. You can use the usual string tokenization
methods to parse it and extract what you think of as "PI
attributes". Some parsers, notably Saxon, have an extension
function which does this for you (it's much easier and more
efficient).

J.Pietschmann


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]