I have a sample script that performs a book update, which should include a cross reference update. You can get it here, along with many other samples:
The script that does the book update is called "BOOK_-_General_book_operations.jsx". Hope this helps.
I have that link. There is no script for fixing cross references. Thanks anyways.
If it is updating cross-references you need, that is one of the options of UpdateBook( ), which is in Russ' samples. If you are looking for something else, you need to give us (much) more details about what it is.
I want to automate broken cross references (both external and internal) by using extend script. I had been using some common chapters in my book, however when I generate book, cross references for the same do not work.
UpdateBook() generate a report for all broken cross references.