cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Henning von Bargen <H.vonBar...@Triestram-Partner.de>
Subject Maybe off-topic: How to parse XML in Java Applets?
Date Thu, 18 May 2000 14:44:19 GMT
I have XML generated on the web server (actually not by apache, but oracle
pl/sql)
and want to use this XML in a Java applet on the client's browser.

FYI: The idea is to use XML instead of JDBC.
Result sets are generated by stored procedures in the database
and rendered as XML. The client only gets the resulting XML document
and needs no direct access to the database 
(with the effect that the database can reside behind a firewall and the
stored procedures
can do additional security checks and so on).

My problem is now how to read the XML document in from the uri, parse it and
generate
Java objects from it.
Of course I could use Xerces in principle, but it seems a bit oversized for
my task-
the jar is about 1.6 MB or so.
Has anyone already used JDOM for this?
I downloaded today, but it does not work with JDK 1.1.x
and there are no precompiled JAR files available, so I don't know how large
these will be.
Is there any real lightweight implementation?
I only want to parse simple XML documents, no validation is needed.
Is a simple solution at hand?

Henning






Mime
View raw message