Re: [Xsltforms-support] Does it interpret "{}" in a resourcerequest?
Brought to you by:
alain-couthures
From: Klotz, L. <Lei...@xe...> - 2009-12-01 22:41:24
|
You might consider using the XForms 1.1 submission/resource element instead of an AVT. http://www.w3.org/TR/xforms11/#submit-resource-elem Leigh. -----Original Message----- From: COUTHURES Alain [mailto:ala...@ag...] Sent: Tuesday, December 01, 2009 1:26 PM To: Paul Kelly Cc: XSLTForms support Subject: Re: [Xsltforms-support] Does it interpret "{}" in a resourcerequest? 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 ------------------------------------------------------------------------------ Join us December 9, 2009 for the Red Hat Virtual Experience, a free event focused on virtualization and cloud computing. Attend in-depth sessions from your desk. Your couch. Anywhere. http://p.sf.net/sfu/redhat-sfdev2dev _______________________________________________ Xsltforms-support mailing list Xsl...@li... https://lists.sourceforge.net/lists/listinfo/xsltforms-support |