in reply to Re: Dynamic XML
in thread Dynamic XML
which would generateuse XML::Generator; my $x = XML::Generator->new('escape' => 'always', 'conformance' => 'strict'); print $x->foo($x->bar({baz=>3}, $x->bam()), $x->bar(['qux'],"Hey there,\n", "world"));
So the API looks very similar to CGI.pm - even down to the hash reference for attributes.<foo><bar baz="3"><bam /></bar><qux:bar>Hey there, world</qux:bar></foo>
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Dynamic XML
by hallikpapa (Scribe) on Aug 17, 2007 at 16:47 UTC |