Subject: | formatting attributes and namespace decls |
The output of my $xml->toString(1) is like this:
<provisioningCommunicationActs
xmlns="http://somens/markup/provisioning/general/"
xmlns:com="http://somens/markup/provisioning/general-common/"
xmlns:comc="http://somens/markup/provisioning/general-common-complex/"
xmlns:gepd="http://somens/markup/provisioning/general-provisioning-data/"
xmlns:llu="http://somens/markup/provisioning/general-llu/"
xmlns:lluc="http://somens/markup/provisioning/general-llu-complex/"
xmlns:pnb="http://somens/markup/provisioning/general-pnb/"
xmlns:pppc="http://somens/markup/provisioning/general-pppoe-complex/"
xmlns:pppo="http://somens/markup/provisioning/general-pppoe/"
xmlns:sip="http://somens/markup/provisioning/general-sip/"
xmlns:sipc="http://somens/markup/provisioning/general-sip-complex/"
xmlns:voic="http://somens/markup/provisioning/general-voip-complex/"
xmlns:voip="http://somens/markup/provisioning/general-voip/">
(which should visualise as one big ugly lump)
But what I would like to be able to create is
<provisioningCommunicationActs
xmlns="http://somens/markup/provisioning/general/"
xmlns:com="http://somens/markup/provisioning/general-common/"
xmlns:llu="http://somens/markup/provisioning/general-llu/"
xmlns:pnb="http://somens/markup/provisioning/general-pnb/"
xmlns:pppo="http://somens/markup/provisioning/general-pppoe/"
xmlns:sip="http://somens/markup/provisioning/general-sip/"
...
(One per line) Inserted ::Text nodes end-up in the body. So how can
I achieve this?