# Lib-xml + multiple schema validation

**URL:** <https://www.ruby-forum.com/t/lib-xml-multiple-schema-validation/166790>\
**Category:** Ruby\
**Created:** [April 29, 2009, 4:38pm UTC](https://www.ruby-forum.com/t/lib-xml-multiple-schema-validation/166790 "2009-04-29T16:38:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sudhi](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/dbc845/32.png) [@sudhi](https://www.ruby-forum.com/u/sudhi)\
**Post date:** [April 29, 2009, 4:38pm UTC](https://www.ruby-forum.com/t/lib-xml-multiple-schema-validation/166790/1 "2009-04-29T16:38:44Z")

</div>

Hi,

I have a xml file which contains multiple xsd files in the xsi:location  
and I want to validate the xml content with all schemas together,  
basically few of the tags may belong to schema 1 and few others to  
schema 2 and so on.

Can this be done with lib-xml binding of ruby?

THanks,  
Sudhindra
