Programatically extract selected data (and structure)

H

Hafeez Esmail

Perhaps I'm in the wrong newsgroup...but hopefully someone can instruct me.
I have an XML file with the overall hierarchy looking like:
Record
AccountInfo
TransactionInfo
ProductInfo
SellerInfo

The record tag looks like this: <Record id="37">.
All Other tags are normal: <TagName> --Tag Data-- </TagName>

I'd like to write macro that reads a text file containg "record id numbers"
(e.g.
3, 9, 14, and 45) and copies the structure and data from the XML file
described above, to a new XML file.
I'm ok with reading and parsing text files, but it's the XML file that's
giving me trouble.
Does Word 2003 provide any methods/class/tools to help me with XML files?
 
C

Cindy M.

Posted an answer to a similar question in another group.

Please follow up there (at least at first) to avoid
duplication of effort.

Cindy Meister
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top