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

Re: p:empty

From: Norman Walsh <ndw@nwalsh.com>
Date: Thu, 18 Sep 2008 14:58:14 -0400
To: James Garriss <james@garriss.org>
Cc: xproc-dev@w3.org
Message-ID: <m2k5d99t89.fsf@nwalsh.com>
James Garriss <james@garriss.org> writes:

> Can someone plz give a good example of where you'd want to bind a port
> to an empty document?  That is, I'm looking for an example where
> p:empty is really necessary.

Consider a call to p:exec where you don't want stdin to be bound to the
default readable port, you want it to be empty.

  <p:exec>
    <p:input port="source">
      <p:empty/>
   </p:input>
   ...

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <ndw@nwalsh.com> | More imagination would indeed be a mere
http://nwalsh.com/            | trifling; only no imagination is
                              | *mere*.--C. S. Peirce

Received on Thursday, 18 September 2008 18:59:02 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 18 September 2008 18:59:02 GMT