- From: Josh Matthews <joshmatthews@gmail.com>
- Date: Tue, 30 Sep 2008 16:10:08 -0400
- To: "James Garriss" <james@garriss.org>
- Cc: "Norman Walsh" <ndw@nwalsh.com>, "XProc Dev" <xproc-dev@w3.org>
Received on Tuesday, 30 September 2008 21:19:03 UTC
Hi James, On Tue, Sep 30, 2008 at 4:00 PM, James Garriss <james@garriss.org> wrote: > Ok, I see the idea: to load documents, I need to use p:load. But how > you used p:load left me confused. This code doesn't seem right: > > <p:load> > <p:option name="href" select="/c:file/@name"/> > </p:load> > > The href is a URI. //c:file/@name is an XPath expression, attempting to > read the value of the "name" attribute. Aren't we mixing apples and > oranges? > Looks to me like the same usage of the select attribute as in XSLT: href is the parameter being passed to the load, and select provides the value by evaluating the XPath expression. Cheers, Josh Matthews
Received on Tuesday, 30 September 2008 21:19:03 UTC