wood burning stoves 2.0*
The moose likes XML and Related Technologies and the fly likes regarding castor XML mapping Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "regarding castor XML mapping" Watch "regarding castor XML mapping" New topic
Author

regarding castor XML mapping

sa suresh
Greenhorn

Joined: Feb 16, 2007
Posts: 4
hi all

can anyone help how to send a variable to a xml file in java using the castor xml mapping....
and also tell if any other logic for sending the variable to xml file......
[ April 24, 2007: Message edited by: Bear Bibeault ]
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12682
    
    5
sending the variable to xml file



Do you mean:
1. Writing a new XML file containing the value found in the variable
2. Reading an XML file and modifying it with the value, then writing it out.

In any case, it sounds like you should read some basic XML tutorial for example, starting here.

Bill


Java Resources at www.wbrogden.com
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: regarding castor XML mapping
 
Similar Threads
I hate to use a bad word here
XML to Java object using JAXB
XML / Castor Object
Specify namespaces in mapping file
Why to use Hibernate or Castor? What are their benefits?