Re: Options and parameters proposal

/ Jeni Tennison <jeni@jenitennison.com> was heard to say:
|> So what would a use of p:xslt look like given this declaration?
|
| <p:xslt>
|   <p:input port="source">
|     <p:pipe step="otherstep" port="result" />
|   </p:input>
|   <p:input port="stylesheet">
|     <p:document href="stylesheet.xml" />
|   </p:input>
|   <p:parameter-set name="parameters">
|     <p:parameter name="skin">classic</p:parameter>
|     <p:parameter name="view">normal</p:parameter>
|   </p:parameter-set>
| </p:xslt>

Bleh. The extra level of wrapper seems a bit unfortunate.
There may be something in the parameter sets, but...

|> 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>
|
| An error. You can't specify an undeclared parameter set.

Ok. Good.

                                        Be seeing you,
                                          norm

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

Received on Wednesday, 7 March 2007 20:40:51 UTC