Implement --html option in xml sel
test for `--html` option in edit and select
make `--html` a global option, so work in sel and ed
test for option --ignore-default-namespace
Option to ignore default namespace for select and edit command
Merge branch 'ignore-default-namespace'
It is good to have namespace for xml, but specify namespace in xpath is troublesome. In xslt 2.0, one can specify default namespace for xpath, but libxml2 does not support xslt 2.0. In xmlstarlet, one can use --doc-namespace, and _ will refer to the default namespace, but it is still troublesome to write every element with prefix. This patch add a --ignore-default-namespace option, which work in xml select and xml edit. This option will remove default namespace in xml tree, so xpath without prefix...
It is good to have namespace for xml, but specify namespace in xpath is troublesome. In xslt 2.0, one can specify default namespace for xpath, but libxml2 does not support xslt 2.0. In xmlstarlet, one can use --doc-namespace and _ will refer to default namespace, but it is still troublesome to write every element with prefix. This patch add a --ignore-default-namespace option, which work in xml select and xml edit. This option will remove default namespace in xml tree, so xpath without prefix can...