• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

regarding castor XML mapping

 
sa suresh
Greenhorn
Posts: 4
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13048
6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic