On Tue, Dec 05, 2000 at 05:31:49PM -0500, Drew Taylor wrote:
>
I've used XML::Checker::Parser with no big issues.
> My biggest problem with XML::Writer (and hence XML::ValidWriter) is that
> I can't write to a string, unless there is some hackish workaround.
XML::ValidWriter writes to a string if you pass in a \$scalar as the
destination:
new
$writer = XML::ValidWriter->new( DTD => $dtd, OUTPUT => \*FH ) ;
Creates an XML::ValidWriter.
The value passed for OUTPUT may be:
a SCALAR ref
if you want to direct output to append to a
scalar. This scalar is truncated whenever the
XML::ValidWriter object is reset() or DESTROY()ed
a file handle glob ref or a reference to an IO object
XML::ValidWriter does not load IO. This is the
only mode compatible with XML::Writer.
a file name
A simple scalar is taken to be a filename to be
created or truncated and emitted to. This file
will be closed when the XML::ValidWriter object is
reset or deatroyed.
- Barrie
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]