Re: New draft: 3 Jan 2008

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Norman Walsh writes:

> At the very least, I think we may want to simplify our first couple of
> examples so that they can be written with p:pipeline.

I suggest the following for figs 1 and 2:

<p:declare-step xmlns:p="http://www.w3.org/ns/xproc"
                xmlns:px="http://example.org/ns/pipelines"
                type="px:xinclude-and-validate">

  <p:input port="source" primary="true"/>
  <p:output port="result">
    <p:pipe step="validated" port="result"/>
  </p:output>

  <p:xinclude name="included">
    <p:input port="source">
      <p:pipe step="xinclude-and-validate" port="source"/>
    </p:input>
  </p:xinclude>

  <p:validate-with-xml-schema name="validated">
    <p:input port="source">
      <p:pipe step="included" port="result"/>
    </p:input>
    <p:input port="schema">      
      <p:document href="http://example.org/schemas/util/address.xsd"/>
      <p:document href="http://example.org/schemas/po.xsd"/>
    </p:input>
  </p:validate-with-xml-schema>

</p:declare-step>

- --------
<p:pipeline xmlns:p="http://www.w3.org/ns/xproc"
            xmlns:px="http://example.org/ns/pipelines"
            type="px:xinclude-and-validate">

  <p:xinclude/>

  <p:validate-with-xml-schema>
   <p:input port="schema">      
    <p:document href="http://example.org/schemas/util/address.xsd"/>
    <p:document href="http://example.org/schemas/po.xsd"/>
   </p:input>
  </p:validate-with-xml-schema>

</p:pipeline>

- ---------

This would require the picture to be modified. . .

ht
- -- 
 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)

iD8DBQFHg6w6kjnJixAXWBoRAuA4AJ4waMDLogwAm3E1/1d/zhb2fCUyCQCfZZds
025h0jGvIptsJFaNLg2SIu0=
=/Tdu
-----END PGP SIGNATURE-----

Received on Tuesday, 8 January 2008 17:00:50 UTC