Tag Archives: trang

XML Toolbox: RELAX NG & trang

e.g. when handling RESTful APIs you may want to validate the response XML – a custom one in most cases. I typically use tools already installed on every Mac and fire a http GET request with curl and immediately check it with xmllint like $ curl http://www.heise.de/newsticker/heise-atom.xml | xmllint –format –schema myschema.xsd -$ curl http://www.heise.de/newsticker/heise-atom.xml […]