Re: possible bug in p:iteration select

On Tue, Sep 30, 2008 at 4:12 PM, Jeni Tennison <>wrote:

> If you had a known URI, you'd do:
>  <p:load>
>    <p:option name="href" select="'/path/to/file.xml'" />
>  </p:load>

Shouldn't this (and the original example) use <p:with-option> - I thought
<p:option> was for option declaration, not invocation?

I wonder if it'd be nice if you could also do this:

   <p:with-option name="href">/path/to/file.xml</p:with-option>

Not that it's a shorter shortcut than just passing the option directly via
an actual href attribute, but it would be nicely consistent with XSLT's
with-param, for those more familiar with that.

Josh Matthews

Received on Tuesday, 30 September 2008 21:19:03 UTC