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

Re: Dynamic @href value for p:document?

From: Florent Georges <fgeorges@fgeorges.org>
Date: Thu, 30 Oct 2008 16:25:55 +0100
Message-ID: <ebaca5bf0810300825h4d1e9e9epa128ebc9c5f8cadc@mail.gmail.com>
To: "Norman Walsh" <ndw@nwalsh.com>
Cc: public-xml-processing-model-comments@w3.org

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?

  Regards,

-- 
Florent Georges
http://www.fgeorges.org/
Received on Thursday, 30 October 2008 15:26:30 UTC

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