Highlighted

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

New Here ,
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

130

Likes

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

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

New Here ,
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

131

Likes

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
Jul 14, 2018 0
Adobe Community Professional ,
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

Likes

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
Reply
Loading...
Jul 15, 2018 1
New Here ,
Jul 19, 2018

Copy link to clipboard

Copied

Thank you your answer.

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

Likes

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
Reply
Loading...
Jul 19, 2018 0