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

I search a best way to export in xml format a property text of element cross-refrence.

New Here ,
Jul 14, 2018 Jul 14, 2018

Copy link to clipboard

Copied

Hi,

I search a best way to export in xml format a property text of element cross-refrence ?

I export without any problem the properties "format" and "srcfile" .

Sample : <mylinkfile format = "like file" srcfile = "FicArbo-Demarches.fm#Fic004"/>

But I can not get the "text" associated with the cross-reference element.

I specify that :

1) the mylinkfile element is declared as cross-reference element in my edd.

2) the text has been entered via the "text" field of the marker element.

3) the DTD description is

                <!ELEMENT mylinkfile (#PCDATA) >

               <!ATTLIST mylinkfile

                     idref     IDREF     #IMPLIED

                     text      CDATA     #IMPLIED

                     format    CDATA     #IMPLIED

                     srcfile   CDATA     #IMPLIED >

4) no rules  

I may be trying to do something that is impossible to work.

Thank you for your help

TOPICS
Structured

Views

215

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
Advisor ,
Jul 15, 2018 Jul 15, 2018

Copy link to clipboard

Copied

Out of the box, FrameMaker does not export to XML the text displayed by a cross-reference. With some programming (a script or API client), it is possible to export the text. Note that there are design issues to consider. For example, a cross-reference format can include font changes. Would you want them represented in the attribute value?

         --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
New Here ,
Jul 19, 2018 Jul 19, 2018

Copy link to clipboard

Copied

LATEST

Thank you your answer.

I just need to get the text back. I do not need the Style Sheets attached to the text.

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