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: Semantic markup for NUANCED tabular data From:Mailing List <mlist -at- ca -dot- safenet-inc -dot- com> To:"TECHWR-L" <techwr-l -at- lists -dot- raycomm -dot- com> Date:Fri, 21 May 2004 15:15:48 -0400
Bill Lawrence
[...]
> Suppose I want to render some of the table objects in another
> way, such
> as the answer components in a Q&A structure within a FAQ. I can write
> an XSLT script to find my table in an XML document (or "instance" as
> it's often called). I can find the table either by it's
> parent/child/sibling relationship to something else (which I can
> manipulate via XPATH), or through metadata (such as an ID attribute)
> within the table. Once I find the table, I can again use XPATH or
> metadata to locate the data I'm looking for and assemble an
> entirely new
> XML structure using that same data. The new structure, because it's
> dynamically generated from the old, updates automatically
> when I update
> the data in the table. So if I change the table, the next
> time I run my
> transformation script the table is updated.
> Now let's turn it around. Suppose I want to build a table from other
> things, such as data contained in other objects within other XML
> instances. It's really just the reverse of the same sort of script.
> Because the documentation is really an XML database, I can find and
> reuse data in any way I choose.
> Does this answer your question?
Almost.
If I knew, in advance, that certain data was *likely* to be
needed for output in tabular format, in addition to other
outputs that you suggested, would/should that influence how
I create/input/markup in the first place? Or would it be
more the case that I'd rely on CSS or XSLT or whatever to
do what I desired later on?
In other words, how true is it that the person creating the
data doesn't need to know or care how the person displaying
the data will want to do it? Or, is it a general rule to
lean more toward building the smarts into the data/metadata,
or to wait for the output stage?
SEE THE ALL NEW ROBOHELP X5 IN ACTION: RoboHelp X5 is a giant leap forward
in Help authoring technology, featuring Word 2003 support, Content
Management, Multi-Author support, PDF and XML support and much more! http://www.macromedia.com/go/techwrldemo
>From a single set of Word documents, create online Help and printed
documentation with ComponentOne Doc-To-Help 7 Professional, a new yearly
subscription service offering free updates and upgrades, support, and more. http://www.doctohelp.com
---
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.