<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
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]-->
</head>
<body lang="EN-NZ" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Hi Wim<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Thanks very much! I’m impressed.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">I’ll have to think about the restriction of each step having exactly one cmd and one info element. That could be good for us – forcing us to keep our procedures
 simple.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Cheers<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Rebecca<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Wim Hooghwinkel - idtp [mailto:wim@idtp.eu]
<br>
<b>Sent:</b> Wednesday, 22 October 2014 9:40 a.m.<br>
<b>To:</b> Rebecca Officer<br>
<b>Cc:</b> framers@lists.frameusers.com<br>
<b>Subject:</b> Re: wrapping DITA steps in tables<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Hi Rebecca,<o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">interesting question. Theoretically it should be possible to 'translate’ the steps element into a FrameMaker table, for presentation, just like we do with the properties element. <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">It would put some heavy constraints on your content however, as each step must have exactly one cmd and one info element. <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">You’ll need to adapt the read/write rules and the EDD. I just did a test and it seems to work. Look at the constructs for the property element in the reference rules and EDD to see how you can set it up. This what I’ve got in the rules
 file:<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<div>
<p class="MsoNormal">  /* steps */<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">element "steps" {<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">  is fm table element;<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">  fm property columns value is "2";<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">  attribute "props" is fm property column widths;<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">  }<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">fm element "fm-stepsbody" unwrap;<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">element "step" {<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">  is fm table row element;<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">  fm property row type value is "Body";<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">  }<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">element "cmd" is fm table cell element;<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">element "info" is fm table cell element;<o:p></o:p></p>
</div>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">(note: I used default FM DITA, not DITA-fmx yet)(note: I left out the table heading ….)<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">To make it work in the EDD I made <steps> to be Element (Table), where general rule is fm-stepsbody.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Then <fm-stepsbody> has step+ and <step> (Table Row) has cmd, info.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">cmd and info are both Table Cell.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Actually, in a task topic this works like a charm and is a perfect template to make 'clean' tasks. <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Using (cmd, info) as the general rule for step makes inserting and adding steps very easy.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">In the WYSIWYG view I can see a table, while in the XML view I can see the correct steps xml code.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Thanks for the suggestion ….<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal" style="text-indent:-59.25pt">Then <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Vriendelijke groet / Kind regards,<o:p></o:p></p>
</div>
<div>
<div>
<div>
<div>
<p class="MsoNormal"><span style="color:black"> <br>
Wim Hooghwinkel<br>
<br>
November 11-13 <a href="http://conferences.tekom.de/tcworld14/">TcWorld 2014</a> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="color:black">Closing the loop with <a href="http://www.fontoxml.com">FontoXML</a><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="color:black">DITA content management with <a href="http://www.ditatoo.com">DITAToo</a><br>
<br>
tel. +31652036811<br>
Skype wimhooghwinkel<br>
Twitter @idtp @ien2013<br>
<a href="mailto:info@idtp.eu">info@idtp.eu</a> <br>
<a href="http://www.idtp.eu">www.idtp.eu</a><o:p></o:p></span></p>
</div>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
</body>
</html>