Feature #5096
Updated by Reynaud Sylvain about 11 years ago
Replace @path-template with list of <argument>:
* @name="string"
* @named-in-path="true|FALSE"
* text() => the default value (_+NOTE+: not allowed if preceding-sibling::argument[text()='']_).
Example:
<pre><code class="xml">
<view><!-- /vo/{vo=dteam}/{site=CC-IN2P3} -->
<argument name="vo" named-in-path="true">dteam</argument>
<argument name="site">CC-IN2P3</argument>
</view>
</code></pre>
Replace XPath functions path() and request() with args() and post():
* args( [<key>] ) => XML or [string] (_+NOTE+: 'path' is a reserved keyword for 'key'_).
* post( ) => XML (_+NOTE+: is a synonym for current()_).
Modify XPath functions view() and view_request():
* view( <view>, [<entries>] ) => XML.
* view_post( <view>, <post>, [<entries>] ) => XML.
Function args() is a <e:entries> XML document, which contains *ALL* of the following:
* path
* default values described in list of <argument>
* key/values extracted from path
* key/values extracted from query fields
* key/values extracted from posted HTML form
Function post() is any XML document, which contains *ONLY ONE* of the following:
* posted HTML form
* posted XML data
* XML data sent by view (_+NOTE+: using function view_post()_)
* NULL
Examples:
<pre>
view('view1', args())
view('view1', entries(entry('newK',args('oldK'))))
</pre>