Skip to content

Commit

Permalink
Update readme to use v1.5.0 and correct package name.
Browse files Browse the repository at this point in the history
  • Loading branch information
lognaturel committed May 31, 2017
1 parent 4e9e327 commit 7479d0d
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions pyxform/odk_validate/README.rst
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
pyxform_validate
================
A Python Wrapper for ODK Validate 1.4.6
A Python Wrapper for ODK Validate 1.5.0

How to use:
-----------

import pyxform_validate

xform_status = pyxform_validate.check_xform("/path/to/xform.xml")

if xform_status.valid:
print "Your XForm is valid!"
import odk_validate
xform_warnings = odk_validate.check_xform("/path/to/xform.xml")
if len(xform_warnings) == 0:
print "Your XForm is valid with no warnings!"
else:
print "Your XForm is not valid"
print status
print "Your XForm is valid but has warnings"
print xform_warnings

0 comments on commit 7479d0d

Please sign in to comment.