xsl-list
[Top] [All Lists]

Re: [xsl] Document processing order

2017-07-07 13:34:36
-----Original Message-----
From: Michael Kay mike(_at_)saxonica(_dot_)com [mailto:xsl-list-
service(_at_)lists(_dot_)mulberrytech(_dot_)com]
Sent: Friday, July 7, 2017 10:41 AM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: Re: [xsl] Document processing order

You're thinking of old-fashioned procedural programming languages that
modify data as they go along and where you have to worry about order of
execution. In XSLT, data is immutable, and operations happen conceptually in
parallel. You don't ever delete anything from the source document, you only
refrain from copying it to the result.

Michael and Peter,
Thank you very much for the confirmation, it was actually the second
predicate of the query that was invalid and hence the first set of elements
were removed and not the second.

That was very insightful,
jlc
--~----------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
EasyUnsubscribe: http://lists.mulberrytech.com/unsub/xsl-list/1167547
or by email: xsl-list-unsub(_at_)lists(_dot_)mulberrytech(_dot_)com
--~--

<Prev in Thread] Current Thread [Next in Thread>