hxunxmlns(1)

hxunxmlns1

Replace xml "global names" by namespace prefixes

Usage

hxunxmlns [--] [file]

Overview

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.

Releases

9 releases since Debian 6.0 (Squeeze); the text changed 2 times.

  1. 6.0
  2. 7–8
  3. 9–Arch

Bugs

The error recovery for incorrect XML is primitive.

From html-xml-utils 8.8-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.