hxunxmlns - replace XML "global names" by Namespace prefixes
Contents
Bugs
The error recovery for incorrect XML is primitive.
7.x 10 Jul 2011 HXUNXMLNS(1)
Description
hxunxmlns is the reverse of hxxmlns(1). It converts element and attribute names of the form
<{URL1}foo {URL2}bar="...">
to
<foo xmlns="URL1" xmlns:x="URL2" x:bar="...">
The predefined XML Namespace is recognized and replaced by the prefix "xml:".
Diagnostics
The following exit values are returned:
0 Successful completion.
>0 One or more errors occurred in the parsing of the file.
Name
hxunxmlns - replace XML "global names" by Namespace prefixes
See Also
hxxmlns(1)
Synopsis
hxunxmlns [ -- ] [ file ]
