W3C home > Mailing lists > Public > public-xml-processing-model-comments@w3.org > October 2008

Re: Dynamic @href value for p:document?

From: Norman Walsh <ndw@nwalsh.com>
Date: Thu, 30 Oct 2008 12:37:12 -0400
To: public-xml-processing-model-comments@w3.org
Message-ID: <m2od1282fb.fsf@nwalsh.com>
"Florent Georges" <fgeorges@fgeorges.org> writes:

> 2008/10/30 Norman Walsh wrote:
>
>>     <p:for-each>
>>        <p:iteration-source select="//matrix"/>
>>        <p:load>
>>          <p:with-option name="href" select="/matrix/@href"/>
>
>   Thanks.
>
>   I tried the Vojtech's solution, with select="@href", and didn't
> understand why it didn't work.  If I am right, that is because even if
> iteration-source select elements, they are turned into documents by
> the processor (so in this case I can use matrix/@href but not @href).
> Correct?

Bingo!

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <ndw@nwalsh.com> | If you wish to advance into the
http://nwalsh.com/            | infinite, explore the finite in all
                              | directions.-- Goethe

Received on Thursday, 30 October 2008 16:37:57 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:28:25 UTC