in reply to Re: XML::Writer and namespaces
in thread XML::Writer and namespaces

And finally ... here is the solution for issue 2) $writer->emptyTag("node", ([$ns1,"nil"] => "true")); makes my day: <node xsi:nil="true" />

You have to read the perldoc very carefully, The NAMESPACES-section says:

... then the module will accept two-member array reference in the place of element and attribute names ...