EnglishFrenchSpanish

Ad


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
    VASSAL Engine
    VASSAL Engine
    VASSAL is a game engine for creating
    electronic versions of traditional board
    and card games. It provides support for
    game piece rendering and interaction,
    and...
    Download VASSAL Engine
  • 2
    OpenPDF - Fork of iText
    OpenPDF - Fork of iText
    OpenPDF is a Java library for creating
    and editing PDF files with a LGPL and
    MPL open source license. OpenPDF is the
    LGPL/MPL open source successor of iText,
    a...
    Download OpenPDF - Fork of iText
  • 3
    SAGA GIS
    SAGA GIS
    SAGA - System for Automated
    Geoscientific Analyses - is a Geographic
    Information System (GIS) software with
    immense capabilities for geodata
    processing and ana...
    Download SAGA GIS
  • 4
    Toolbox for Java/JTOpen
    Toolbox for Java/JTOpen
    The IBM Toolbox for Java / JTOpen is a
    library of Java classes supporting the
    client/server and internet programming
    models to a system running OS/400,
    i5/OS, o...
    Download Toolbox for Java/JTOpen
  • 5
    D3.js
    D3.js
    D3.js (or D3 for Data-Driven Documents)
    is a JavaScript library that allows you
    to produce dynamic, interactive data
    visualizations in web browsers. With D3
    you...
    Download D3.js
  • 6
    Shadowsocks
    Shadowsocks
    A fast tunnel proxy that helps you
    bypass firewalls This is an application
    that can also be fetched from
    https://sourceforge.net/projects/shadowsocksgui/.
    It ha...
    Download Shadowsocks
  • More »

Linux commands

Ad