Pull: The Big Beginner Mistake
- Pull should be used sparingly
- for special situations only
- Best used on very regular, predictable structures (data)
- Beginners use it for everything
- How to spot this problem in your programmers’ stylesheets
- uses <xsl:for-each> to force recursion
(instead of using templates, which recurse as designed)
- uses <xsl:value-of> which
- processes the text inside an element
- (instead of <xsl:apply-templates>, which processes
both text the and embedded tags inside an element)