Re: importing XML to FrameMaker

Subject: Re: importing XML to FrameMaker
From: Stuart Burnfield <slb -at- westnet -dot- com -dot- au>
To: techwr-l -at- lists -dot- techwr-l -dot- com
Date: Wed, 19 Sep 2007 11:23:18 +0800

Hi Brooks -

Have a look at MML (Maker Markup Language). The manual for it is in
OnlineManauals/MML_Reference.pdf under the FrameMaker directory.

You can import a MML text file into an empty Frame doc. Each line of
text in the file is wrapped in a tag, and each tag is converted to a
corresponding paragraph style in the Frame doc.

For example you might strip out the individual attributes in the XML
file to look like this:

<msgid>00099</msgid>
<msgtext>A bad thing happened.</msgtext>
<msgid>00100</msgid>
<msgtext>Intermittent problem between chair and keyboard.</msgtext>

In the Frame doc these would be imported as para styles named msgid and
msgtext. You would then select all these paragraphs and use Convert
Paragraphs to Table.

It's a shame that you can't use MML to define tables directly--that way
you could have a single script to extract the messages from the XML file
and create the Frame doc containing the corresponding tables. At least
this way lets you automate most of the process.

Stuart

____________________________________________________________

Can anyone recommend an automated method that will:

1. Import specific attributes from XML files to FrameMaker.
2. Dynamically build tables in FrameMaker for the imported content.
3. Place the imported attributes into individual rows in the
FrameMaker tables.

I've been asked to document the individual messages in a
software messaging system. Message description content,
currently stored as attributes in XML files that are
maintained by SW development, needs to be imported into
FrameMaker and placed into tables. One table for each message.

Because the messaging system contains hundreds of messages,
I'm looking for an automated solution to import the attributes
from the XML files and build FrameMaker tables as 'homes' for
the imported content.

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Create HTML or Microsoft Word content and convert to Help file formats or
printed documentation. Features include support for Windows Vista & 2007
Microsoft Office, team authoring, plus more.
http://www.DocToHelp.com/TechwrlList

True single source, conditional content, PDF export, modular help.
Help & Manual is the most powerful authoring tool for technical
documentation. Boost your productivity! http://www.helpandmanual.com

---
You are currently subscribed to TECHWR-L as archive -at- web -dot- techwr-l -dot- com -dot-

To unsubscribe send a blank email to
techwr-l-unsubscribe -at- lists -dot- techwr-l -dot- com
or visit http://lists.techwr-l.com/mailman/options/techwr-l/archive%40web.techwr-l.com


To subscribe, send a blank email to techwr-l-join -at- lists -dot- techwr-l -dot- com

Send administrative questions to admin -at- techwr-l -dot- com -dot- Visit
http://www.techwr-l.com/ for more resources and info.


Previous by Author: Re: 'Step Up to Leader' Post > Tangential Question
Next by Author: Re: Employer's Test, was Technical Writer Certification
Previous by Thread: importing XML to FrameMaker
Next by Thread: Re: Knowledge is manufactured?


What this post helpful? Share it with friends and colleagues:


Sponsored Ads