Sponsor:

Your company here, and a link to your site. Click to find out more.

hxunxmlns - Man Page

replace XML "global names" by Namespace prefixes

Synopsis

hxunxmlns [ -- ] [ file ]

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.

See Also

hxxmlns(1)

Bugs

The error recovery for incorrect XML is primitive.

Info

10 Jul 2011 7.x HTML-XML-utils