Re: Viewing and Parsing XML files
- From: "Bob Buckland ?:-\)" <75214.226(At Beautiful Downtown)compuserve.com>
- Date: Wed, 4 Jun 2008 18:51:45 -0700
Hi Hafeez,
Generally, the ID= attribute wouldn't appear. In Word 2003 the capabilities for XML documents vary. Full support of external
Schemas/XSLT is provided in standalone Word and Word in the Professional Edition. You can defined a Schema and attach it to the
XML pane using the dialog accessed under
Tools=>Templates and Addins (Alt, T, I).
The XML Structure Task Pane (View=>TaskPane) will let you navigate the structure of the record content.
If you want to work on the raw XML data you can use
Tools=>Options=>General
and turn on
[x] Confirm Conversions at Open
then when you open the XML file choose Text file rather than XML document as the file type, but opening the .XML file in an XML
Editor will usually be easier to work with.
================
<<"Hafeez Esmail" <HafeezEsmail@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:3F2C2E76-92B7-4483-A115-BCC276D6F7EB@xxxxxxxxxxxxxxxx
I'm using Word 2003.
My XML files are defined as follows:
Record
AccountInfo
TransactionInfo
ProductInfo
There are multiple sub-tags, and sub-sub-tags within the ones I've listed,
but let's ignore them for the time being.
1) How do I open the document in Word and show the tags as they would
appear in Notepad? Some of the information in the XML file is not showing
because it's hidden in the tag name. For example...<Record id="1"> is what
appears in NotePad, but only a Tag Named "Record" appears in Word.
2) Is there a quick way for me to Isolate all of the details associated with
(for example) Record numbers 3, 9, 14, and 45, and place that information
(copying the exact same struture) in a new file? >>
--
Please let us know if this has helped,
Bob Buckland ?:-)
MS Office System Products MVP
>>*Courtesy is not expensive and can pay big dividends<<
LINKS
A. Specific newsgroup/discussion group mentioned in this message:
news://msnews.microsoft.com/microsoft.public.office.xml
or via browser:
http://microsoft.com/communities/newsgroups/en-us/?dg=microsoft.public.office.xml
B. MS Office Community discussion/newsgroups via Web Browser
http://microsoft.com/office/community/en-us/default.mspx
or
Microsoft hosted newsgroups via Outlook Express/newsreader
news://msnews.microsoft.com
.
- Follow-Ups:
- Re: Viewing and Parsing XML files
- From: Hafeez Esmail
- Re: Viewing and Parsing XML files
- Prev by Date: Re: How to send document so recipient NEVER sees markups?
- Next by Date: Re: Conditional referencing/If values
- Previous by thread: Re: Can't open Office 2004 documents on Office 2003 SP3
- Next by thread: Re: Viewing and Parsing XML files
- Index(es):
Relevant Pages
|