Highlighted

Updating InDesign document with XML

New Here ,
Oct 15, 2020

Copy link to clipboard

Copied

Hi Professionals

 

I can able to update the xml of the whole indesign document if there is any changes in the xml using script...

Here, my doubt is shall i update only the modified contents of xml without disturbing 

the unmodified contents in the document.....

 

Thanks in Advance........

Regards,

-Parvathikannan.

TOPICS
How to, Scripting

Views

54

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

Updating InDesign document with XML

New Here ,
Oct 15, 2020

Copy link to clipboard

Copied

Hi Professionals

 

I can able to update the xml of the whole indesign document if there is any changes in the xml using script...

Here, my doubt is shall i update only the modified contents of xml without disturbing 

the unmodified contents in the document.....

 

Thanks in Advance........

Regards,

-Parvathikannan.

TOPICS
How to, Scripting

Views

55

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
Oct 15, 2020 0
Adobe Community Professional ,
Oct 17, 2020

Copy link to clipboard

Copied

Hi Parvathikannan,

As per your post, I think your work flow is entirely XML based. As far as I can see it is better to import entire XML, because updating only changed XML structure will leave a margin for errors. To avoid that very small window for margin of error will be killed if you update entire XML.

 

But there is one more point if you update entire XML, you might have to put some more scripting if anything is getting changed(like paragraph style or character style) for those you need to do something, but after that no exception you will meet.

 

Best

Sunil 

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...
Oct 17, 2020 0
New Here ,
Oct 18, 2020

Copy link to clipboard

Copied

Dear Sunil Yadav,

 

You're right, My work flow is based on XML and i already have the functionality to update the entire XML with some scripting files. I can understand your suggestion but, our client requirement is to update only the modified xml contents in the InDesign documents without disturbing other contents. Is there is any way to do it?????

 

Regards,

ParvathiKannan.

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...
Oct 18, 2020 0
Adobe Community Professional ,
Oct 19, 2020

Copy link to clipboard

Copied

There are always a way out.

If you are able enough to find out which xml element is modified(I am unsure how are you finding those). Then exactly those xml elements you can update in InDesign Files.

 

Sunil

 

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...
Oct 19, 2020 0