Re: A consequence of <p:xslt>

-----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 UTC