[oXygen-user] [OXYGEN-9493] Load external data into form control?
Scott Prentice
sp14 at leximation.com
Fri Oct 20 11:14:31 CDT 2023
Thanks, Radu!
That looks like an interesting solution .. will give it a whirl.
...scott
On 10/18/23 8:33 PM, Oxygen XML Editor Support (Radu Coravu) wrote:
>
> 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
>
> _______________________________________________
> 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/20231020/f98b557d/attachment.htm>
More information about the oXygen-user
mailing list