OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   RE: [xml-dev] Oracle and XML

[ Lists Home | Date Index | Thread Index ]

>Has any one knew how to get XML from an Oracle database table?  

Try (a) XSU (XML SQL Utility) [1] for Java getXML, or (b) XSQL [2].

If you got SQL statements ready for porting, option a is pretty
straightforward, as all you need is place it into a java command
something like

java OracleXML getXML -user <username/password> -conn <connection
string> <SQL statement>

The output is purely XML well-formed, therefore to be redirected to a
file if preferred.
For jdk1.2.x, xsu12.jar and JDBC2.x are the environment you need to set
up; otherwise xsu11.jar and JDBC1.x are for jdk1.1.x.

If you only wanted to pick up data from small number of table fields,
then option b can be considered.

Hope this helps.

Spenser Kao


  • References:


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS