W3C home > Mailing lists > Public > public-xml-processing-model-comments@w3.org > May 2008

expanding p:with-param applicability

From: James Fuller <james.fuller.2007@gmail.com>
Date: Tue, 6 May 2008 21:36:52 +0200
Message-ID: <a0ad8ffe0805061236w6b962329s5ce160be32f947c@mail.gmail.com>
To: public-xml-processing-model-comments@w3.org

past XSLT use cases, parameters (p:with-param and p:parameters) are a
pretty limited; I can see the benefit of piping through large sets of
parameters, but since these params control/configure transformations I
am sure lots of users will want them exposed at the XProc layer as
well... in any event its past the point of arguing this point.

I was wondering though if there is not an opportunity to expand
parameters by taking advantage of the fact that parameters are not
included in the functional signature of a declared step.

consider the following pseudo compound step example;

<p:group name="myteststep">
  <p:variable name="currentmonth"
        <p:with-param name="concat('key',$currentmonth)"

where the name of the parameter itself is calculated as the
concatenation of the word 'key'+ some month number.

wondering if the WG had considered the scenario of dynamically
generated names ?  Or is this the case now (I must confess to a bit of
confusion here, as I have this behavior already encoded in my test
suite this way).

regards, Jim Fuller
Received on Tuesday, 6 May 2008 19:37:28 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:28:25 UTC