Lib-xml + multiple schema validation

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