---
name: "hxunxmlns"
section: "1"
platform: "linux"
package: "html-xml-utils"
version: "8.8-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/hxunxmlns"
---

# hxunxmlns(1)

replace XML "global names" by Namespace prefixes

## NAME

hxunxmlns - replace XML "global names" by Namespace prefixes

## SYNOPSIS

**hxunxmlns** \[ **--** \] \[ *file* \]

## DESCRIPTION

**hxunxmlns** is the reverse of [**hxxmlns**(1)](/hxxmlns/1.md). 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.

## SEE ALSO

[**hxxmlns**(1)](/hxxmlns/1.md)

## BUGS

The error recovery for incorrect XML is primitive.
