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

Re: [xsl] Cannot write more than one result document to the same URI


Subject: Re: [xsl] Cannot write more than one result document to the same URI
From: Liam R E Quin <liam@xxxxxx>
Date: Thu, 04 Apr 2013 21:53:13 -0400

On Thu, 2013-04-04 at 16:46 -0700, Dan Vint wrote:
> I guess what I'm expecting is that the result document is closed once 
> the </xslt:result-document> end tag is found.

This is a procedural do-this-then-that way of looking at XSLT.

However, XSLT stylesheets can be evaluated in any order, as long as the
end result meets the spec. XSLT is not a first-this-then-that language.

In addition, the XSLT stylesheet is read into memory and parsed long
before it's executed, so finding an end tag just marks the boundary of a
node in a tree.

Hope this helps.

Liam

-- 
Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/
Pictures from old books: http://fromoldbooks.org/
Ankh: irc.sorcery.net irc.gnome.org freenode/#xml


Current Thread
Keywords