FM 7.2: Is there a way to Find a cross-ref and Replace it with another cross-ref?
Jeremy H. Griffith
jeremy at omsys.com
Thu Jun 21 11:51:07 PDT 2012
On Thu, 21 Jun 2012 17:17:49 +0100, Steve Rickaby
<srickaby at wordmongers.demon.co.uk> wrote:
>Xrefs in MIF look like this:
>
>To a para with a Heading 1 tag in same file...
>
> <XRef
> <XRefName `Heading & Page'>
> <XRefSrcText `53801: Heading1: Heading 1'>
> <XRefSrcIsElem No>
> <XRefSrcFile `'>
> <XRefLastUpdate 1340295100 0>
> <Unique 999233>
> > # end of XRef
>
>To another file...
>
> <XRef
> <XRefName `Heading & Page'>
> <XRefSrcText `53801: Heading1: Heading 1'>
> <XRefSrcIsElem No>
> <XRefSrcFile `<c\>Xref test.fm'>
> <XRefLastUpdate 1340295244 0>
> <Unique 999231>
> > # end of XRef
>
>where the target of the xref is in a file called 'Xref test.fm'.
>Note that this field is present, but blank, in the first example.
Be careful *not* to change the <Unique> part if you do
that. In fact, change as little as you can, just the
<XRefSrcText> if you want to change the source in the
same file.
-- Jeremy H. Griffith, at Omni Systems Inc.
<jeremy at omsys.com> http://mif2go.com/
More information about the framers
mailing list