Hello:
I am learning XML and want to know and
How can I create XML file with two variables where the variables are read from the database table.
How to read var1 and var2 from the table?
=======================
<?xml version="1.0"?>
<package xmlns="x-schema:./ab.xdr">
<proxy defaultsrc="./var1"></proxy>
<dataset defaultsrc="./one.xls">
<datasrc clipformat="one.xls">
<datafile src="./var2"/>
</datasrc>
</dataset>
</package>
=========================
Thank you for your help
Sem
-
How can I create XML file with two variables (1 messages)
- Posted by: sem sam
- Posted on: June 16 2005 22:41 EDT
Threaded Messages (1)
- Creating XML by Ashish Jamthe on June 20 2005 21:04 EDT
-
Creating XML[ Go to top ]
- Posted by: Ashish Jamthe
- Posted on: June 20 2005 21:04 EDT
- in response to sem sam
To create XML you could either use a parser javax.xml.parsers package or create xml using manipulating strings.
Refer to java doc for details forhttp://java.sun.com/j2se/1.4.2/docs/api/javax/xml/parsers/package-summary.html