|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: use-when attribute?
On Dec 18, 2004, at 9:16 AM, Michael Kay wrote:
or equivalently Ah ha ... that's what I was looking for! It even seems to be faster (at least on my small test doc) than the other approaches. Thanks! Just a quick clarification. Using this new xpath 2 feature, the processor will simply look for the first matching example? So that if the cite:* code can be embedded in different schemas, I can do this without as performance hit when using the document types preceding it in the list? <xsl:variable name="citerefs" select="/db:article//@linkend,
/db:book//@linkend,
/db:chapter//@linkend,
//cite:biblioref/@cite:key"/>Of course, a schema-aware processor could in principle do this optimization For those willing to use XSD ;-) Most of the schemas I'd be supporting (aside from WordML) are authored in RELAX NG. Bruce
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








