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
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
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.