You can use the BookXRefs file to replace
xrefs. The ReplaceXRefChar parameter defines the character that
tells the Import XRef Definitions command to replace or overwrite
the xref rather than change its definition. Set the ReplaceXRefChar
parameter to a value (a single character), then use that value as
the first character of the "definition." The next time you run the
Import XRef Definitions command, those xrefs will be replaced. You
use this feature to rename an xref to a name that already exists
(if you just want to rename an xref to a new name, see Rename specific xrefs in all files in a book).
For example, the following sample file will replace the HeaderOnly
and HeaderQuoted xref definitions with the HeadingAll definition.
The ReplaceXRefChar parameter is set to "@" and that character is
used as the first character in the "definition." This will only
work if the HeadingAll xref format already exists, if it does not
exist, you would use the "rename" feature for the first xref and
the "replace" for the second.
[General]
AltBookXRefsFile=
DeleteXRefCode=
RenameXRefChar=
ReplaceXRefChar=@
EditorType=0
[Groups]
Count=1
1=MainGroup
[MainGroup]
HeaderOnly=@HeadingAll
HeaderQuoted=@HeadingAll