W3C home > Mailing lists > Public > xproc-dev@w3.org > May 2009

Re: How do you pass step options to p:data/@href???

From: Norman Walsh <ndw@nwalsh.com>
Date: Fri, 01 May 2009 09:38:58 -0400
To: XProc Dev <xproc-dev@w3.org>
Message-ID: <m27i11aqod.fsf@nwalsh.com>
Philip Fennell <Philip.Fennell@bbc.co.uk> writes:

> The tidy:html step, is in effect, stand-alone. The input is irrelavent
> but the output is the 'source' of the pipeline.

If it doesn't have any inputs, you can simply leave the p:input out...

  <p:declare-step type="html:tidy">
     <p:output port="result"/>
     <p:option name="href" required="true"/>

                                        Be seeing you,

Norman Walsh <ndw@nwalsh.com> | Knowledge, sense, honesty, learning,
http://nwalsh.com/            | good behavior are the chief things
                              | towards making a man's fortune, next to
                              | interest and opportunity.

Received on Friday, 1 May 2009 13:39:39 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:03:05 UTC