- From: Norman Walsh <Norman.Walsh@Sun.COM>
- Date: Wed, 10 May 2006 10:28:35 -0400
- To: public-xml-processing-model-wg@w3.org
- Message-ID: <87ac9qymwc.fsf@nwalsh.com>
/ Jeni Tennison <jeni@jenitennison.com> was heard to say:
[...]
| So:
|
| <p:step name="xslt">
| <p:input href="document.xml" />
| <p:input name="style" href="style.xsl" />
| <p:output href="out.xml" />
| </p:step>
|
| could be understood as representing four steps: load document.xml, load
| style.xsl, xslt step, and save out.xml. The graph would look like:
|
| (load) href: style.xsl
| |
| | style
| v
| (load) -----------> (xslt)
| href: document.xml |
| |
| v
| (save) href: out.xml
|
| I'd certainly like to see this as a shorthand, and we *could* say that
| it's the only way to invoke the load and save components.
To me, it seems a little less natural to have an href attribute on
a p:input map to the href attribute on some other component's p:param
element, but I do like your mapping better than mine, at a high level.
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?
I'm trying not to worry too much about the shortcuts until we have a
better understood "full syntax" but I can see that these things are
all related.
Be seeing you,
norm
--
Norman Walsh
XML Standards Architect
Sun Microsystems, Inc.
Received on Wednesday, 10 May 2006 15:00:42 UTC