Re: [Xsltforms-support] Does it interpret "{}" in a resource request?
Brought to you by:
alain-couthures
|
From: COUTHURES A. <ala...@ag...> - 2009-12-01 21:26:08
|
Paul,
> I have a lot of submissions based on variables like the following:
>
> <xforms:submission ref="instance('teams')" id="add-team" replace="instance" instance="teams" method="get" resource="/exist/rest//db/newsml/{instance('data')/selected-sport}"/>
>
> see: {instance('data')/selected-sport}
>
> This gets turned into the following request:
>
> "GET /exist/rest//db/newsml/%7Binstance(%27data%27)/selected-sport%7D? HTTP/1.1" 404
>
> I think my submission path is acceptable xforms (works for Mozilla plugin and Orbeon) but is there another way I need to formulate it for XSLTForms?
>
XForms 1.1 defines a sub-element "xforms:resource" with a value
attribute, for example, so {} notation (AVT) is not required for that.
This sub-element is supported by XSLTForms.
AVT should be supported in XSLTForms as an extension but probably not
for XForms attributes but for HTML attributes or SVG attributes...
Best regards,
-Alain
|