- From: Henry S. Thompson <ht@inf.ed.ac.uk>
- Date: Fri, 15 Apr 2016 17:53:38 +0100
- To: Alex Miłowski <alex@milowski.com>
- Cc: XProc WG <public-xml-processing-model-wg@w3.org>
Alex Miłowski writes: > xproc version = "2.0"; > inputs $source as document-node(); > outputs $result as document-node(); > > [$source] → [$in] λ() [$out] { if (xs:decimal($in/*/@version) < 2.0) > then [$in,"v1schema.xsd"] → > validate-with-xml-schema() ≫ $out > else [$in,"v2schema.xsd"] → > validate-with-xml-schema() ≫ $out } > → [$out,"stylesheet.xsl"] → xslt() > ≫ $result I can't make sense of the above, I suspect precisely because of "we have three kinds [of uses of ordered lists]". So, please annotate the []s in the above example with PSE, PD and PB and send it again! ht -- Henry S. Thompson, School of Informatics, University of Edinburgh 10 Crichton Street, Edinburgh EH8 9AB, 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 from me _always_ has a .sig like this -- mail without it is forged spam]
Received on Friday, 15 April 2016 16:54:16 UTC