File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
XML and Related Technologies
convert multiple xml tags to single tag with attributes
Joined: Oct 31, 2004
Mar 21, 2005 03:03:00
I am trying to create a
program which will take an SOAP/XML input format and generate xml of my own format...
i am new to xml technologies so totally confused what to do...
I am trying to look for some sample code which does the same.
do i need to use any parsers like SAX / DOM ?
What i am actually looking at is :
when the user input comes to me as xml file, i want to capture each tag value and store it as attribute value in my output xml. i.e; in my output what i have is a single tag with many attributes
if sample input file:
then, the sample output would be :
Pls, help me on this ...
Thanks in advance.
I agree. Here's the link:
subject: convert multiple xml tags to single tag with attributes
KSoap2 question, please reply
How do I catch a user define exception on the client (SOAP/JAX-RPC/WSDL)
Spring-ws client with Jax-ws web service
SOAP Header problem SAAJ
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014