W3C home > Mailing lists > Public > xproc-dev@w3.org > December 2009

RE: data in p:for-each

From: <Toman_Vojtech@emc.com>
Date: Tue, 1 Dec 2009 03:50:51 -0500
Message-ID: <997C307BEB90984EBE935699389EC41C3689C6@CORPUSMX70C.corp.emc.com>
To: <xproc-dev@w3.org>

The problem is that p:data can't take XPath expressions as the value of
the href attribute. This is because p:data is not a step, and href
therefore isn't an option, but just an ordinary XML attribute. That
means that you can't parametrize p:data based on an option or a

XProc has only limited support for dealing with binary data. The problem
you have is primarily because there is no real step equivalent to
p:data, something like p:load is to p:document. The closest thing that
comes close to this is p:http-request, but that one is not required to
support the file: URI scheme.

I am not sure whether Calabash supports the file: URI scheme in
p:http-request, but you can give it a try. If it does not work, I am
afraid the only option is to write a custom step.

Received on Tuesday, 1 December 2009 08:51:42 UTC

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