Loading a parameter into a p:variable

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi there,
I'm in the same situation as Kevin Flynn describes in this thread:

http://lists.w3.org/Archives/Public/xproc-dev/2010Jul/0002.html

I've tried Vojtech's suggestion (though I've implemented it
incorrectly) and now receive "XS0019:Variable binding to result on
params not allowed." from Calabash:

...
  <p:variable name="security" select="//c:param[@name =
'security']/@value" xmlns:c="http://www.w3.org/ns/xproc-step">
    <p:pipe port="result" step="params"/>
  </p:variable>

  <p:parameters name="params">
    <p:input port="parameters">
      <p:pipe port="parameters" step="main"/>
    </p:input>
  </p:parameters>
...

I'm quite puzzled as to how this should work, though it seems like
extracting the value of a parameter into a variable for use in the
pipeline should be a common task.

Btw., I notice that search results to http://xprocbook.com now take
you to empty pages. Is that intentional?

Thanks,
David
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJPoGHFAAoJEMHeSXG7afUhzC8H/jxv/thXTXpeq5lMVi0Vc4YL
6Io0B3oN8rxwk/bGvDkTOkKMvXlztU0lETeFUJPuE/EYjRNKl1pYXImRa8S1aJdR
afeCtSwvq4cqbsjxaEWt2xd5U5C/yz+jGYS1Ma+SDMkm7rt1rMYgH42M2+454sXS
yliXllLLjWuzv3z7axqnHxaZ6rMD+CfNoLCI7npAmD7tkAn9SZaMfOL3i6sSBoE8
WruKK9/kD7s0yhk8BYI5Bw97SnxNXjUpvZDo2sR3NexIdk6vLem3/QIUHSByGH9v
PHwhiCSJQz4gZk58wbt25dE6U7MhjzdS0m/hVE4j6Z21f20CmgV5O3L7x0fUr+4=
=SEKk
-----END PGP SIGNATURE-----

Received on Tuesday, 1 May 2012 22:21:23 UTC