- markup (52)
- xml (7)
- xslt (21)
- atom (8)
- overlapping markup (2)
- schema (9)
- creole (4)
- xforms (1)
- pipelines (7)
- coding (2)
- dtll (1)
- genealogy (3)
- gtd (1)
- hardware (1)
- legislation (1)
- ontologies (2)
- unicode (1)
- web (24)
- google (3)
- rdf (6)
- rest (3)
- wikis (1)
- work (1)
- xpath (1)
- xquery (1)
- xtech2008 (3)
- life (26)
- children (5)
- equality (6)
- environment (4)
- gadgets (5)
- software (3)
- xlinq (2)
- conferences (7)
- xtech (6)
- blog (7)
- drupal (3)
Re: Matching templates, named templates or for-each? My rules of
Dunno really: perhaps because with
<xsl:apply-templates>there’s always the chance that some other template might be invoked accidentally (I’ve lost count of the number of times I’ve forgotten to put the right mode on an<xsl:apply-templates>).I agree about named templates being used less in XSLT 2.0: it’s not just a matter of having functions instead, but XSLT 2.0 being more powerful anyway, and therefore being able to do much more without resorting to recursion.