XML Response customizing using PERL

D

dexteru2

Hello All,
Please can someone assist me on how to customize the output of XML
response using perl.

For example i have an output like this

.......
<methodResponse>
<params>
<param>
<value>
<struct>
<member>
<name>originHostName</name>
<value>
<string>WEB_HOST</string>
</value>
</member>
........
........
</member>
</struct>
</value>
</param>
</params>
</methodResponse>



But i want the output to be like ;

The hostname is WEB_HOST...And not in the default form as above.

Regards
 
D

David Squire

dexteru2 said:
Hello All,
Please can someone assist me on how to customize the output of XML
response using perl.

Go to CPAN and search for XML. There are many modules out there that can
help you... for example XML::Writer.

DS
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,756
Messages
2,569,534
Members
45,007
Latest member
OrderFitnessKetoCapsules

Latest Threads

Top