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]
- RE: mod_perl advocacy project resurrection brian moseley
- Re: mod_perl advocacy project resurrection Jimi Thompson
- Re: mod_perl advocacy project resurrection Matt Sergeant
- Re: mod_perl advocacy project resurrection Perrin Harkins
- RE: mod_perl advocacy project resurrection Gunther Birznieks
- Re: mod_perl advocacy project resurrection Drew Taylor
- Perl vs Java (XML Modules) Matt Sergeant
- Re: Perl vs Java (XML Modules) Drew Taylor
- Re: mod_perl advocacy project resurrection barries
- [OT] mod_perl longevity [Was: mod_perl advocacy project ... Ajit Deshpande
- Re: [OT] mod_perl longevity [Was: mod_perl advocacy... brian moseley
- Re: [OT] mod_perl longevity [Was: mod_perl advo... Ajit Deshpande
- [OT] Starting a Company on OS [Was: mod_perl longev... Gunther Birznieks
- RE: mod_perl advocacy project resurrection Dave Rolsky
- RE: mod_perl advocacy project resurrection brian moseley
- Re: mod_perl advocacy project resurrection Ben Cottrell
