NAME

SGML::Writer - write an SGML or XML grove

SYNOPSIS

  $writer = $SGML::Writer->new ([file_handle => $fh]
				[, depth => $depth ]);
  $grove->accept ($writer);

DESCRIPTION

SGML::Writer writes a limited representation of a grove. file_handle can be a file handle or a scalar reference, if it is a scalar reference Writer will append to it. Writer writes to standard output if file_handle is not specified.

XXX this code could do more, see sgmlnorm(1).

AUTHOR

Ken MacLeod, ken@bitsko.slc.ut.us

SEE ALSO

perl(1), SGML::Grove(3), sgmlnorm(1)