Copy link to clipboard
Copied
Hi there,
I've been Googling this like crazy but surprised to not find anything that pertains to it.
Is there a way to use XML tagged content to create an index automatically?
To be specific: I have a massive catalogue I'm designing. I use XML to import all the content, and that works a treat. However I now need to create an index (it's for a book publisher so title and author are the two pieces of info that need indexing). Now it seems to me that there should be a way of finding everything in the "title" tags and everything in the "author" tags and creating an index from it.
Any help much appreciated.
Thanks
Tom
Copy link to clipboard
Copied
Hi,
Can you confirm the version of InDesign and Operating System you are using?
As far as I know, looking at the properties of the 'index feature' of InDesign, it works in a different way than what you are hoping to achieve. For the index, you need to build the list, no automation as far as I can remember.
It is a great feature t suggest in the Wish List, please add this point to the suggested features.
Copy link to clipboard
Copied
Admitting that it's been 5-6 years since we took XML into InDesign for automated layout. We switched to IDTT (InDesign Tagged Text, yes, a legacy method) specifically because we could not get an index to generate from XML tags/data.
But it worked like a charm with IDTT. Trouble-free.
This particular project didn't need the power of XML; once brought into InDesign for layout, we were not round-tripping the content back into the database via XML. So any method of tagging and sequencing the content would work. And the index was for medical science, so it was extremely complex and detailed that couldn't be easily scripted.
The workflow was:
But do look for a 3rd party script that might do the trick for you. I know of indexing scripts, but none specifically for grabbing XML tagged data. However that could have changed since I last looked. Try these scripting websites:
If none of these scripts do the trick for you, consider either writing your own script or hiring one of the excellent InDesign scripters above to write you one.
Copy link to clipboard
Copied
hi Eric,
would be interested to know what you ended up doing - i'm in a similar situation, surprised it's not already a feature and wondering if there's a way round it!
thanks.