Omni Systems, Inc.

  

Mif2Go User's Guide, Version 55

  

Valid HTML 4.01!

 

Made with Mif2Go

15 Converting to DITA XML > 15.10 Configuring cross references and links for DITA > 15.10.6 Overriding <xref> attribute values > 15.10.6.1 Specifying the <xref> scope attribute


15.10.6.1 Specifying the <xref> scope attribute

By default, for most links Mif2Go omits the scope attribute of the generated DITA <xref> element, so that the value of the scope attribute defaults to local. However, for links that use a message URL hypertextHyperLink marker, Mif2Go sets the <xref> scope to external.

Some applications, such as XMetaL, do not support the #IMPLIED default of <xref scope="local">. If you plan further DITA processing using such an application, you can instruct Mif2Go to always make this attribute value explicit:

[DITAOptions]

; UseLocalScope = No (default, omit scope attr from xref if not

; specified and href is not to a URL) or Yes (set scope="local" in

; those cases to satisfy applications (XMetaL) that do not respect

; #IMPLIED in the DTD).

UseLocalScope = Yes

To specify the scope attribute of an individual cross reference or hypertext link in FrameMaker, insert a DITALinkScope marker in text just before the link. The content of the marker is the value of the scope attribute (usually peer) of the generated <xref> element.



15 Converting to DITA XML > 15.10 Configuring cross references and links for DITA > 15.10.6 Overriding <xref> attribute values > 15.10.6.1 Specifying the <xref> scope attribute