A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Java in General
returning a xml string
Joined: Nov 17, 2004
Dec 06, 2004 04:54:00
in my program i need to use a xml document as a input to a perticuler class.in that class i need to parse that xml and identify methods and attributes of that class from that xml.
and also i need a way to make all returned values from methods of that class in to a another xml
xml string as input-----> class---->identify mehod calls from that xml string---->calling methods---->return values as xml string.
i am expecting more simple solution for this
Joined: Apr 14, 2004
Dec 06, 2004 05:24:00
Because your output is effecively a subset of your input and both ar XML, you could write an XSLT to create one from the other.
It is sorta covered in the
JavaRanch Style Guide
subject: returning a xml string
Class For Appending Data
How to retrieve data from XML document using JAVA APIs
Regular Expression or else?
transient XML and Java
documentBuilderFactory parse problem
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014