Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / February 2008

Tip: Looking for answers? Try searching our database.

Importing xml file to excel

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
fiefie.niles@gmail.com - 08 Feb 2008 02:41 GMT
When I import an xml file to excel 2003 or 2007, they both asked the
following questions:
1. the specified xml source does not refer to a schema. Excel will
create a schema based on the xml source data. I click OK
2. where do you want to put the data ? I select the default, which is
"XML list in existing worksheet R1C1" and click ok.

And the xml file is imported to excel 2003 and 2007 fine.
For example:
the following is in the xml file:
<XML Index="1">
<Ticket>111</Ticket>
<Name>Doe, Joe</Name>
</xml>
<XML Index="2">
<Ticket>222</Ticket>
<Name>Smith, Jane</Name>
</xml>
After importing it to the excel 2003 or 2007, with columns "Index",
"Ticket" and "Name" and 2 rows of data.

But, when I tried to import the xml file to excel 2002, it puts all
the info in 1 column and the data looks still has the words
<Ticket>111</Ticket>,  <Name>Doe, Joe</Name>, etc.
In excel 2002, when importing, it did not prompt me about the schema
(in 2003 and 2007 it prompts me with "the specified xml source does
not refer to a schema. Excel will create a schema based on the xml
source data.).
How can I import the xml file into excel 2002 ?

Thank you.
Jim Rech - 08 Feb 2008 14:01 GMT
You might make sure you have the latest patches.  When I imported the file
into Excel 2002 SP3 it did behave differently than Excel 2003 and 2007 (no
prompts) but the data did come in on one line.

Signature

Jim

| When I import an xml file to excel 2003 or 2007, they both asked the
| following questions:
[quoted text clipped - 27 lines]
|
| Thank you.
fniles - 08 Feb 2008 14:42 GMT
Thank you.
>but the data did come in on one line.
So, it's not working in excel 2002 even on sp3 (because the data are all in
1 line instead of creating columns for each element) ?

> You might make sure you have the latest patches.  When I imported the file
> into Excel 2002 SP3 it did behave differently than Excel 2003 and 2007 (no
[quoted text clipped - 31 lines]
> |
> | Thank you.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.