# Creating XML from XSDs

**URL:** <https://www.ruby-forum.com/t/creating-xml-from-xsds/108959>\
**Category:** Ruby\
**Created:** [July 10, 2007, 1:29am UTC](https://www.ruby-forum.com/t/creating-xml-from-xsds/108959 "2007-07-10T01:29:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![probertm](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/9de053/32.png) [@probertm](https://www.ruby-forum.com/u/probertm)\
**Post date:** [July 10, 2007, 1:29am UTC](https://www.ruby-forum.com/t/creating-xml-from-xsds/108959/1 "2007-07-10T01:29:08Z")

</div>

Hi, all …

I am wondering if someone has done similar and can point me in a  
direction.

In this project, I need to generate test XML documents. And I have  
the XSDs for the XML. So I thought that it would be a simple matter  
of defining test data in YAML, say, suck in the XSD and then spit out  
the XML.

Except it is not at all clear how to do this 🙂

Any thoughts or pointers?

Regards,  
-mark.
