Re: Syntax noodling

Hi Norm,

Norm Walsh wrote:
> Is it your intent that href on output can be combined with a label?
> 
>   <p:step name="xslt">
>     <p:input href="document.xml" />
>     <p:input name="style" href="style.xsl" />
>     <p:output href="out.xml" label="styleout"/>
>   </p:step>
> 
> So that this provides a short cut for both the "save" component and
> the "tee" component?

Yep. I've been playing in my head with having a 'copies' attribute on 
<p:output> as a shorthand for "tee" and "sink" components: copies="0" 
would "sink" while copies="2" or more would tee the requisite number of 
times. But I'm currently undecided whether we really need to draw 
attention to teeing/sinking at all at the syntax level: doing so 
provides error checking when outputs get forgotten about, but I don't 
think a user would forget about an output that they were interested in.

Cheers,

Jeni
-- 
Jeni Tennison
http://www.jenitennison.com

Received on Wednesday, 10 May 2006 15:15:39 UTC