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

Concrete syntax for simple two-step example

From: Henry S. Thompson <ht@inf.ed.ac.uk>
Date: Fri, 30 Jun 2006 17:32:04 +0100
To: public-xml-processing-model-wg <public-xml-processing-model-wg@w3.org>
Message-ID: <f5b8xned2pn.fsf@erasmus.inf.ed.ac.uk>

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

(Note this is essentially use-case 1 [1])

<components xmlns="[tbd]">
 <component name="xsdValidate">
  <input name="primary"/>
  <input name="schemaDocs" arity="sequence"/>
  <output name="primary"/>
 </component>
 <component name="xslt1.0">
  <input name="primary"/>
  <input name="stylesheet"/>
  <output name="primary"/>
 </component>
<components>

Full version:

<pipeline xmlns="[tbd]">
 <source name="primary"/>
 
 <step name="v1" type="xsdValidate">
  <input name="primary" source="$.primary"/>
  <input name="schemaDocs" href="my.xsd"/>
 </step>
 
 <step name="s1" type="xslt1.0">
  <input name="primary" source="v1.primary"/>
  <input name="stylesheet" href="my.xsl"/>
 </step>

 <sink name="primary" source="s1.primary"/>
</pipeline>

Defaulted version:

<pipeline xmlns="[tbd]">
 
 <step name="v1" type="xsdValidate">
  <input name="schemaDocs" href="my.xsd"/>
 </step>
 
 <step name="s1" type="xslt1.0">
  <input name="stylesheet" href="my.xsl"/>
 </step>

</pipeline>

ht

[1] http://www.w3.org/TR/xproc-requirements/#use-case-apply-sequence
- -- 
 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)

iD8DBQFEpVIEkjnJixAXWBoRAitMAJ4g/5/J21D1AboYmLsGi8YRaREkNwCggPlS
aVYxYjBXxjN+BmLeDs5ss94=
=vN+E
-----END PGP SIGNATURE-----
Received on Friday, 30 June 2006 16:32:11 GMT

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