File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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 Murach's Java Servlets and JSP this week in the Servlets 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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: returning a xml string
 
Similar Threads
documentBuilderFactory parse problem
transient XML and Java
Class For Appending Data
How to retrieve data from XML document using JAVA APIs
Regular Expression or else?