---
name: "stripsgml"
section: "1"
platform: "linux"
package: "perlsgml"
version: "1:19970918-12.2"
release: "Debian 5.0 (Lenny)"
platforms: ["linux"]
url: "https://new.carta.tech/stripsgml"
---

# stripsgml(1)

strip SGML markup from a file and translate entity references

## NAME

stripsgml — strip  SGML markup from a file and translate entity   references

## SYNOPSIS

**stripsgml** \[options \]  \< *file*

## DESCRIPTION

**stripsgml** is a filter which reads a file  containing  SGML markup tags on STDIN, and prints an ASCII file   without the markup to STDOUT.   If  possible,  entity  references    are translated  to  their  corresponding ASCII counterparts in  the process.

**stripsgml** is one of a  suite  of  tools available   in  the perlSGML  package, which together help one inspect, study,  and edit if necessary, an SGML Document  Type  Definitions  (DTD).    The   package   was   written   by   Earl   Hood  (ehood@medusa.acs.uci.edu).

This manual page was written for the **Debian GNU/Linux** distribution  because the original program does not have a manual page.  Instead, it has documentation in the **HTML**       format; see below.

## OPTIONS

A partial summary of command-line options is included below.    For a complete description, see the **HTML**   files.

- **-charset**

  *charset*" 10  Use *charset* as the character set   to use while processing. By default, ASCII is assumed, so entity   references for special characters and character references are   mapped to ASCII text.  Only the ISO-8859 character sets (1-10)   are supported.

- **-help**

  Show summary of options.

- **-html**

  Cause URLs in anchor elements in an HTML document to   be preserved in the output.

- **-ignore** *name*

  *name* is a parameter entity.  This command sets its value to "IGNORE".   This option may be useful if the input data contains marked sections   where parameter entity references are used to control the status   keyword.

-

  This option can be specified multiple times to set   multiple parameter entities.

- **-include** *name*

  *name* is a parameter entity.  This command sets its value to "INCLUDE".   This option may be useful if the input data contains marked   sections where parameter entity references are used to control   the status keyword.

-

  This option can be specified multiple times to set multiple   parameter entities.

## SEE ALSO

dtd2html (1), dtddiff (1), dtdview (1), and stripsgml (1).  These commands, as well as perlSGML's library of Perl modules   for parsing of the SGML DTD's are documented fully by       *The perlSGML Manual (link to URL http://www.oac.uci.edu/indiv/ehood/perlSGML/doc/html/perlSGML.html)* .

## AUTHOR

This manual page was written by Susan G. Kleinmann sgk@debian.org for  the **Debian GNU/Linux** system (but may be used by others).

Permission is granted to copy, distribute and/or modify  this document under the terms of the GNU Free  Documentation License, Version 1.1 or any later version  published by the Free Software Foundation; with no Invariant  Sections, no Front-Cover Texts and no Back-Cover Texts.  A copy  of the license can be found under  **/usr/share/common-licenses/FDL**.
