Hi Scott, Thanks for the reply. I am using FM 2019 with the default application. I changed the <fm-xref> elements to <xref> before exporting and I get valid XML. I am still not sure why the r/w rules drop <fm-xref> instead of converting them to automatically to <xref>.
Rick -----Original Message----- From: Framers <framers-bounces+rick=rickquatro....@lists.frameusers.com> On Behalf Of Scott Prentice Sent: Monday, December 10, 2018 12:09 PM To: framers@lists.frameusers.com Subject: Re: [Framers] FrameMaker to DITA xrefs Hi Rick... Are you using the default FM DITA structure apps? Does your app definition include the reference to the default import/export client? On export, that client should create a proper <xref> from the <fm-xref> (hence, the drop rule). If you remove this client from the app, you should get <fm-xref> elements in the XML .. but that may cause other problems. If you're using XSLT on export, it's possible that may be interfering with the expected export process .. you might try it without the XSLT first to make sure the basic processing is working. Oh .. and what version of FM are you using? ...scott On 12/10/18 8:34 AM, Rick Quatro wrote: > Hi All, > > I am structuring some FrameMaker content to DITA and trying to save an > XML file. Initially, my <fm-xref> elements were getting dropped until > I discovered this R/W rule: > > fm element "fm-xref" drop; > > I replaced it with this: > > element "xref" is fm cross-reference element "fm-xref"; > > Now I get the <xref> elements, but they are invalid because they look > like > this: > > <xref format="FigureCaption" xtrf="FigureCaption" idref="i765173"> > > The message I get at the FrameMaker console is this: > > Error at line 768, char 54, Message: expected end of tag 'xref' > > I am content with getting <fm-xref> elements in my output because I am > transforming the files with XSLT anyway, but how do I ensure that > these tags are properly closed? Any help would be appreciated. > > Rick > > Rick Quatro > Carmen Publishing Inc. > r...@frameexpert.com > 585-729-6746 > www.frameexpert.com/store/ > > Save on energy at quatro.mystream.com > > > > _______________________________________________ > > This message is from the Framers mailing list > > Send messages to framers@lists.frameusers.com Visit the list's > homepage at http://www.frameusers.com Archives located at > http://www.mail-archive.com/framers%40lists.frameusers.com/ > Subscribe and unsubscribe at > http://lists.frameusers.com/listinfo.cgi/framers-frameusers.com > Send administrative questions to listad...@frameusers.com > _______________________________________________ This message is from the Framers mailing list Send messages to framers@lists.frameusers.com Visit the list's homepage at http://www.frameusers.com Archives located at http://www.mail-archive.com/framers%40lists.frameusers.com/ Subscribe and unsubscribe at http://lists.frameusers.com/listinfo.cgi/framers-frameusers.com Send administrative questions to listad...@frameusers.com _______________________________________________ This message is from the Framers mailing list Send messages to framers@lists.frameusers.com Visit the list's homepage at http://www.frameusers.com Archives located at http://www.mail-archive.com/framers%40lists.frameusers.com/ Subscribe and unsubscribe at http://lists.frameusers.com/listinfo.cgi/framers-frameusers.com Send administrative questions to listad...@frameusers.com