XSLTools

Change of scripts/xslform_input.py

363:5a34b5514b6a
scripts/xslform_input.py
     1.1 --- a/scripts/xslform_input.py	Thu Oct 27 16:34:39 2005 +0000
     1.2 +++ b/scripts/xslform_input.py	Mon Oct 31 23:54:45 2005 +0000
     1.3 @@ -11,10 +11,11 @@
     1.4          output_xml = sys.argv[2]
     1.5      except IndexError:
     1.6          print "Please specify a template and an output filename."
     1.7 +        print "To suppress the initialisation of enumerations, specify --noenum last."
     1.8          print "For example:"
     1.9 -        print "xslform_input.py template.xhtml output.xsl"
    1.10 +        print "xslform_input.py template.xhtml output.xsl --noenum"
    1.11          sys.exit(1)
    1.12  
    1.13 -    XSLForms.Prepare.make_input_stylesheet(input_xml, output_xml)
    1.14 +    XSLForms.Prepare.make_input_stylesheet(input_xml, output_xml, "--noenum" not in sys.argv)
    1.15  
    1.16  # vim: tabstop=4 expandtab shiftwidth=4