in reply to Re: XML::Generator and namespace
in thread XML::Generator and namespace
...but I still get the same thing:#!/usr/bin/perl -w use strict; use XML::Generator; my $gen = XML::Generator->new( conformance => 'strict', escape => 'always', pretty => 2, encoding => 'UTF-8', version => '1.0', namespace => [itunes => "http://www.itunes.com/dtds/podcast-1.0. +dtd"], ); print $gen->xmldecl('standalone' , undef); print $gen->rss([itunes => "http://www.itunes.com/dtds/podcast-1.0. +dtd"], {version => '2.0'});
<?xml version="1.0" encoding="UTF-8"?> <itunes:rss xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" +version="2.0" />
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: XML::Generator and namespace
by Anonymous Monk on Aug 21, 2012 at 20:26 UTC |