TechWhirl (TECHWR-L) is a resource for technical writing and technical communications professionals of all experience levels and in all industries to share their experiences and acquire information.
For two decades, technical communicators have turned to TechWhirl to ask and answer questions about the always-changing world of technical communications, such as tools, skills, career paths, methodologies, and emerging industries. The TechWhirl Archives and magazine, created for, by and about technical writers, offer a wealth of knowledge to everyone with an interest in any aspect of technical communications.
Subject:Re: The dream of auto-updates From:"Chuck Martin" <cm -at- writeforyou -dot- com> To:"TECHWR-L" <techwr-l -at- lists -dot- raycomm -dot- com> Date:Thu, 18 Mar 2004 10:24:07 -0800
<technical -at- theverbalist -dot- com> wrote in message news:232720 -at- techwr-l -dot- -dot- -dot-
> What I've got is a looooong document that shows the names of about 250
> business objects (for example, DogContactMethod) and then the elements of
> that transaction (<name>, <leashrattle>,<"who wants a cookie?">). Now the
name of the business object stays the
> same from release to release, but the elements associated with it are
> often added to, subtracted from, and otherwise changed (add <whistle> to
the list
> of elements, delete <name>). Currently, the method for keeping those
changes
> updated are for my poor SME to spend hours cuttin' and pastin' relevant
> info from the DTD into a Word doc and sending them on to me to include in
> the doc. She'd like to change the way things are done, and so would
> I--poor girl works too hard as it is.
>
> What I can get, that might be useful, is a doc from the database guy that
> lists the business object name, and the current elements associated with
> it. However, the doc is generated from the database all in Normal style.
>
> Is there any way of setting up ref fields, or something else, in my doc
> to, for example, find DogContactMethod in the generated doc, and bring
> back all the elements listed underneath it? I'm working with Word 2000,
> and I've got Access, but not a clue how to use it (always like to learn
> new toys, though).
While there are probably a number of approaches, one you might consider (and
I'm not expert at it, although I've done some dabbling) is to use Word
variables. In the scenario you describe, if the doc you get from the
database guy is consistently formatted (in terms of how the data is
organized, not what styles are applied), you (or someone) should be able to
write a VBA program that reads the content from that file, parses it, then
uses that information to update the document variables.
Word's variable functions probably aren't as robust as FrameMaker (nor as
often used), but they are there, and you can define all the variables you
need for a document in addition to the standard ones that exist for every
document.
--
--
Chuck Martin
User Assistance & Experience Engineer
twriter "at" sonic "dot" net www.writeforyou.com
"I see in your eyes the same fear that would take the heart of me. The day
may come when the courage of Men fail, when we forsake our friends and
break all bonds of fellowship. But it is not this day! This day, we fight!"
- Aragorn
"All you have to decide is what to do with the time that is given you."
- Gandalf
ROBOHELP X5 - ALL NEW VERSION. Now with Word 2003 support, Content
Management, Multi-Author support, PDF and XML support and much more!
Now is the best time to buy - special end of month promos, including:
$100 mail-in rebate; Free online orientation on content management
functionality; Huge savings on support and future product releases;
PLUS Great discounts on RoboHelp training. OFFER EXPIRES March 31!
Call 1-800-358-9370 or visit: http://www.ehelp.com/techwr-l
---
You are currently subscribed to techwr-l as:
archiver -at- techwr-l -dot- com
To unsubscribe send a blank email to leave-techwr-l-obscured -at- lists -dot- raycomm -dot- com
Send administrative questions to ejray -at- raycomm -dot- com -dot- Visit http://www.raycomm.com/techwhirl/ for more resources and info.