sgml2text.rb
Path: docs/sgml2text.rb
Created: Thu Feb 14 13:32:17 EST 2002
Modified: Sun Feb 10 14:40:42 EST 2002

Copyright (c) 2001-2002 by Jim Menard <jimm@io.com>

Released under the same license as Ruby. See www.ruby-lang.org/en/LICENSE.txt.

I was going to use NQXML to parse README.sgml, but I can't because SGML is not XML. For example, the DOCTYPE tag's PUBLIC identifier takes one argument in SGML but two arguments in XML, and the Docbook <xref> tag has no end tag. Therefore, README.sgml is not a legal XML document.

Methods
fillParagraph   
Public Instance methods
fillParagraph(prefix, txt)