Copy link to clipboard
Copied
Hi,
I need to replace the xml content(having HTML tag <br /> to be replaced as '\t') after fetching the xml content using the script. Please guide me on this...
Copy link to clipboard
Copied
I would run a find/replace in Notepad++ (or Mac equivalent), outside of InDesign.
Copy link to clipboard
Copied
Hi @Eric Dumas
It's an requirement for my client to get the XML content without having the chnaging the content. In InDesign Document we used Find&Replace script for replacing the tag value.
Copy link to clipboard
Copied
You coulod create an action script that fetches the file, ideally same name/place everytime, replaces what's needed and applies formatting.
Copy link to clipboard
Copied
You could have an XSLT written to apply to the XML during import into InDesign. I'm pretty sure the XSLT could process the XML to remove the <br/> tag and replace with \t.