..


.. "UNXMLNS" "1" "15 Feb 2008" "4.x" "HTML-XML-utils"

"UNXMLNS" "1" "15 Feb 2008" "4.x" "HTML-XML-utils"

Table of contents


NAME

unxmlns - replace XML "global names" by Namespace prefixes

SYNOPSIS

unxmlns [ -- ] [ file ]

DESCRIPTION

unxmlns is the reverse of xmlns(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.
>
One or more errors occurred in the parsing of the file.

SEE ALSO

xmlns(1)

BUGS

The error recovery for incorrect XML is primitive.