Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > XML > Tool to insert from xslt to db

Reply
Thread Tools

Tool to insert from xslt to db

 
 
Martin Honnen
Guest
Posts: n/a
 
      11-26-2004


kk wrote:

> I have an xml file and write an xslt. Now I want to insert related elements
> from xslt to db directly for various data types. How can I do? Is there any
> existing tool for this?


I think Saxon from http://www.saxonica.com/ has an SQL extension, it for
instance documents an insert extension here:
http://www.saxonica.com/documentatio...on/insert.html
so you maybe able to use Saxon to solve that but I have never used that
extension myself.


--

Martin Honnen
http://JavaScript.FAQTs.com/
 
Reply With Quote
 
 
 
 
kk
Guest
Posts: n/a
 
      11-26-2004
I have an xml file and write an xslt. Now I want to insert related elements
from xslt to db directly for various data types. How can I do? Is there any
existing tool for this? Thanks!


 
Reply With Quote
 
 
 
 
John Fereira
Guest
Posts: n/a
 
      11-26-2004
"kk" <> wrote in news::

> I have an xml file and write an xslt. Now I want to insert related
> elements from xslt to db directly for various data types. How can I do?
> Is there any existing tool for this? Thanks!


The uPortal project (www.uportal.org) uses a tool called DbLoader which
reads a tables.xml for creating the database tables and data.xml for
inserting records. It's written in java and has several hooks into the
uPortal code (basically for logging and obtaining database connections) but
you could probably learn something from it. If I recall there was also an
open source product called Torque that did database loads from xml files.
The jakarta Ant build tool also has a "sql" task that will create and
populate a database from an xml file.

 
Reply With Quote
 
Daniel Parker
Guest
Posts: n/a
 
      11-26-2004
"kk" <> wrote in message
news:...
> I have an xml file and write an xslt. Now I want to insert related

elements
> from xslt to db directly for various data types. How can I do? Is there

any
> existing tool for this? Thanks!
>

Check the Examples link in http://servingxml.sourceforge.net/.

Regards,
Daniel Parker


 
Reply With Quote
 
 
 
Reply

Thread Tools

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 Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Including XSLT/XML document within a XSLT document dar_imiro@hotmail.com XML 4 12-13-2005 02:26 AM
Multiple XSLT Transforms using a Controller XSLT sneill@mxlogic.com XML 2 10-19-2005 11:00 AM
ANN: New low-cost XML Editor, XSLT Editor, XSLT Debugger, DTD/Schema Editor Stylus Studio Java 0 08-03-2004 03:53 PM
xslt alone or xslt/java for static site? ted XML 1 01-26-2004 10:41 AM
[XSLT]Passing values from Javascript to a XSLT variable Benjamin Hillsley XML 3 09-25-2003 04:50 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57