<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#336666">
<div class="moz-cite-prefix"><font face="Verdana">The method Alan
describes works *if* the following are true ..<br>
<br>
- you're doing a 1-to-1 conversion: FM file(s) to XML file(s).
If you're converting to DITA or some model where you're
converting each FM file to many XML files, this method doesn't
work well since the target file names are essentially unknown to
the default conversion process.<br>
<br>
- your model is OK with attributes named "Id" and "Idref" (cased
as shown). If your referencing attributes use different names or
casing, you'll need to run a script of some type to fix them up.<br>
<br>
Also .. if you have references that go between FM files, your
results may not be so stellar. I haven't done that in a while,
but I do recall this being particularly difficult and required
some extra scripting. One tip is to modify your cross-ref
formats so they include the target file name in plain text
(wrapped in brackets of some type so it can be located by your
post-processing script).<br>
<br>
<sales-pitch><br>
If you are converting to DITA, you may want to check out my
FM2DITA plugin. It's a collection of tools that make the entire
process (including the cross-ref to xref) much more workable.<br>
<br>
<a class="moz-txt-link-freetext" href="http://leximation.com/tools/info/fm2dita.php">http://leximation.com/tools/info/fm2dita.php</a><br>
</sales-pitch><br>
<br>
Cheers,<br>
<br>
...scott<br>
<br>
</font>
<pre class="moz-signature" cols="72">
</pre>
On 2/5/15 12:50 PM, Alan Houser wrote:<br>
</div>
<blockquote cite="mid:54D3D79E.1010307@groupwellesley.com"
type="cite">
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
<div class="moz-cite-prefix">FrameMaker will do this for you,
including generating ID values. The details are documented in
the Structured Application Developer's Guide.<br>
<br>
Basically, your conversion table should contain a rule for each
cross-reference format that may appear in the document. For
example: "X:FigureAndPage". If you generate or update a
conversion table from existing documents, you will get these
rules automatically. You should map these to your XML
cross-reference element.<br>
<br>
FrameMaker will generate matching IDREF and ID attributes on the
source and target.<br>
<br>
You have a bit more flexibility if you import your EDD before
running the conversion table. For example, you can
cross-reference a containing section, instead of a title.<br>
<br>
These are just the high points. Try it; it should work.<br>
<br>
-Alan<br>
----<br>
<pre class="moz-signature" cols="72">Alan Houser
Group Wellesley, Inc.
Consultant and Trainer, Technical Publishing
arh on Twitter
412-450-0532</pre>
On 2/5/15 2:32 PM, Robert Carel wrote:<br>
</div>
<blockquote
cite="mid:BLUPR0701MB755458AB205FD183B761356B73B0@BLUPR0701MB755.namprd07.prod.outlook.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<meta name="Generator" content="Microsoft Word 15 (filtered
medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]-->
<style><!--
/* Font Definitions */
@font-face
{font-family:Helvetica;
panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal">Does anyone have a sample conversion
table that converts FrameMaker cross references to XML? I
guess this include setting Id attribute values on the target
elements of the cross-reference to equal the content of an
associated title element (in place of FrameMaker markers)
and using this title element content in an attribute of the
xref element (the source of the cross-reference). Easier
said than done.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><b><span
style="font-family:"Helvetica",sans-serif;color:black">Robert
Carel</span></b><span
style="font-size:13.5pt;font-family:"Helvetica",sans-serif;color:black"><br>
</span><span
style="font-size:10.5pt;font-family:"Helvetica",sans-serif;color:#00A3DB">Technical
Publications Manager</span><span
style="font-size:13.5pt;font-family:"Helvetica",sans-serif;color:black"><br>
</span><span
style="font-size:10.0pt;font-family:"Helvetica",sans-serif;color:#666666">O:
925.659.3200 | M: 925.659.3267 | twitter:
@accelasoftware</span><span
style="font-size:13.5pt;font-family:"Helvetica",sans-serif;color:black"><br>
<br>
</span><a moz-do-not-send="true"
href="http://www.accela.com/"><span
style="font-size:13.5pt;font-family:"Helvetica",sans-serif;color:blue;text-decoration:none"><img
id="Picture_x0020_1"
src="cid:part1.01000404.00010306@leximation.com"
alt="http://www.accela.com/ext/logo_email.png"
border="0" height="75" width="314"></span></a><span
style="font-size:10.5pt;font-family:"Helvetica",sans-serif;color:#00A3DB"><o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p><br>
</p>
</div>
</blockquote>
<br>
</blockquote>
<br>
</body>
</html>