# Validating XML against XSD

**URL:** <https://www.ruby-forum.com/t/validating-xml-against-xsd/132538>\
**Category:** Rails\
**Created:** [March 21, 2008, 6:41am UTC](https://www.ruby-forum.com/t/validating-xml-against-xsd/132538 "2008-03-21T06:41:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![raghu](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/b2d939/32.png) [@raghu](https://www.ruby-forum.com/u/raghu)\
**Post date:** [March 21, 2008, 6:41am UTC](https://www.ruby-forum.com/t/validating-xml-against-xsd/132538/1 "2008-03-21T06:41:21Z")

</div>

Hi Folks,  
I got into a pitch hole when during the development stage of my  
project when I came across a scenario where in I had to validate an  
XML against and XSD.After a hell lot of googling, I couldnt really  
manage to find a solution for the same.At last I found a commad line  
utility called xmlstartlet whcih i integrated into my project and  
generated a helper out of it to use its functionality under the rails  
framework.The way wokred around it could be found right our here on my  
blog…

> **[BlogVis.com is for sale | HugeDomains](https://www.hugedomains.com/domain_profile.cfm?d=blogvis.com)**
>
> This domain name is available, own it today. Affordable payment options. Fast and professional service.

But i find find this as an ultimate solution when considering the time  
performance of the projetc as every request for the XSD based  
validation is routed to some external utility…!..Can anybody tell  
me if therez any better work around for this issue…and any other  
ruby based library or plugin which can help me out with this???

Thanks…!  
Raghu

> **[BlogVis.com is for sale | HugeDomains](https://www.hugedomains.com/domain_profile.cfm?d=blogvis.com)**
>
> This domain name is available, own it today. Affordable payment options. Fast and professional service.

---

<div class="post-metadata">

**Author:** ![raghu](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/b2d939/32.png) [@raghu](https://www.ruby-forum.com/u/raghu)\
**Post date:** [July 9, 2010, 3:16pm UTC](https://www.ruby-forum.com/t/validating-xml-against-xsd/132538/2 "2010-07-09T15:16:19Z")

</div>

Link is pointing to some bull shit.
