XML::Writer
NAME XML::Writer - XML generation and handling
SYNOPSIS
use v6;
use XML::Writer;
my $svg = :svg[
:width(200), :height(200),
circle => [
:cx(100), :cy(100), :r(50)
],
text => [
:x(10), :y(20), "hello"
]
];
say XML::Writer.serialize($svg);
DESCRIPTION
XML::Writer is a Perl 6 class which outputs XML from a nested data structure describing the DOM representation of an XML file.
METHODS
serialize($hierarchy)
TESTING The testing plan of SVG::Tiny seems alluring. Haven't looked closer at it, though.
BUGS Likely several. If any of them bites you, please get in touch and we'll see what we can do.
AUTHORS Carl Mäsak (masak on CPAN github #perl6, cmasak on gmail.com) significant contributions made by Daniel Schröer and Moritz Lenz.