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

Re: Fodder for the @name proposal

From: Innovimax SARL <innovimax@gmail.com>
Date: Sat, 22 Mar 2008 09:19:26 +0100
Message-ID: <546c6c1c0803220119i15a633d7y1b29f6fd4f172409@mail.gmail.com>
To: "Norman Walsh" <ndw@nwalsh.com>
Cc: public-xml-processing-model-wg@w3.org
Hum...wasn't it in the 10% case where we need to use p:declare-step instead
?


On Fri, Mar 21, 2008 at 6:08 PM, Norman Walsh <ndw@nwalsh.com> wrote:

> Consider this pipeline that I'm crafting for the new parallelism
> section:
>
> <p:pipeline xmlns:p="http://www.w3.org/ns/xproc">
>
>  <p:xslt name="generate-stylesheet">
>    <p:input port="source" href="someURI"/>
>    <p:input port="stylesheet" href="someOtherURI"/>
>  </p:xslt>
>
>  <p:store href="gen-style.xsl"/>
>
>  <p:xslt>
>    <p:input port="source">
>      <p:pipe step=??? port="source"/>
>
>
>
> I find now that I want to refer to the pipeline input. I can't put
> a name up there, so I have to invent a namespace and a type:
>
> <p:pipeline xmlns:p="http://www.w3.org/ns/xproc"
>            xmlns:px="http://example.org/doesntmatter"
>            type="px:mypipe">
>
>  <p:xslt name="generate-stylesheet">
>    <p:input port="source" href="someURI"/>
>    <p:input port="stylesheet" href="someOtherURI"/>
>  </p:xslt>
>
>  <p:store href="gen-style.xsl"/>
>
>  <p:xslt>
>    <p:input port="source">
>      <p:pipe step="mypipe" port="source"/>
>
> Ugh.
>
>                                        Be seeing you,
>                                          norm
>
> --
> Norman Walsh <ndw@nwalsh.com> | The firmest line that can be drawn upon
> http://nwalsh.com/            | the smoothest paper is still jagged
>                              | edges if seen through a microscope.
>                              | This does not matter until important
>                              | deductions are made on the supposition
>                              | that there are no jagged edges.--Samuel
>                              | Butler (II)
>



-- 
Innovimax SARL
Consulting, Training & XML Development
9, impasse des Orteaux
75020 Paris
Tel : +33 9 52 475787
Fax : +33 1 4356 1746
http://www.innovimax.fr
RCS Paris 488.018.631
SARL au capital de 10.000 
Received on Saturday, 22 March 2008 08:20:00 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 22 March 2008 08:20:01 GMT