JDBC and XML

Lars Marius Garshol larsga at ifi.uio.no
Tue Sep 15 14:13:26 BST 1998


(Please don't follow-up to both lists (xml-dev and XML-L) even though I
did here. I had to do it so people would see that this question has been
answered.)

* January Tsai
>
>Is there a JDBC driver for XML or something that works the same but named
differently?

XML is not a kind of relational database, so a JDBC driver for XML would not
make much sense. XML looks a bit like HTML, even though it does have something
in common with databases: the possibility store information in a structured
way.

XML does have "something that works the same but is named differently": SAX.
SAX is a common API for XML parsers and is supported by nearly all Java XML
parsers.

You can find it at:
<URL:http://www.megginson.com/SAX/>

There is also a higher-level API called DOM, which may also be suitable for
your purposes. You can find a list of DOM implementations at:

<URL:http://www.stud.ifi.uio.no/~larsga/linker/xmltools/by-standard.html#DOM>

I hope this helped you.
--Lars M.


xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)




More information about the Xml-dev mailing list