Re: xml and postgresql

Поиск
Список
Период
Сортировка
От Gwyneth Morrison
Тема Re: xml and postgresql
Дата
Msg-id 486E2D45.2090609@toadware.ca
обсуждение исходный текст
Ответ на xml and postgresql  (aravind chandu <avin_friends@yahoo.com>)
Ответы Re: xml and postgresql  ("William Leite Araújo" <william.bh@gmail.com>)
Список pgsql-general
aravind chandu wrote: <blockquote cite="mid:152688.69120.qm@web31408.mail.mud.yahoo.com" type="cite"><table border="0"
cellpadding="0"cellspacing="0"><tbody><tr><td style="font-family: inherit; font-style: inherit; font-variant: inherit;
font-weight:inherit; font-size: inherit; line-height: inherit; font-size-adjust: inherit; font-stretch: inherit;"
valign="top">Hifolks,<br /><br />              I need to load xml data in to database can you tell me they way how do I
importxml data into postgresql database.<br /><br /> lets dat this is the xml file<br /><br /><pre><bookstore>
 
<book category="CHILDREN"> <title>Harry Potter</title>  <author>J K. Rowling</author>
<year>2005</year> <price>29.99</price> 
 
</book>
<book category="WEB"> <title>Learning XML</title>  <author>Erik T. Ray</author>
<year>2003</year> <price>39.95</price> 
 
</book>
</bookstore>

so finally the table name should be bookstore and column names are category,title,
author,year,price and all the information in the xml file should be ported to the table 
can you please tell me how to do this its a bit confusing to me as i am just a beginner to 
this.

Thanks in advance,
Aravind.       </pre><br /><br /></td></tr></tbody></table><br /></blockquote> I have written a python program that may
helpyou.<br /><br /> It is part of a larger project I hope to post in a few days. <br /><br /> Or I could sent it to
you.<br/><br /> Gwyneth<br /> 

В списке pgsql-general по дате отправления:

Предыдущее
От: Gwyneth Morrison
Дата:
Сообщение: Re: Delete from Join
Следующее
От: Raymond O'Donnell
Дата:
Сообщение: Re: simple installation problem in windows system