Subject: RE: Processing Modes... From: Ed Nixon <ed.nixon@xxxxxxxxxxxxxxxxx> Date: Mon, 11 Jan 1999 07:18:21 -0500 |
[edN] #2 is the way to go, but there's no such thing as specificity any more. Here's what you're supposed to do: Find the set of rules such that 1. The pattern on the template matches the node being processed, and 2. The mode on the xsl:template is the mode specified on the xsl:apply-templates (or neither has a mode) Then eliminate rules by importance (import order). Then eliminate rules by priority. Finally if there's more than one rule left, either give an error or choose the rule that's last in the stylesheet; f there are no rules left, use the built-in rule. Concrete suggestions for wording changes to the spec that would make this clearer are welcome. [edN] The preceding seems pretty clear to me. :-) XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: Processing Modes..., Tyler Baker | Thread | Re: Processing Modes..., Geoff Nolan |
RE: <xsl:template><xsl:value-of/></, Paul Spencer | Date | Standard API to XSL processors, Oren Ben-Kiki |
Month |