- From: Henry S. Thompson <ht@inf.ed.ac.uk>
- Date: Fri, 21 Mar 2008 17:29:59 +0000
- To: Norman Walsh <ndw@nwalsh.com>
- Cc: public-xml-processing-model-wg@w3.org
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Norman Walsh writes:
> 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:
No you don't (I didn't in _my_ example [1]):
<p:pipeline xmlns:p="http://www.w3.org/ns/xproc"
type="mypipe">
...
<p:pipe step="mypipe" port="source"/>
is all you need.
ht
[1] http://lists.w3.org/Archives/Public/public-xml-processing-model-wg/2008Mar/0044.html
- --
Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh
Half-time member of W3C Team
2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440
Fax: (44) 131 650-4587, e-mail: ht@inf.ed.ac.uk
URL: http://www.ltg.ed.ac.uk/~ht/
[mail really from me _always_ has this .sig -- mail without it is forged spam]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
iD8DBQFH4/CXkjnJixAXWBoRAnDxAJ9uwQ8MRHJsyxDr1V3nlHsYBniLDACfUZf1
TOJzLJ18d8VSP1WLpfQR9JY=
=dITH
-----END PGP SIGNATURE-----
Received on Friday, 21 March 2008 17:30:33 UTC