|
|
Rank: Newbie
Joined: 4/20/2012 Posts: 1 Location: London
|
Apologies if I'm in the wrong place here - very new to XML spy. I have an xml file and want to convert to flat structure. Have tried exporting from XML spy to Access but getting 64 bit problems. Then tried direct import from Access and file imports ok but table only returns one row - the last record in my XML file. Any idea how to get all records? I really want to have a table with just 'Page url' and 'name confirmed'. Below is sample from the xml file and snapshot of output table in access. Thanks in advance if anyone can help.
Code:<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE Response SYSTEM "G:\Users\sb42kg\Species Conservation Assessment Officer\Projects\GSPC\GSPC target 2\1997_red_list\1997_red_list.dtd"> <Response xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <PageID>31085322</PageID> <ItemID>97383</ItemID> <PageUrl>http://www.biodiversitylibrary.org/page/31085322</PageUrl> <ThumbnailUrl>http://www.biodiversitylibrary.org/pagethumb/31085322</ThumbnailUrl> <FullSizeImageUrl>http://www.biodiversitylibrary.org/pageimage/31085322</FullSizeImageUrl> <OcrUrl>http://www.biodiversitylibrary.org/pageocr/31085322</OcrUrl> <PageTypes> <PageType> <PageTypeName>Text</PageTypeName> </PageType> </PageTypes> <PageNumbers> <PageNumber> <Prefix>Page</Prefix> <Number>1</Number> </PageNumber> </PageNumbers> <Names> <Name> <NameBankID>446539</NameBankID> <NameFound>Isoetaceae</NameFound> [color=red][b]<NameConfirmed>Isoetaceae</NameConfirmed>[/b][/color] </Name> <Name> <NameBankID>2644401</NameBankID> <NameFound>Isoetes</NameFound> <NameConfirmed>Isoetes</NameConfirmed>
snuroo attached the following image(s):

|
|
Rank: Newbie
Joined: 10/28/2002 Posts: 1,283 Location: AT
|
Hi,
a) I would suggest using Mapforce to map the xml to a database.
b) I cannot see enough of your xml file. I would suggest attaching it here.
|
|
Rank: Guest
Joined: 12/13/2005 Posts: 0
|
island wrote:Hi,
a) I would suggest using Mapforce to map the xml to a database.
b) I cannot see enough of your xml file. I would suggest attaching it here.
Thank you island, useful tips!
|
|
|
guest |