W3C home > Mailing lists > Public > xproc-dev@w3.org > November 2008

Re: calabash: p:wrap step

From: Henry S. Thompson <ht@inf.ed.ac.uk>
Date: Wed, 19 Nov 2008 11:50:53 +0000
To: Norman Walsh <ndw@nwalsh.com>
Cc: XProc Dev <xproc-dev@w3.org>
Message-ID: <f5bprksdjdu.fsf@hildegard.inf.ed.ac.uk>

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

Norman Walsh writes:

> Perhaps we should allow the match pattern to match document nodes as
> well so that you can wrap all the leading PIs, comments, and
> whitespace.

I'm not sure.  There's an easy workaround:

 <p:wrap match="/node()" . . .

Isn't that sufficient?  Strictly speaking,

   <p:wrap match="/" wrapper="f"/>

should wrap the document node itself, which ain't right, right?

ht
- -- 
       Henry S. Thompson, School of Informatics, University of Edinburgh
                         Half-time member of W3C Team
      10 Crichton Street, Edinburgh EH8 9AB, SCOTLAND -- (44) 131 650-4440
                Fax: (44) 131 651-1426, 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)

iD8DBQFJI/2ekjnJixAXWBoRAukSAJ43O4+xOhQPro2LyDv+Pk9LlxMvHgCfU/JT
ErH4DvMP7vDAzLW3vnDTXY4=
=1/gM
-----END PGP SIGNATURE-----
Received on Wednesday, 19 November 2008 11:51:31 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 19 November 2008 11:51:32 GMT