File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Java Object to XML using Xerces

 
Mat Anthony
Ranch Hand
Posts: 259
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
new to this . I have a java class that I would like to convert to an xml string or Document.
Can anybody provide me with example code using Xerces.

Thanks
 
Mat Anthony
Ranch Hand
Posts: 259
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
can anybody help me with this, new to this technology
 
Paul Clapham
Sheriff
Pie
Posts: 20208
26
MySQL Database
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't understand the question. Is it a class or an object which you want to convert? And why Xerces? Xerces is a parser, and the job of a parser is to convert an XML document into some internal format. Converting a Java object to XML is exactly the opposite. That's called serialization.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic