15352 Help importing XML Data
Sign Up |  Live StatsLive Stats    Articles 37,335| Comments 177,301| Members 19,418, Newest Ssimran| Online 455
Home Contact
 (Forgotten?): 
    Sikhism
    For best SPN experience, use Firefox Internet Browser!


                                                                   Your Banner Here!    




Click Here to Register/Sign Up Daily Hukamnama Member Blogs Downloads Website Navigation Help Fonts Tags

Help importing XML Data

Our Donation Goal : Why Donate? : Donate Today! : Donate Anonymously (ਗੁਪਤ) : Our Family of Supporters
Goal this month: 500 USD, Received: 115 USD (23%)
Please Donate...
     
Related Topics...
Thread Thread Starter Forum Replies Last Post
Importing data from forms in pdf to an existing access DB tope12 Information Technology 0 28-Jul-2006 08:34 AM
Importing Data from Excel N. Propes Information Technology 2 28-Jul-2006 08:33 AM
importing data into Access 2003 DG Information Technology 4 28-Jul-2006 08:12 AM
Importing Data - Access 97 Bob Watson Information Technology 8 17-Nov-2005 18:02 PM
Maintain Autonumber when importing data DBG Information Technology 5 28-Oct-2005 18:00 PM


Tags
help, importing, xml, data
Reply Post New Topic In This Forum Stay Connected to Sikhism, Click Here to Register Now!
  #1 (permalink)  
Old 28-Jul-2006, 08:43 AM
Zen Masta's Avatar Zen Masta
Guest
 
Posts: n/a
   
   
Help importing XML Data

  Donate Today!   Email to Friend  Tell a Friend   Show Printable Version  Print   Contact sikhphilosophy.net Administraion for any Suggestions, Ideas, Feedback.  Feedback  

Register to Remove Advertisements
I have an XML file with product information. I want to import all of this
data into one table. When I tried to import though, it created a table for
each group of identifiers.

This makes sense but is obviously no use to me. As you can see in the case
of the identifier, there are 3 but there could be 4...
depth,width,height,weight.. Or more simply, as you can see
has 2 items within, when I import ProductIdentifier is
made into its own table with fields for whatever items it had, ie
ProductIDType and IDValue etc.

My ultimate goal is to somehow import/update this information regularly into
an existing products table which has a lot of this information but in
different fields or combined fields. ie, where the xml file has 3 measure
elements, my table has 2, one for the trimsize with combines
lenght/width/height and another one just for the weight.

I think if I had some wysiwyg app to draw/link fields from the XML to my
existing table I could probably figure this out. Does anyone know of such a
tool or anything I can use to help me with this import? It doesn't have to
be free but you know, that would be cool too

Here is one complete record from the xml file:



7555081
03

02
0842355081

10
BC
B305
<br /> <TitleType>01</TitleType><br /> <TitleText>The Complete Book of When and Where</TitleText><br /> <TitlePrefix>The</TitlePrefix><br /> <TitleWithoutPrefix>Complete Book of When and<br /> Where</TitleWithoutPrefix><br />

http://www.tyndalebooksellers.com/productpage.asp?isbn=0-8423-5508-1


1
A01
E. Michael Rusten
Rusten, E. Michael


2
A01
Sharon O. Rusten
Rusten, Sharon O.

560

33
GNRGSEREF

01

01
02
This popular collection of books not only provides key Bible
facts, character profiles, important places in history, and descriptive
timelines, but it makes learning enjoyable. <p><I>The Complete
Book of Who's Who</I> provides readers with a complete listing of
people in the Bible with descriptions of their lives and accomplishments.
<p><I>The Complete Book of When and Where</I> tells
intriguing accounts of 1,001 events in Christian history and their
significance. Includes a comprehensive timeline.

Tyndale House Publishers


18
02
<b>Understand quickly 1001 events that shaped our
world</b>
<p>
<i>The Complete Book of When and Where</i> focuses on 1001
events that shaped the religious consciousness of the world-specifically,
events in Jewish, Muslim, and Christian history.
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/information-technology/14069-help-importing-xml-data.html
<p>
It's a perfect reference tool for speakers and teachers.
<br>
Within minutes, you can understand the broad trends and major events of any
era of world history.
<p>
Entries give background and details surrounding events such as
<ul>
<li>1456, when Johannes Gutenberg first printed the 42-line Gutenberg
Bible, from the text of the Vulgate, Jerome's Latin translation of the Bible
from Hebrew and Greek.
<li>July 8, 1741, when Jonathan Edwards rocked New England with his
famous sermon "Sinners in the Hands of an Angry God."
<li>June 28, 1941, when World War I erupted following the
assassination of the Austro-Hungarian crown prince in Serbia.
</ul>
This popular reference includes
<ul>
<li>Feature stories about important events, giving greater depth and
background
<li>Events from Jewish, Christian, and Muslim history
<li>A timeline that offers readers a quick view of historical events
in relation to one another
</ul>
Learn about momentous events of the past that have shaped the world we live
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=14069
in today.

