aspose file tools*
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


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "returning a xml string" Watch "returning a xml string" New topic
Author

returning a xml string

manoj samarasinghe
Greenhorn

Joined: Nov 17, 2004
Posts: 16
hi

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


manojmanoj
Paul Sturrock
Bartender

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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: returning a xml string