# Store a XML schema in a database

**URL:** <https://www.ruby-forum.com/t/store-a-xml-schema-in-a-database/132027>\
**Category:** Ruby\
**Created:** [March 15, 2008, 3:00pm UTC](https://www.ruby-forum.com/t/store-a-xml-schema-in-a-database/132027 "2008-03-15T15:00:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![toddlc](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/e79b87/32.png) [@toddlc](https://www.ruby-forum.com/u/toddlc)\
**Post date:** [March 15, 2008, 3:00pm UTC](https://www.ruby-forum.com/t/store-a-xml-schema-in-a-database/132027/1 "2008-03-15T15:00:57Z")

</div>

Hi all,

I have an XML schema (actually a class diagram exported to .xsd) that  
I’d like to store in a database. I’m not interested in using it for  
ORM, I just want to store the structure. For

```
 Auto
  |

```

|-----|  
Truck Car

I don’t want to persist “Skylark” or “Explorer”, just the entities,  
attributes, and relationships (and documentation).

I should mention this structure will be changing frequently for the  
forseeable future.

Any ideas,

Todd
