Simple steps for simple XML report

Hi,I m a below beginner for XML reporting. Can any one tell me simple steps to create simple XML report.? Just to start .. table name is DEPT with columns DEPT_CODE and DEPT_NAME.I m using NetBeans5.5 with Tomcat 5.5.17 and JDK1.6 on winXP.thnx in advance.
[291 byte] By [AlexCoxwella] at [2007-11-26 21:20:49]
# 1
There are several API's available for XML processing. Popular ones are DOM4J and JXPath.
BalusCa at 2007-7-10 3:00:08 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2

Hi BalusC thnx for reply. But its "not enough" for me to start XML report. As I said I m below beginner. :)

I have following queries.

1. which editor/IDE to use?

2. how to create DTD

3. how to connect to database

4. how to fetch (or exeute query) to display rows

5. where to define columns

6. how to create/attach style sheet

etc etc

AlexCoxwella at 2007-7-10 3:00:08 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 3

> 1. which editor/IDE to use?

> 2. how to create DTD

> 3. how to connect to database

> 4. how to fetch (or exeute query) to display rows

> 5. where to define columns

> 6. how to create/attach style sheet

1. Eclipse definitely. For personal use I use the [url=http://lomboz.objectweb.org/]Lomboz[/url] implementation. If you want a XML-specific editor, [url=http://www.altova.com/products/xmlspy/xml_editor.html]XMLSPY [/url] might be worth the try.

2. Read some [url=http://www.google.com/search?q=xml+tutorial]XML tutorials[/url].

3. Read some [url=http://www.google.com/search?q=jdbc+tutorial]JDBC tutorials[/url].

4. Use plain JDBC or use a DAO, like Hibernate.

5. In the DTD.

6. Read some [url=http://www.google.com/search?q=xsl+tutorial]XSL tutorials[/url].

BalusCa at 2007-7-10 3:00:08 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...