Re: !result in components

/ "Innovimax SARL" <innovimax@gmail.com> was heard to say:
|> For that matter, what would constitute consistent? If I pass a DocBook
|> document to an XSLT step and I get an HTML document out, how is that
|> consistent?
|
| It is consistent because it is the same content in another form (or format)

Only if that's what the stylesheet does. Stylesheets are free to
produce any output at all, possibly not related to the input in the
slightest. (Should stylesheets that accept no input document at all
use a different port?)

Steps read their inputs and produce their outputs. The store step
reads its input and, as its output, produces a document that
identifies the location where the document was stored. That seems
reasonable to me.

|> This would require the invention of some entirely new mechanism and
|> I'm strongly opposed.
|
| It is not really new
| It is strictly equivalent as today's
|
| <p:count name="count"/>
| <p:option name="$count" select="@value">
|  <p:pipe step="count" port="result" />
| </p:option>

Except that you can't write that today. An option can't occur after
a step. I suppose you could do that with an intervening group, but
I still don't think it's "strictly equivalent".

At present, we have no mechanism for a step to manufacture a variable
in the XPath context of the pipeline and I have no desire to introduce
such a mechanism.

| and it has the advantage of pushing simple types data into options
| instead of XML files

Except for the simple types that I want to read from other steps, like
XSLT.

|> But having the result of p:store be the same as its input seems
|> unnecessary.
|
| That's not mandatory in my proposal. I could leave with p:store having
| NO output at all

I prefer the status quo.

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <ndw@nwalsh.com> | Words--so innocent and powerless they
http://nwalsh.com/            | are, as standing in a dictionary, how
                              | potent for good and evil they become,
                              | in the hands of one who knows how to
                              | use them!--Nathaniel Hawthorne

Received on Wednesday, 30 May 2007 15:53:08 UTC