File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes returning a xml string Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "returning a xml string" Watch "returning a xml string" New topic

returning a xml string

manoj samarasinghe

Joined: Nov 17, 2004
Posts: 16

in my program i need to use a xml document as a input to a perticuler 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 string.

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
manoj samarasinghe

Paul Sturrock

Joined: Apr 14, 2004
Posts: 10336

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.

JavaRanch FAQ HowToAskQuestionsOnJavaRanch
I agree. Here's the link:
subject: returning a xml string
jQuery in Action, 3rd edition