Tyndale House Publishers


01
Tyndale House Publishers

Carol Stream
US
04
20050209
2005

08
1.3600
lb


01
8.2500
in


02
5.5000
in


Tyndale House Publishers
630-668-8905
01
02
Y
20
27

01
14.97









Got anything to share on This Topic? Why not share your immediate thoughts/reaction with us! Login Now! or Sign Up Today! to share your views... Gurfateh!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 28-Jul-2006, 08:43 AM
Dirk Goldgar's Avatar Dirk Goldgar
Guest
 
Posts: n/a
   
   
Re: Help importing XML Data

  Donate Today!  
"Zen Masta" wrote in message
news:OlVNvsasGHA.4596@TK2MSFTNGP04.phx.gbl
> I have an XML file with product information. I want to import all of
> this
> data into one table. When I tried to import though, it created a
> table for
> each group of identifiers.
>
> This makes sense but is obviously no use to me. As you can see in the
> case
> of the identifier, there are 3 but there could be 4...
> depth,width,height,weight.. Or more simply, as you can see
> has 2 items within, when I import
> ProductIdentifier is
> made into its own table with fields for whatever items it had, ie
> ProductIDType and IDValue etc.
>
> My ultimate goal is to somehow import/update this information
> regularly into
> an existing products table which has a lot of this information but in
> different fields or combined fields. ie, where the xml file has 3
> measure
> elements, my table has 2, one for the trimsize with combines
> lenght/width/height and another one just for the weight.
>
> I think if I had some wysiwyg app to draw/link fields from the XML to
> my
> existing table I could probably figure this out. Does anyone know of
> such a
> tool or anything I can use to help me with this import? It doesn't
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=14069
> have to
> be free but you know, that would be cool too
>


Yes, importing complex XML using the standard Access import feature is
not much use, because it loses the relationships. I had to do this
recently and I wrote a function that used the MS XML parser (msxml.dll)
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=14069
to parse the XML, and my won code to load the results into the tables I
had previously devised. At the time, I looked around for some simple
WYSIWYG tool to do it, and while I found some advertised, they either
didn't meet my needs or were too expensive -- I can't really remember,
but I didn't use any of them. Have a look yourself, by all means.
Maybe there's something better now.

--
Dirk Goldgar, MS Access MVP
www.datagnostics.com

(please reply to the newsgroup)


Reply With Quote
   Click Here to Donate Now!

Support Us!
Become a Promoter!
Gurfateh ji, you can become a SPN Promoter by Donating as little as $10 each month. With limited resources & high operational costs, your donations make it possible for us to deliver a quality website and spread the teachings of the Sri Guru Granth Sahib Ji, to serve & uplift humanity. Every contribution counts. Donate Generously. Gurfateh!
ReplyPost New Topic In This Forum Stay Connected to Sikhism, Click Here to Register Now!

Bookmarks


(View-All Members who have read this thread : 0
There are no names to display.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Tools Search
Search:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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

» Active Discussions
How does Sikhi help you...
Today 14:14 PM
35 Replies, 1,008 Views
Request for assistance...
Today 09:34 AM
10 Replies, 133 Views
Occultism - Rejection in...
Today 08:44 AM
62 Replies, 2,663 Views
‘Bigoted’ Facebook...
Today 08:32 AM
1 Replies, 55 Views
Australia mulls allowing...
Today 07:30 AM
0 Replies, 43 Views
Woolwich Killing: The...
Today 06:41 AM
3 Replies, 74 Views
Panjabi
By Ishna
Today 04:40 AM
16 Replies, 314 Views
Rozana Reports (ਪੰਜਾਬੀ...
Today 03:09 AM
316 Replies, 7,650 Views
Sikh Spokesman (ਪੰਜਾਬੀ...
Today 03:00 AM
179 Replies, 4,550 Views
Transgenderism ... Right...
By Kaylee
Today 00:33 AM
25 Replies, 1,274 Views
Losing My Religion: Why...
Today 00:00 AM
14 Replies, 396 Views
Kirtan
Yesterday 21:24 PM
0 Replies, 42 Views
Keeping Amrit Vela
Yesterday 16:49 PM
12 Replies, 941 Views
Do you believe in...
Yesterday 15:08 PM
196 Replies, 4,118 Views
Black Sikhs?
Yesterday 06:33 AM
20 Replies, 5,922 Views
» Books You Should Read...
Powered by vBadvanced CMPS v3.2.3
All times are GMT +6.5. The time now is 14:40 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
Search Engine Optimization by vBSEO 3.6.0 PL2 Copyright © 2004-12, All Rights Reserved. Sikh Philosophy Network


Page generated in 0.48602 seconds with 32 queries
0