[Date Prev][Date Next] [Thread Prev][Thread Next]
[Date Index] [Thread Index] [New search]

Re: Find all cross-references to a certain target



Fred Ma wrote:
>    Cross-reference source:
>    <XRefSrcText `21160: Head_Bold_Italic: Beer and Pizza'>
> 
>    Cross-reference target:
>    <MText `21160: Head_Bold_Italic: Beer and Pizza'>
> 
> Strangely enough, the actual text "Beer and Pizza" is obsolete.  A book search
> does not find that string.  The cross-reference and target marker probably
> uses the text that was present when the the cross-reference and marker were
> created.  The document and text may change significantly due to edits, but the
> cross-reference and marker probably stays the same.

Yes, that's correct. FM needs a unique identifier for the x-ref target,
and includes both the tag name and the initial paragraph text.
When an x-ref is made, the exact same identifier string is used at
both the source (the x-ref) and the target (the x-ref marker).

To find and resolve x-refs, the identifier strings are used and they
need to stay put. If the x-ref marker contents was changed when you
edited the paragraph text, all x-refs to that paragraph would become
unresolved, or FM would have to find all x-refs to that paragraph
(in all possible FM files!) and update the identifier string.
Naturally, neither alternative is an option.


-- 
___________________________________________
Thomas Michanek, FrameMaker/UNIX/MIF expert
Technical Communicator, Uppsala, Sweden
mailto:Thomas.Michanek@xxxxxxxxx
http://go.to/framers/
___________________________________________


** To unsubscribe, send a message to majordomo@xxxxxxxxx **
** with "unsubscribe framers" (no quotes) in the body.   **