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.