- From: Norman Walsh <ndw@nwalsh.com>
- Date: Tue, 30 Sep 2008 16:22:48 -0400
- To: XProc Dev <xproc-dev@w3.org>
Received on Tuesday, 30 September 2008 20:23:31 UTC
Jeni Tennison <jeni@jenitennison.com> writes: > If you had a known URI, you'd do: > > <p:load> > <p:option name="href" select="'/path/to/file.xml'" /> > </p:load> > > Note the single quotes around the URI. That's because the select > attribute on <p:option> is evaluated as an XPath expression to give > the URI. So you have to use single quotes to indicate it's a string. Or use the shortcut flavor: <p:load href="/path/to/file.xml" /> which (confusing or not) *doesn't* require the double quotes because shortcut options are always just strings, not XPath expressions that need to be evaluated. Be seeing you, norm -- Norman Walsh <ndw@nwalsh.com> | God, root, what is difference?" --Pitr, http://nwalsh.com/ | User Friendly; "God is more forgiving." | -- Dave Aronson
Received on Tuesday, 30 September 2008 20:23:31 UTC