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: Design Choice
Date: 2005-09-30 17:34:51
From: Bob DuCharme
Response to: Design Choice

Greater control if you're more comfortable with imperative languages. After that your analogy breaks down. I get all the control I need with a push approach. If the source document may have a title element before a para and I really want the title before any paras in the result, I just have to put this:


<xsl:apply-templates select="title"/>
<xsl:apply-templates selet="para"/>


Some people feel that they have more control with declarative languages. LISP geeks have been insisting on this for decades.


Bob



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

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