[oXygen-user] [OXYGEN-9493] Load external data into form control?

Oxygen XML Editor Support (Radu Coravu) support at oxygenxml.com
Wed Oct 18 22:33:45 CDT 2023


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 at oxygenxml.com
> https://www.oxygenxml.com/mailman/listinfo/oxygen-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.oxygenxml.com/pipermail/oxygen-user/attachments/20231019/917bbf36/attachment.htm>


More information about the oXygen-user mailing list