Re: [Xsltforms-support] Building up URLs from selected values
Brought to you by:
alain-couthures
From: Steven P. <ste...@cw...> - 2023-11-22 20:44:42
|
Attribute value templates work in XForms too, and allow you to build up a URL, but you can also use <bind/> with a calculate, see for instance the section on maps in the XForms advanced tutorial: http://www.cwi.nl/~steven/xforms/advanced/ Best wishes, Steven On Wednesday 22 November 2023 18:18:29 (+01:00), Richard Light wrote: Hi, I have an XForms scenario where I am interacting with an API, so every item of data is fetched via a URL. I want to start with the selection of a file. That's straightforward, because I can quote the complete URL to get a list of possible values: The problem occurs when I then want to include the selected file name in the URL for the next stage of the query, which is to select the index to search. This is the sort of thing I would do in XSLT, using an AVT: What is the equivalent XForms/XsltForms syntax for including an entered value within a string? Thanks, Richard -- Richard Light ric...@gm... <mailto:ric...@gm...> @richardofsussex |