Highlighted

How to bold the contents inside <strong></strong> tag in the XML

Explorer ,
Jun 10, 2020

Copy link to clipboard

Copied

Hi Everyone,

Can anyone help me to develope a script to bold the contents inside <strong></strong> tag in InDesign document??

-Jothi

Adobe Community Professional
Correct answer by Chad Chelius | Adobe Community Professional

With XML, you can take a couple different approaches. 1. You could map the <strong> XML tag to a bold character style in InDesign using the map tags to styles dialog box. 2. You could use an aid attribute in the XML to specify a character style to apply to text. For example <span aid:cstyle="Bold">Text to make bold</span>.

 

 

TOPICS
Scripting

Views

243

Likes

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

How to bold the contents inside <strong></strong> tag in the XML

Explorer ,
Jun 10, 2020

Copy link to clipboard

Copied

Hi Everyone,

Can anyone help me to develope a script to bold the contents inside <strong></strong> tag in InDesign document??

-Jothi

Adobe Community Professional
Correct answer by Chad Chelius | Adobe Community Professional

With XML, you can take a couple different approaches. 1. You could map the <strong> XML tag to a bold character style in InDesign using the map tags to styles dialog box. 2. You could use an aid attribute in the XML to specify a character style to apply to text. For example <span aid:cstyle="Bold">Text to make bold</span>.

 

 

TOPICS
Scripting

Views

244

Likes

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
Jun 10, 2020 0
Adobe Community Professional ,
Jun 10, 2020

Copy link to clipboard

Copied

Look for examples on how to use findgrep, there are lots of these on the forum. I see you have participated in one of those, so you know how to use it. Regarding bold we already had a discussion in the previous thread where i did demonstrate how to find it, you just need to change the fontstyle property of the found text. What is confusing here, you already are a developer this should be a trivial task to do.

 

-Manan

Likes

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
Reply
Loading...
Jun 10, 2020 1
Adobe Community Professional ,
Jun 10, 2020

Copy link to clipboard

Copied

With XML, you can take a couple different approaches. 1. You could map the <strong> XML tag to a bold character style in InDesign using the map tags to styles dialog box. 2. You could use an aid attribute in the XML to specify a character style to apply to text. For example <span aid:cstyle="Bold">Text to make bold</span>.

 

 

Likes

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
Reply
Loading...
Jun 10, 2020 0
Explorer ,
Jun 10, 2020

Copy link to clipboard

Copied

Thankyou for your reply!! I had find the solution..

-Jothi

Likes

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
Reply
Loading...
Jun 10, 2020 0