W3C home > Mailing lists > Public > public-xml-processing-model-wg@w3.org > July 2006

Re: Concrete syntax with use case

From: Alessandro Vernet <avernet@orbeon.com>
Date: Wed, 19 Jul 2006 20:26:01 -0700
Message-ID: <4828ceec0607192026w4955d880s92921e9b27434f08@mail.gmail.com>
To: public-xml-processing-model-wg <public-xml-processing-model-wg@w3.org>

On 7/19/06, Alex Milowski <alex@milowski.org> wrote:
> I don't understand your example's use of p:choose.  It looks like
> you are missing a p:when wrapper around the xslt step.

Hi Alex,

>From the file I attached in my previous message, the <p:choose> block
looks like:

<p:choose from="is-valid">
    <p:when test="/validity != 'true'">
        <p:step kind type="db:xml-import">
            <p:with-input name="input" from="source-document"/>
        </p:step>
        <p:step kind type="p:xslt">
            <p:with-input name="stylesheet">
                In-line stylesheet that generates a description of the error
            </p:input>
            <p:with-input name="input" from="source-document"/>
            <p:with-output name="output" label="error"/>
        </p:step>
    </p:when>
</p:choose>

In this code there is a <p:when> around the XSLT step. And this is the
only XSLT step in the pipeline, so I am not sure what you mean by "it
looks like you are missing a p:when wrapper around the xslt step".

Alex
-- 
Blog (XML, Web apps, Open Source):
http://www.orbeon.com/blog/
Received on Thursday, 20 July 2006 03:26:08 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:21:48 GMT