Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within XML
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
XML and Related Technologies
how to generate XML file
Praveen palukuri
Ranch Hand
Posts: 65
posted 17 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
hi,
I'm new to XML technology. My task is i need to generate xml file taking data from Database. Can any one please tell me how to acheive this. For this do we need to use parsers? Please suggest me how to complete this task.
Thank you.
Regards,
Praveen.
William Brogden
Author and all-around good cowpoke
Posts: 13078
6
posted 17 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Do you already have an example of the XML file to be written?
You need to start with documentation of the names of the Elements, namespaces and attributes to be used.
Working through the
Sun XML tutorial
will save you lots of time and fumbling around later.
Bill
Paul Clapham
Marshal
Posts: 28193
95
I like...
posted 17 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Here
is an example that does what you ask. But if you are new to XML in
Java
, I would suggest you read the rest of the book that surrounds that link.
look! it's a bird! it's a plane! It's .... a teeny tiny ad
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
java to xml how to ??
Am I a idiot for using weblogic servicegen to generate a webservice
how to create an xslt to do identity transform
How to generate ant build file from wsad/irad?
Generate SOAP XML using WSDL
More...