Copy link to clipboard
Copied
I have XML elements linked to the root element of the document and there are some elements that should be grouped and then linked to the design document, So I would like to know how I can create a virtual group and add the elements to a parent tag that will, in turn, be the child of the parent in InDesign scripting
Existing :
```
-EL1
-EL2
-EL3
-EL4
-EL5
```
Expected:
```
-EL1
-EL
--EL2
--EL3
--EL4
-EL5
```
Where `EL` is the parent and `EL2,EL3,EL4` are the child elements.
Copy link to clipboard
Copied
Have great week ahead. Am also having the same kind of secnario. I wanted to group particualr set of styled text and place in to textframe.
Anyone guide me to resolve the same
Find more inspiration, events, and resources on the new Adobe Community
Explore Now