[Xsltforms-support] XSLTForms wrap and setselection
Brought to you by:
alain-couthures
|
From: Winona S. <wsa...@gm...> - 2016-04-13 15:18:52
|
I'm attempting to use the new wrap and or setselection functions to pass a
selected text block to a search function, and then pass the results of the
search function back to the selection, replacing the selected text with the
results from the lookup; namely a URI as an attribute of the element
specified in the wrap function.
Any hints on how to do this in as few button clicks for the user as
possible? I can accomplish this with two buttons, one to look up the name,
store the value in the instance('uri') which is used by the wrap
function. And then with a second to button to wrap the selected text with
the correct element and attribute stroed in the instance('uri'). Am I
overlooking a way to do this in one click?
Thanks for the helps,
-Winona
|