Hi Scott,

If you just configure using the CSS a combo box to edit the values of an attribute, by default those values will be gathered either from the DTDs (if you have defined a choice of values for the attribute in the DTDs) or from our content completion configuration file which can use XSLT to gather values from another location. Maybe this blog post by my colleague Alex will help:

https://blog.oxygenxml.com/topics/controlledAttributeValues2.html

Regards,

Radu

Radu Coravu
Oxygen XML Editor

On 10/19/23 03:06, Scott Prentice wrote:

I'm refining some metadata form controls for a custom framework, and it would be ideal if I was able to load the values and labels for a combobox from an external file (XML or preferably, JSON) rather than hard-coding these values into the CSS. It seems that this may be possible with xpath_eval(). Is anyone aware of any examples of this, or am I heading down a rabbit hole?

I'll keep poking at this, but thought I'd see if anyone had thoughts on this effort.

Thanks!
...scott



_______________________________________________
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user
_______________________________________________
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user

Reply via email to