I’ve been trying to figure out a way to render columns and object tables dynamically in an XML view, but haven’t been able to figure out a way to do so. I’m filtering through an array of objects, and each object belong to a specific category. I need to be able to render a table for each category and attach those objects to the table it belongs to. The reason I need to render into the xml dynamically is because I’m pulling this data through an api that constantly updates with new categories and/or objects.
The only thing I can do in the XML that’s relatively similar to what I’m trying to achieve is call a function where text can be rendered:
Any help would be much appreciated!
Thank you in advance!