# \[ANN/ADV\] CustomXMLSerialization 1.1

**URL:** <https://www.ruby-forum.com/t/ann-adv-customxmlserialization-1-1/114527>\
**Category:** Rails\
**Created:** [September 13, 2007, 11:46pm UTC](https://www.ruby-forum.com/t/ann-adv-customxmlserialization-1-1/114527 "2007-09-13T23:46:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![enchanter](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/ce7236/32.png) [@enchanter](https://www.ruby-forum.com/u/enchanter)\
**Post date:** [September 13, 2007, 11:46pm UTC](https://www.ruby-forum.com/t/ann-adv-customxmlserialization-1-1/114527/1 "2007-09-13T23:46:38Z")

</div>

CustomXMLSerialization is a Ruby on Rails plug-in that allows you more  
freedom in how your model objects are serialized using the to\_xml method  
in ActiveRecord::XmlSerialization. Your ActiveRecord subclasses can  
specify a complete custom serialization, without having to override  
to\_xml in each object.

You can specify exactly which fields to include in a serialization,  
apply custom tag names, enclose data in CDATA constructs, and unwrap  
superfluous second-level associations into more brief first-level  
fields.

For more information and examples of usage, visit the overview page at  
[http://code.google.com/p/custom-xml-serialization/wiki/Overview](http://code.google.com/p/custom-xml-serialization/wiki/Overview)

To download, visit:  
[http://code.google.com/p/custom-xml-serialization/downloads/list](http://code.google.com/p/custom-xml-serialization/downloads/list)

---

<div class="post-metadata">

**Author:** ![enchanter](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/ce7236/32.png) [@enchanter](https://www.ruby-forum.com/u/enchanter)\
**Post date:** [September 14, 2007, 2:25am UTC](https://www.ruby-forum.com/t/ann-adv-customxmlserialization-1-1/114527/2 "2007-09-14T02:25:32Z")

</div>

Tim - I think this is a great project. Thank you for your continued  
work!

–  
Roderick van Domburg  
[http://www.nedforce.com](http://www.nedforce.com)
