Skip to main content
Participant
July 14, 2018
Question

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

  • July 14, 2018
  • 2 replies
  • 297 views

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

This topic has been closed for replies.

2 replies

Participant
July 19, 2018

Thank you your answer.

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

Inspiring
July 15, 2018

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