• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

How to group XML elements in in-design by adding them to a parent tag

New Here ,
Feb 06, 2020 Feb 06, 2020

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.

TOPICS
Scripting , SDK

Views

352

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Feb 09, 2020 Feb 09, 2020

Copy link to clipboard

Copied

LATEST

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines