Re: A "processing model" proposal

/ Erik Bruchez <ebruchez@orbeon.com> was heard to say:
| Richard & all,
>
| Here is how you do this with XPL [1]:
>
| <p:pipeline version = "1.0"
|             xmlns:p="http://www.orbeon.com/oxf/pipeline"
|             xmlns:xpl="http://www.orbeon.com/oxf/xpl/standard"
|             xmlns:my="http://www.example.org/xpl/my-components">
>
|     <p:input name="document-1"/>
|     <p:input name="document-2"/>
|     <p:output name="result" infosetref="diff"/>

What's the significance of naming the result "result"? (I don't see it
referenced anywhere else in the pipeline.)

|     <p:processor name="xpl:xslt">
|         <p:input name="data" infosetref="#document-1"/>
|         <p:input name="stylesheet" infosetref="strip-ids.xsl"/>
|         <p:output name="data" infoset="stripped-1"/>
|     </p:processor>
>
|     <p:processor name="xpl:xslt">
|         <p:input name="data" infosetref="#document-2"/>
|         <p:input name="stylesheet" infosetref="strip-ids.xsl"/>
|         <p:output name="data" infoset="stripped-2"/>
|     </p:processor>
>
|     <p:processor name="my:diff">
|         <p:input name="doc1" infosetref="#stripped-1"/>
|         <p:input name="doc2" infosetref="#stripped-2"/>
|         <p:output name="diff" infoset="diff"/>
|     </p:processor>
>
| </p:pipeline>
>
| The syntax is straightforward, but feel free to ask questions. Note
| that the stylesheets are *not* "parameters", as there is no reason to
| make a difference between the stylesheet and the main input of the
| transformation: both are XML documents.

Indeed. What about the case where I want to pass the parameter
"chunk-on-sections" with the value "1" to the XSLT processor?

                                        Be seeing you,
                                          norm

-- 
Norman.Walsh@Sun.COM / XML Standards Architect / Sun Microsystems, Inc.
NOTICE: This email message is for the sole use of the intended
recipient(s) and may contain confidential and privileged information.
Any unauthorized review, use, disclosure or distribution is prohibited.
If you are not the intended recipient, please contact the sender by
reply email and destroy all copies of the original message.

Received on Friday, 17 February 2006 19:08:46 UTC