Example in 4.2 For-each

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

I don't think this is quite right -- I think the lines marked | below
need to be added:

 <p:for-each name="chapters" select="//chapter">
  <p:output port="html-results">
    <p:pipe step="make-html" port="result"/>
  </p:output>
  <p:output port="fo-results">
    <p:pipe step="make-fo" port="result"/>
  </p:output>

  <p:xslt name="make-html">
    <p:input port="stylesheet">
      <p:document href="http://example.com/xsl/html.xsl"/>
    </p:input>
  </p:xslt>

  <p:xslt name="make-fo">
|   <p:input port="source">
|     <p:pipe step="chapters" port="current"/>
|   </p:input>
    <p:input port="stylesheet">
      <p:document href="http://example.com/xsl/fo.xsl"/>
    </p:input>
  </p:xslt>
 </p:for-each>

Or have I misunderstood the defaulting rules?

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)

iD8DBQFGOdF6kjnJixAXWBoRAtl5AJoCwbe6xaXKxZr26L49AJMezdRjuwCeK/iV
DFkjWKb2G1jl9fSh8/8+L0Y=
=RCRN
-----END PGP SIGNATURE-----

Received on Thursday, 3 May 2007 12:11:40 UTC