LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default strange behaviour in Excel 2003 when importing XML

I have noticed a strange behaviour in the import of XML files.

If I have this XML file:
Code:
<?xml version="1.0" encoding="UTF-8" standalone="no" ?
<books
  <book
    <titleUbik</title
    <authorPhilip K. Dick</author
  </book

  <book
    <titleDune</title
    <authorFrank Herber</author
  </book
</books
When I open this file in Excel, it creates a row with the element names,
title and author, like this.

title author
Ubik Philip K. Dick
Dune Frank Herber

When I click on title our author I get the combo box tha allows me to sort
the elements. That's exactly what I need. But...

If my XML file has only one element like this:
Code:
<?xml version="1.0" encoding="UTF-8" standalone="no" ?
<books
  <book
    <titleUbik</title
    <authorPhilip K. Dick</author
  </book
</books
the file is not imported in the same way, the title and author entries are
missing, the sheet simply looks like this:

Ubik Philip K. Dick

I don't understand what the problem is. Can anyone suggest how to workaround
it so that it shows the title & author row all the time?

Thank you very much,
Marius Bancila
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
External Links on open and Excel 2003 Guardian Excel Discussion (Misc queries) 3 June 16th 05 12:25 AM
Help in Excel 2003 Charlie Rowe Excel Discussion (Misc queries) 0 June 13th 05 04:31 PM
Excel Range Value issue (Excel 97 Vs Excel 2003) Keeno Excel Discussion (Misc queries) 2 June 13th 05 02:01 PM
sharing/using/saving Excel 2002 files in Excel 2003 maze2009 Excel Discussion (Misc queries) 0 January 20th 05 07:27 PM
strange scrolling in Excel 2003 Ryan Excel Discussion (Misc queries) 1 December 16th 04 01:55 AM


All times are GMT +1. The time now is 07:17 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"