XML.com: XML From the Inside Out

XML.comWebServices.XML.comO'Reilly Networkoreilly.com
  Articles | Weblogs | Newsletter | Safari Bookshelf
advertisement

Article:
 Push, Pull, Next!
Subject: other benefits from push style
Date: 2005-07-08 04:12:03
From: ajwelch
Response to: other benefits from push style


Remeber that using a select attribute on the xsl:apply-templates element (eg <xsl:apply-templates select="..."/>) is in fact the pull style of processing - the only way to instigate push processing is with a no-select apply-templates (eg <xsl:apply-templates/>). The select attribute is driving the context node, not the document order of the source.


Therefore, your example uses more pull processing than push.


cheers
andrew


No Previous Message Previous Message Move up to Parent Message Up Next Message No Next Message


Titles Only Titles Only Newest First
  • other benefits from push style
    2005-07-09 00:16:53 afettes [Reply]

    Hi Andrew,


    The point of the example was a combination of push/pull styles. Both are visible in it. Also, it was just a simple example at best.


    Cheers,
    Alastair

Sponsored By:


Contact Us | Our Mission | Privacy Policy | Advertise With Us | | Submissions Guidelines
Copyright © 2008 O'Reilly Media, Inc. | (707) 827-7000 / (800) 998-9938