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

Re: A consequence of <p:xslt>

From: Henry S. Thompson <ht@inf.ed.ac.uk>
Date: Fri, 23 Feb 2007 10:49:21 +0000
To: Norman Walsh <Norman.Walsh@Sun.COM>
Cc: public-xml-processing-model-wg@w3.org
Message-ID: <f5birdtp2ry.fsf@hildegard.inf.ed.ac.uk>

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

Norman Walsh writes:

> Well, I've missed at least the following: I'd like to be able to call
> individual components from a library.
>
>   <p:pipeline-library>
>     <p:xslt name="DocBook2HTML">
>      <p:input name="stylesheet" href="..."/>
>      <p:param name="xxx1" value="yyy"/>
>      <p:param name="xxx2" value="yyy"/>
>      <p:param name="xxx3" value="yyy"/>
>      <p:param name="xxx4" value="yyy"/>
>      <p:param name="xxx5" value="yyy"/>
>      <p:param name="p:output-method" value="xml"/>
>      <p:param name="p:output-encoding" value="utf-8"/>
>     </p:xslt>
>   </p:pipeline-library>

Not a valid pipeline library document.  I guess you meant

  <p:pipeline-library xmlns:p="..." xmlns:norm="...">
   <p:pipeline name="norm:DocBook2HTML">
    <p:input name="doc"/>
    <p:xslt name="x1">
     <p:input name="stylesheet">
       <p:document href="..."/>
     </p:input>
     <p:param name="xxx1" value="yyy"/>
     <p:param name="xxx2" value="yyy"/>
     <p:param name="xxx3" value="yyy"/>
     <p:param name="xxx4" value="yyy"/>
     <p:param name="xxx5" value="yyy"/>
     <p:param name="p:output-method" value="xml"/>
     <p:param name="p:output-encoding" value="utf-8"/>
    </p:xslt>
   </p:pipeline>
  </p:pipeline-library>

> And I don't like the idea of
>
>   <DocBook2HTML>
>
> being an alias for an XSLT step. Maybe I could get used to it, but ti
> feels wrong.
>
> Maybe we really do want a <p:call> component?

I thought that's what we've always discussed, yes, although I think
often only for Vnext.  I think it's necessary to get the impedence
match right with pipelines, whose input/output are not treated the
same as those of other steps. . .

>  <p:call name="DocBook2HTML">
>    ...
>  </p:call>

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)

iD8DBQFF3saxkjnJixAXWBoRAgDGAJ9Bg9XsJ35gGeG9PorPTfGO1fRCRgCfVO3a
XEGT2hhzfTViO95TB+YOzlI=
=z7KE
-----END PGP SIGNATURE-----
Received on Friday, 23 February 2007 10:49:33 GMT

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