Thilina's Blogger

Wednesday, January 28, 2009

Validating XML against Schema

Use following command to do it

xmllint --noout --schema schema.xsd file.xml

eg: Shell> xmllint --noout --schema ../xsd/CdrFile.xsd test.xml

Output>>>
test.xml validates

Posted by Unknown at 5:36 AM

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

About Me

Unknown
View my complete profile

Total Pageviews

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Blog Archive

  • ►  2015 (1)
    • ►  November (1)
  • ►  2014 (1)
    • ►  November (1)
  • ►  2012 (1)
    • ►  April (1)
  • ►  2011 (2)
    • ►  July (2)
  • ►  2010 (9)
    • ►  September (1)
    • ►  July (1)
    • ►  April (1)
    • ►  March (3)
    • ►  February (1)
    • ►  January (2)
  • ▼  2009 (7)
    • ►  December (1)
    • ►  October (3)
    • ►  February (1)
    • ▼  January (2)
      • Validating XML against Schema
      • Installing MySQL from tar.gz Packages on Unix-Like...
  • ►  2008 (8)
    • ►  July (2)
    • ►  June (1)
    • ►  May (4)
    • ►  February (1)
  • ►  2007 (17)
    • ►  November (1)
    • ►  October (1)
    • ►  September (2)
    • ►  August (2)
    • ►  July (4)
    • ►  June (3)
    • ►  May (4)
Copyright © 2011 Thilina Anjitha. All rights reserved. Simple theme. Powered by Blogger.