# Rexml/document

**URL:** <https://www.ruby-forum.com/t/rexml-document/109801>\
**Category:** Ruby\
**Created:** [July 19, 2007, 4:56am UTC](https://www.ruby-forum.com/t/rexml-document/109801 "2007-07-19T04:56:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![coolwong](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/d9b06d/32.png) [@coolwong](https://www.ruby-forum.com/u/coolwong)\
**Post date:** [July 19, 2007, 4:56am UTC](https://www.ruby-forum.com/t/rexml-document/109801/1 "2007-07-19T04:56:14Z")

</div>

Now i using rexml/document to retrieve the xml file data. But i don know  
how to update the file contents. Who know the coding?Can provide some  
sample code? Thanks…
