[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] Order That Nodes Are Processed

Subject: Re: [xsl] Order That Nodes Are Processed
From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx>
Date: Tue, 06 Jan 2004 13:06:38 -0500

Hi Rechell,

At 12:43 PM 1/6/2004, you wrote:
If I have an <xsl:apply-template select="some criterion"> or <xsl:for-each select="some criterion"> statement in my stylesheet, am I guranteed that the nodes will be processed in the exact order that the qualifying nodes appear in the XML file?

Yes, the Rec specifies that unless there is an xsl:sort in play, which changes the order, the nodes are processed as in document order. Note there's no guarantee that they must be processed in this order, only that the result come out as if they were....


====================================================================== Wendell Piez mailto:wapiez@xxxxxxxxxxxxxxxx Mulberry Technologies, Inc. http://www.mulberrytech.com 17 West Jefferson Street Direct Phone: 301/315-9635 Suite 207 Phone: 301/315-9631 Rockville, MD 20850 Fax: 301/315-8285 ---------------------------------------------------------------------- Mulberry Technologies: A Consultancy Specializing in SGML and XML ======================================================================

XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list

Current Thread