Re: Options and parameters proposal

/ Jeni Tennison <jeni@jenitennison.com> was heard to say:
| Step declarations would declare the name of a parameter set, so XSLT
| would look like:
|
| <p:declare-step type="p:xslt">
|   <p:input port="source" sequence="no"/>
|   <p:input port="stylesheet" sequence="no"/>
|   <p:output port="result" sequence="yes"/>
|   <p:option name="initial-mode"/>
|   <p:parameter-set name="parameters"/>
| </p:declare-step>

So what would a use of p:xslt look like given this declaration?

Also, what would this mean?

<p:xslt>
  <p:parameter-set name="group1">
    <p:parameter name="foo">...</p:parameter>
  </p:parameter-set>
  <p:parameter-set name="group2">
    <p:parameter name="foo">...</p:parameter>
    <p:parameter name="bar">...</p:parameter>
  </p:parameter-set>
</p:xslt>

                                        Be seeing you,
                                          norm

-- 
Norman Walsh
XML Standards Architect
Sun Microsystems, Inc.

Received on Wednesday, 7 March 2007 16:53:23 UTC