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

Re: [xsl] XML design for streamability


Subject: Re: [xsl] XML design for streamability
From: Wolfgang Laun <wolfgang.laun@xxxxxxxxx>
Date: Sun, 24 Nov 2013 17:47:44 +0100

The example is not convincing.

Apart from the loss of flexibility (for future enhancements) you incur
when you demote an element to an attribute you'll also have to modify
other programs, frequently not your own. Expect protests.

Most importantly, note the important feature described in the XSLT 3.0 draft:
"An effective design pattern is to write a streaming transformation
that takes a snapshot of each element in turn, processing the snapshot
using the full power of the XSLT language. Each snapshot is a tree
built in memory and is therefore fully navigable. For details see the
snapshot and copy-of functions."

Tweak the processing, not the data.

-W

On 24/11/2013, Costello, Roger L. <costello@xxxxxxxxx> wrote:
> Hi Folks,
>
> I created a few slides that discuss the issue of designing XML for
> streamability:
>
> http://www.xfront.com/XML-Design-for-Streamability.pptx
>
> I am interested in hearing your thoughts on the slides. Do you agree with
> them? Is there anything else you would add to them?
>
> /Roger


Current Thread
Keywords