You can define XML collections directly inside your XML using the <coll_options> tag. When you call gantt.parse(xml, "xml"), the library will recognize these options and populate the corresponding serverList automatically.
So your XML data structure could look like this:
By the way, is there a specific reason why you prefer using XML instead of JSON for collections? JSON is the recommended and more commonly used format in Gantt, so I just want to better understand your use case.
Best regards,
Valeria Ivashkevich
DHTMLX Support Engineer
Thank you Valeria, this is what I was looking for.
Yes I already tried to switch from XML to JSON but had some trouble.
Will probably try to switch again at some point.
I’m using a somewhat outdated Plugin for Oracle APEX framework.
This has XML as main source example to support older Oracle DBs without JSON support.