W3C home > Mailing lists > Public > public-xml-processing-model-wg@w3.org > July 2006

Re: Inputs and outputs

From: Alex Milowski <alex@milowski.org>
Date: Thu, 20 Jul 2006 15:58:51 -0700
Message-ID: <44C00AAB.8000701@milowski.org>
To: public-xml-processing-model-wg@w3.org

Rui Lopes wrote:
> Norman Walsh wrote:
>> I've switched to Richard's naming style, which is my 60/40 favorite at
>> the moment, though I'd use "/" instead of ".".
> 
> I'm a bit concern on using "/" if Richard's naming style is going 
> forward, as users may be confused by perceiving names as XPath 
> expressions, since we're going to have those expressions (at least) on 
> p:choose.

Actually, we could make it like XPath by adding our own axes for
steps, inputs, outputs and whatever else we want:

step::my-xslt/port::output

where the default axis is 'step' and so the short
form would be:

my-xslt/port::result

to reference the output port named 'result' on:

<p:step name="my-xslt" kind="xslt"> ... </p:step>

or, maybe we distinguish inputs and outputs:

my-xslt/output::result

and so the inputs could be referenced by:

my-xslt/input::document
my-xslt/input::stylesheet


This might be become import to components who want parameters to refer
to particular input or output ports.


--Alex Milowski
Received on Thursday, 20 July 2006 22:59:06 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:21:48 GMT