debian man page for xml2asc

Query: xml2asc

OS: debian

Section: 1

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

XML2ASC(1)							  HTML-XML-utils							XML2ASC(1)

NAME
xml2asc - convert UTF-8 to &#nnn; entities
SYNOPSIS
xml2asc
DESCRIPTION
Reads an UTF-8 encoded text from standard input and writes to standard output, converting all non-ASCII characters to &#nnn; entities, so that the result is ASCII-encoded. One example use is to convert ISO-8859-1 to ASCII with &#nnn; entities, by first running asc2xml to convert ISO-8859-1 to UTF-8 and then pipe the result into xml2asc to convert to ASCII with &#nnn; entities for all accented characters.
DIAGNOSTICS
xml2asc returns with a non-zero exit code if the input was not UTF-8.
SEE ALSO
asc2xml(1), UTF-8 (RFC 2279)
BUGS
Doesn't distinguish mark-up from content, so if the input uses non-ASCII characters in XML element names, they will be output with numeri- cal entities in them, which is not legal in XML. 6.x 10 Jul 2011 XML2ASC(1)
Related Man Pages
hxcount(1) - debian
hxname2id(1) - debian
hxunent(1) - debian
sgml2xml-isoent(1) - debian
html_entity_decode(3) - php
Similar Topics in the Unix Linux Community
Adding the individual columns of a matrix.
awk or sed - Convert 2 lines to 1 line
How can I do this in VI editor?
Find columns in a file based on header and print to new file
How to copy a column of multiple files and paste into new excel file (next to column)?