W3C home > Mailing lists > Public > xproc-dev@w3.org > August 2013

Using option in the path for p:document

From: David Cramer <david@thingbag.net>
Date: Thu, 08 Aug 2013 12:54:06 -0500
Message-ID: <5203DB3E.5010501@thingbag.net>
To: XProc Dev <xproc-dev@w3.org>
I've asked this before for p:store, but I haven't been able to google up
an answer for p:document. I need to use an option as the path to an
input document. So instead of:

  <p:xinclude>
    <p:input port="source">
      <p:document href="../../../../olink.xml" />
    </p:input>
  </p:xinclude>

I want to do something like this, where I use $olinkManifest as the path
to the input file:

  <p:xinclude>
    <p:input port="source">
      <p:document>
	<p:with-option name="href"
                       select="$olinkManifest"/>
      </p:document>
    </p:input>
  </p:xinclude>

I'm sure I'm missing something obvious. Can someone help me out?

Thanks,
David
Received on Thursday, 8 August 2013 17:54:34 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:03:11 UTC