<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#336666">
<div class="moz-cite-prefix">Hi Rebecca...<br>
<br>
I'm not aware of a way to do this via EDD .. I think scripting or
a plugin is your best bet. I do have a plugin called
StructureSnippets that (among other things) will let you wrap a
specified element/attribute in a predefined structure (like a
table). I'm not sure how you'd use it to wrap two cells though ..
perhaps multiple passes over the content? You could also use
FrameSLT from West Street Consulting, which (also among many other
things) lets you wrap elements/attributes in other elements. Both
of these plugins can be run programmatically. However, your best
bet may be to write some script that does exactly what you want.<br>
<br>
Remember that however you solve this, you should be able to add
the calling script into the DITA-FMx book-build process so that
the processing is done as part of the map to book creation
process.<br>
<br>
Hmm .. you *could* do this via XSLT. In theory you should be able
to add a template to the bookmap2fmbook.xsl file, which is run as
part of the default DITA-FMx book-build process. Depending on the
programming skills at your disposal, either ExtendScript or XSLT
should be able to get you where you're trying to go.<br>
<br>
Cheers,<br>
<br>
...scott<br>
<br>
<pre class="moz-signature" cols="72">Scott Prentice
Leximation, Inc.
<a class="moz-txt-link-abbreviated" href="http://www.leximation.com">www.leximation.com</a>
+1.415.485.1892
</pre>
On 10/20/14 10:15 PM, Rebecca Officer wrote:<br>
</div>
<blockquote
cite="mid:96c6c284adf144708229da3df1b7095c@svr-chch-ex1.atlnz.lc"
type="cite">
<pre wrap="">Hi everyone
When we publish PDFs from our DITA source files, we want to put our tasks in tables.
I think that means we want to change the steps element into a 2-column table, such that every step becomes a row. Text from the cmd element would go into the first column, and text from the info element would go into the second column.
Is it possible to do this through the EDD (or the read/write rules)? Or is there a plug-in that'd do it? I've poked at the EDD syntax but I couldn't see anything likely. If not, we'll do it through a script, but I wanted to check with people here before going down that path.
We're publishing through DITA-FMx, in case that makes a difference.
Thanks very much
Rebecca
</pre>
</blockquote>
<br>
</body>
</html>