Woodsy
Thu Aug 03 15:25:01 CDT 2006
Thanks for the reply. I guess I'm still confused about how to actually go
about making this happen. Would I use traditional XML tagging, for example,
<?xml version="1.0" ?>
<report>
<initative>INITATIVE1</initiative>
<s1>text</s1>
<s2>text</s2>
<s3>text</s3>
<s4>text</s4>
</report>
And then write a transform, or some kind of tool that would query each
report for 'initiative' and 's1' and so on, and then display them in turn?
I'm very new to the XML/WordML language.
"Cindy M -WordMVP-" wrote:
> Hi =?Utf-8?B?V29vZHN5?=,
>
> > I have several reports that are arranged into four sections, (s1, s2, s3,
> > s4). I am looking for a way to be able to create a document that pulls the
> > text/charts from each section on each report. I was thinking that XML smart
> > tagging would be what I would need to do, but I don't know how to create an
> > application or a "transform" that would pull the data. Ideally, I would want
> > to be able to create an ad hoc document that would pull and arrange all the
> > s1 sections from each report, and arrange them into one fluid report; or be
> > able to pull data from s1 and s3 and do the same thing.
> >
> Assuming you have Word 2003, and you'd save the documents as XML, then yes, this
> should be a valid approach. I should warn you, however, that in WordML a
> "section" doesn't surround or contain the text. The section break information is
> stored in the last paragraph mark of a section. So you need to be careful to
> pick up everything up to the w:sectPr element PLUS the w:p in which it is
> contained.
>
> There is a wx:sect element that denotes a section, however, it might also appear
> under other circumstances.
>
> Cindy Meister
> INTER-Solutions, Switzerland
>
http://homepage.swissonline.ch/cindymeister (last update Jun 17 2005)
>
http://www.word.mvps.org
>
> This reply is posted in the Newsgroup; please post any follow question or reply
> in the newsgroup and not by e-mail :-)
>
>