# Create XML document using XSD schema

**URL:** <https://www.ruby-forum.com/t/create-xml-document-using-xsd-schema/155088>\
**Category:** Ruby\
**Created:** [December 7, 2008, 7:27pm UTC](https://www.ruby-forum.com/t/create-xml-document-using-xsd-schema/155088 "2008-12-07T19:27:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![GSSSSbor\_SebestySSS](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/3bc359/32.png) [@GSSSSbor\_SebestySSS](https://www.ruby-forum.com/u/GSSSSbor_SebestySSS)\
**Post date:** [December 7, 2008, 7:27pm UTC](https://www.ruby-forum.com/t/create-xml-document-using-xsd-schema/155088/1 "2008-12-07T19:27:07Z")

</div>

What is the best way to generate XML from a specific schema? I have a  
set of path =\> value assignments which I want to transform to XML. Is  
there a good ruby tool for this task or what is the process of doing  
such a thing in ruby world at all?  
Thanks,

Gábor
