Hello Wendell,
This is not possible now.
This functionality can be implemented either by generating quick fixes
dynamically or using user entries.
To generate the quick fixes dynamically you can set the "@use-for-each"
attribute on the quick fix. You can generate a quick fix with a specific
description for each id. There is an issue on SQF Github project that
describes it: https://github.com/schematron-quickfix/sqf/issues/3.
But this is not supported in current oXygen implementation. There is an
issue on our issue tracker to implement it in a future version.
Or you can create a quick fix that has an user entry that provides
multiple values (the list of IDs that can be inserted). The user will
see only one quick fix that will present a dialog with the list of IDs
to be inserted.
But this is also not supported in the current oXygen implementation.
Best Regards,
Octavian
--
Octavian Nadolu
<oXygen/> XML Editor
http://www.oxygenxml.com
On 21.08.2017 18:21, Wendell Piez wrote:
Hello oXygen friends,
I need to build an ID-selector functionality into a Schematron
Quickfix. That is, when an element fails validation against a
Schematron (because an IDREF attrbute is missing or points to the
wrong kind of element), I would like the user to be able to choose
from IDs of available elements. Ideally, the Quickfix would acquire
information from the elements being selected from, so the user would
see not only their IDs but also certain values associated with them
(to enable the correct selection).
Not having found any hints in oXygen Help or in Quickfix documentation
online, I suspect this isn't possible in the current version. (I'm
using v19.0.)
Am I wrong? If not, do any workarounds come to mind?
Thanks, Wendell
_______________________________________________
oXygen-user mailing list
[email protected]
https://www.oxygenxml.com/mailman/listinfo/oxygen-user