SPUG: XML::Generator module

luis medrano lmzaldivar at gmail.com
Fri Jul 14 15:07:23 PDT 2006


I trying to generated a XML file using XML::Generator module but the
header I need to create is this "<?xml version="1.0"
encoding="UTF-8"?>" but with this modulte is generating this "<?xml
version="1.0" encoding="UTF-8" standalone="yes"?>
" I would like to remove standalone="yes" but I have not found a way
of doing this.

This is my code:

my $map = XML::Generator->new(':pretty', escape=>1);
print $map->xmldecl(version=>'1.0',

I will really appreciate your help.


More information about the spug-list mailing list