html-xml-utils
Command line utilities to manipulate HTML and XML files
HTML-XML-utils provides a number of simple utilities for manipulating and converting HTML and XML files in various ways. The suite consists of the following tools:
asc2xml
convert fromUTF-8
to&#nnn;
entitiesxml2asc
convert from&#nnn;
entities toUTF-8
hxaddid
add IDs to selected elementshxcite
replace bibliographic references by hyperlinkshxcite
mkbib - expand references and create bibliographyhxclean
apply heuristics to correct an HTML filehxcopy
copy an HTML file while preserving relative linkshxcount
count elements and attributes in HTML or XML fileshxextract
extract selected elementshxincl
expand included HTML or XML fileshxindex
create an alphabetically sorted indexhxmkbib
create bibliography from a templatehxmultitoc
create a table of contents for a set of HTML fileshxname2id
move someID=
orNAME=
from A elements to their parentshxnormalize
pretty-print an HTML filehxnsxml
convert output of hxxmlns back to normal XMLhxnum
number section headings in an HTML filehxpipe
convert XML to a format easier to parse with Perl or AWKhxprintlinks
number links and add table of URLs at end of an HTML filehxprune
remove marked elements from an HTML filehxref
generate cross-referenceshxselect
extract elements that match a (CSS) selectorhxtoc
insert a table of contents in an HTML filehxuncdata
replace CDATA sections by character entitieshxunent
replace HTML predefined character entities toUTF-8
hxunpipe
convert output of pipe back to XML formathxunxmlns
replace "global names" by XML Namespace prefixeshxwls
list links in an HTML filehxxmlns
replace XML Namespace prefixes by "global names"
- Versions: 7.9
- Website: https://www.w3.org/Tools/HTML-XML-utils/
- Licenses: Expat
- Package source: gnu/packages/xml.scm
- Builds: See build status
- Issues: See known issues
Installation
Install the latest version of html-xml-utils
as follows:
guix install html-xml-utils
Or install a particular version:
guix install html-xml-utils@7.9
You can also install packages in augmented, pure or containerized environments for development or simply to try them out without polluting your user profile. See the guix shell
documentation for more information.