EnglishFrenchSpanish

OnWorks favicon

hxname2id - Online in the Cloud

Run hxname2id in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command hxname2id that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


hxname2id - move some NAME and ID attributes from an A to its parent

SYNOPSIS


hxname2id [ -x ] [ file ]

DESCRIPTION


The hxname2id command reads an HTML file and looks for elements with an A element as first
child, with no intervening text other than whitespace. If that A element has an ID or NAME
attribute, it is moved to the parent element and removed from the A.

Because Netscape 4 doesn't understand ID attributes, it was common practice to write
<H2><A NAME="sect7">...</A></H2> instead of <H2 ID="sect7">. This program can be used to
convert such old HTML files to the new convention.

Other programs in this suite, such as hxmultitoc(1), require IDs on headings instead of A
elements with NAME attributes. So it is useful to run hxname2id prior to running
hxmultitoc and similar program. hxname2id can be used in a pipe.

OPTIONS


The following options are supported:

-x Use XML conventions: empty elements are written with a slash at the end: <IMG />

OPERANDS


The following operand is supported:

file The name of an HTML file. If absent, standard input is read instead.

DIAGNOSTICS


The following exit values are returned:

0 Successful completion.

> 0 An error occurred in the parsing of the HTML file. hxname2id will try to
correct the error and produce output anyway.

Use hxname2id online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    AstrOrzPlayer
    AstrOrzPlayer
    AstrOrz Player is a free media player
    software, part based on WMP and VLC. The
    player is in a minimalist style, with
    more than ten theme colors, and can also
    b...
    Download AstrOrzPlayer
  • 2
    movistartv
    movistartv
    Kodi Movistar+ TV es un ADDON para XBMC/
    Kodi que permite disponer de un
    decodificador de los servicios IPTV de
    Movistar integrado en uno de los
    mediacenters ma...
    Download movistartv
  • 3
    Code::Blocks
    Code::Blocks
    Code::Blocks is a free, open-source,
    cross-platform C, C++ and Fortran IDE
    built to meet the most demanding needs
    of its users. It is designed to be very
    extens...
    Download Code::Blocks
  • 4
    Amidst
    Amidst
    Amidst or Advanced Minecraft Interface
    and Data/Structure Tracking is a tool to
    display an overview of a Minecraft
    world, without actually creating it. It
    can ...
    Download Amidst
  • 5
    MSYS2
    MSYS2
    MSYS2 is a collection of tools and
    libraries providing you with an
    easy-to-use environment for building,
    installing and running native Windows
    software. It con...
    Download MSYS2
  • 6
    libjpeg-turbo
    libjpeg-turbo
    libjpeg-turbo is a JPEG image codec
    that uses SIMD instructions (MMX, SSE2,
    NEON, AltiVec) to accelerate baseline
    JPEG compression and decompression on
    x86, x8...
    Download libjpeg-turbo
  • More »

Linux commands

Ad