Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default group imported xml data according to keys

i have a dataset exported to xml from a windows application that i'd like to
import into excel 2007. i can import the xml file ok, but my "child" tables
don't import in with their associated "parent" row.

to use a simplified example, suppose that i have a parent table of "parent":

id | name
-----------
01 | ann
02 | ben
03 | carol


i have several other tables that reference the people id column in a
many-to-one relationship, one of which could be "kids":
id | pid | name
--------------
01 | 01 | zach
02 | 01 | yvonne
03 | 01 | xyver
04 | 03 | william

i'm currently getting an import that looks like this.
ann
ben
carol
zach
yvonne
xyver
william


what i would like excel to do is display this information with the child
tables near the parent row that they're associated with, such as (hopefully
this is readable):
parent | kid
ann zach
yvonne
xyver
ben
carol william


is this possible? i have control over the xml from the windows application,
so that can be changed if needed. the data (but not the schema) is
constantly changing, so i can't nail any number of "parents" or "children"
down.

any help is greatly appreciated.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default group imported xml data according to keys

attempt #2 on the "is this possible" example. "." denotes nothing and is
used for spacing purposes.

parent | kid
ann ... | zach
.......... | yvonne
.......... | xyver
ben
carol . | william
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default group imported xml data according to keys

i've experimented with different xml schemas, but if they're the answer to my
question, i haven't found out how. does anyone have any ideas on how i might
be able to format my data with the child rows grouped with the parent row?
Reply
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
Imported data Help Excel Discussion (Misc queries) 1 February 29th 08 12:44 AM
Imported data buzz Excel Worksheet Functions 2 October 17th 07 11:51 PM
DB4 imported data Sasha[_2_] Excel Discussion (Misc queries) 3 August 17th 07 10:32 AM
Copy Data from One Group of Cells to Another Group Alan Auerbach Charts and Charting in Excel 2 May 27th 07 04:12 PM
"Data Group and Outline Group" feature Limited to 8 levels MarekMG Excel Discussion (Misc queries) 3 May 25th 07 06:12 PM


All times are GMT +1. The time now is 09:24 PM.

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"