Subject: Re: [xsl] What's your visual metaphor for XSL Transformations? From: "Robert Koberg" <rob@xxxxxxxxxx> Date: Thu, 22 Mar 2007 19:28:14 -0400 |
On 3/22/07, Robert Koberg <rob@xxxxxxxxxx> wrote:uff... I can't resist. I open my legs to ridicule:
I think using XSL on XML is like sailing (Sax is like surfing) -- that is
my imagining -- at least it helps me :). You basically do what you can
given the water (standards), wind (XML) your boat (XSL) - but you still
have to get to your destination.
A few things:
1. There is no need to have any source XML document. http://www.w3.org/TR/xslt20/#initiating
2. There is no need to "get to your destination". You may be producing results non-stop all the time and they may be used by consumers (say in a pipeline) as soon as a new result appears. Here by "result" it is good to mean anyone of the possibly unlimited number of final result trees that the XSLT 2.0 Recommendation allows a transformation to produce (for example using <xsl:result-document ... /> instructions) http://www.w3.org/TR/xslt20/#element-result-document
3. A good tail-recursive implementation can guarantee that "unlimited-stack-depth" recursion will be performed naturally without any problems such as "stack overflow"
4. It is not an absolute requirement for such a transformation to access an "infinite data structure" although if necessary such access can be implemeted using a "on-demand", or a "partially produced" one using a lazy evaluation approach.
-- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] What's your visual metaph, Dimitre Novatchev | Thread | Re: [xsl] What's your visual metaph, Dimitre Novatchev |
Re: [xsl] What's your visual metaph, Dimitre Novatchev | Date | Re: [xsl] What's your visual metaph, Dimitre Novatchev |
Month |