jQuery in Action, 3rd edition
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 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 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’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
subject: returning a xml string
It's not a secret anymore!