XML Examples Makefile to validate with xmllint
authorCurt Tilmes <Curt.Tilmes@nasa.gov>
Fri, 14 Sep 2012 08:40:44 -0400
changeset 4463 394932b3ba52
parent 4462 c198d3fe595b
child 4464 7009af43e1aa
XML Examples Makefile to validate with xmllint

Add a simple Makefile to call xmllint to validate each example
against prov.xsd.
examples/eg-40-xml-examples-by-term/xml/Makefile
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/examples/eg-40-xml-examples-by-term/xml/Makefile	Fri Sep 14 08:40:44 2012 -0400
@@ -0,0 +1,4 @@
+SCHEMA = ../../../xml/schema/prov.xsd
+
+validate: 
+	xmllint --noout --schema $(SCHEMA) *.xml