denzilhere has asked for the wisdom of the Perl Monks concerning the following question:
Hi Monks!! I need to write attribute key value pair dynamically in XML file using XML::Writer package. I tried to do this by concatenating multiple string in array as:
But not able to write in correct way, its showing result as:$self->xml->startTag("Contact", "Type"=>"Information", "Phone"=>$cContactPhone, "Email"=>$cContactEmail);
Can anyone please advise for any alternate way to write this logic dynamically.<Contact Type = "Information"="Phone = +13824898944" Email = "abctest@ +abc.com"="">I am here to ask questions</Contact>
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: XML::Write challenges
by poj (Abbot) on Feb 04, 2019 at 08:24 UTC | |
by denzilhere (Initiate) on Feb 04, 2019 at 08:47 UTC | |
by holli (Abbot) on Feb 04, 2019 at 08:56 UTC | |
by poj (Abbot) on Feb 04, 2019 at 09:23 UTC | |
by Aldebaran (Curate) on Feb 05, 2019 at 20:24 UTC |