Just another Perl shrine | |
PerlMonks |
Re: XML::Writer and namespacesby Mr. Ed (Initiate) |
on Dec 21, 2016 at 13:51 UTC ( [id://1178294]=note: print w/replies, xml ) | Need Help?? |
Ok, I've find out to get the namespace-declaration in the root-element: <root xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
I need to set $writer->forceNSDecl($ns1); before writing the first tag But how get I the "xsi:" - Prefix on the attribute?
In Section
Seekers of Perl Wisdom
|
|