Mobile app version of vmapp.org
Login or Join
Phylliss782

: XML in Indesign - how to use attributes to assign formating I wanted to use XML to design a big festival programme. Unfortunately the XML consist only of text elements that have certain attributes

@Phylliss782

Posted in: #AdobeIndesign #IndesignScripting #Xml

I wanted to use XML to design a big festival programme. Unfortunately the XML consist only of text elements that have certain attributes (like date, time, type, etc) assigned to them.

I can rename the text elements to whatever I want to name them by selecting them and assign them a new mark. But how can I automatically do this for the entire document?

Is there a way to tell Indesign to mark the elements depending on their attributes?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Phylliss782

1 Comments

Sorted by latest first Latest Oldest Best

 

@Ogunnowo857

If you want to replace the tag applied to another one you can simply remove that tag from the tags panel, you will be asked to choose for another tag. That's the quickiest way. Of course you may want to recreate that deleted tag if needed.

If you want to rename the tag based on an attribute of its, you may need either XSLT to change XML on the fly or a script to do it later.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme