Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: XML::Writer

by Anonymous Monk
on May 25, 2007 at 16:54 UTC ( #617543=note: print w/replies, xml ) Need Help??


in reply to XML::Writer

Good review, and very helpful. One question though. Rather than writing to a file is it possible to simply write to a variable. I've been trying to determine how to do this, and I've had no luck. Thanks

Replies are listed 'Best First'.
Re: XML::Writer
by Anonymous Monk on Jun 04, 2007 at 15:21 UTC
    I don't have the answer to your specific question however you might take a look at XML::API which does create/return strings of xml.
      This requires IO::String, but this is one method to put the value of the output into a string: my $xml; my $output = IO::String->new($xml); my $w = new XML::Writer(OUTPUT => $output, ... etc
      Even smart people are dumb in most things...

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://617543]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2021-12-05 14:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    R or B?



    Results (31 votes). Check out past polls.

    Notices?