• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

specify cross-reference format in read/write rules?

New Here ,
Mar 09, 2016 Mar 09, 2016

Copy link to clipboard

Copied

How can I specify a cross-reference format in the read/rules when importing xml document?

TOPICS
Structured

Views

280

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Advisor , Mar 09, 2016 Mar 09, 2016

Gary,

   If you want all occurrences of the xref element to use the same format, you can either specify the format in an InitialObjectFormat rule in the EDD or use a r/w rule in the form:

  element "figref"

  {

      is fm cross-reference element;

      fm property cross-reference format value is "Figure";

   }

If you want to use different formats and have a particular element specify which one, you can define an attribute whose value is the format name with a rule such as:

  element "xref"

  {

    is fm

...

Votes

Translate

Translate
Advisor ,
Mar 09, 2016 Mar 09, 2016

Copy link to clipboard

Copied

LATEST

Gary,

   If you want all occurrences of the xref element to use the same format, you can either specify the format in an InitialObjectFormat rule in the EDD or use a r/w rule in the form:

  element "figref"

  {

      is fm cross-reference element;

      fm property cross-reference format value is "Figure";

   }

If you want to use different formats and have a particular element specify which one, you can define an attribute whose value is the format name with a rule such as:

  element "xref"

  {

    is fm cross-reference element;

    attribute "xref-fmt' is fm property cross-reference format;

  }

In fact, if your DTD defines an attribute called "format", FM by default uses it for this purpose.

   --Lynne

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines