12. Extension
There are four ways to specify extensions:
Command line (long): | --extension =extname |
Command line (short): | -X extname |
Java system properties: | com.xmlcalabash.extname =value |
XML configuration: | <cc:extension name=" |
Ant task: | <calabash
allowTextResults=" |
Valid extension names are
“allow-text-results
”,
“general-values
”,
“html-serializer
”,
“json-flavor
”,
“transparent-json
”,
“use-xslt-10
”, and
“xpointer-on-text
”.
Note
The json-flavor
extension uses a special command-line
syntax:
--extension=json-flavor=
or
flavor
-Xjson-flavor=
.
flavor