Subject: RE: [xsl] The output of evaluating an XSLT transform is the same regardless of the order in which output elements are evaluated. Right? From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx> Date: Tue, 13 Apr 2010 08:39:47 -0400 |
Ken Holman wrote:
> I'm curious: why is the "how" important? I work with these > technologies every day and I don't care *how* the processor fulfills > the spec, as long as the spec is fulfilled. A stylesheet writer's > responsibility is to understand how the specification works.
Here are a couple answers:
1. I have a "gut feeling" that if I understand _why_ an XSLT document can be executed in parallel then it will help me write better XSLT documents.,
2. I am trying to shift from an imperative mindset to a declarative mindset. I have always written XSLT in terms of sequential, step-by-step processing. The declarative mindset invites me to break out of that way of thinking, into a more parallel mode of thinking. I want to stop doing FORTRAN in XSLT. Understanding how things can be done in parallel will help me ... I think.
<result> <xsl:apply-templates select="abc,def"/> </result>
<result> <xsl:apply-templates select="abc"/> <xsl:apply-templates select="def"/> </result>
<result> <xsl:for-each select="abc"> ... </xsl:for-each> <xsl:for-each select="def"> ... </xsl:for-each> </result>
-- XSLT/XQuery training: San Carlos, California 2010-04-26/30 Principles of XSLT for XQuery Writers: San Francisco,CA 2010-05-03 XSLT/XQuery training: Ottawa, Canada 2010-05-10/14 XSLT/XQuery/UBL/Code List training: Trondheim,Norway 2010-06-02/11 Vote for your XML training: http://www.CraneSoftwrights.com/s/i/ Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/ G. Ken Holman mailto:gkholman@xxxxxxxxxxxxxxxxxxxx Male Cancer Awareness Nov'07 http://www.CraneSoftwrights.com/s/bc Legal business disclaimers: http://www.CraneSoftwrights.com/legal
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] The output of evaluating , Florent Georges | Thread | RE: [xsl] The output of evaluating , Michael Kay |
Re: [xsl] The output of evaluating , Bill Michell | Date | RE: [xsl] The output of evaluating , Michael Kay |
Month |