Get the latest tech news

XML: Twig – A Time-Tested Powerhouse for Processing XML


as the preferred communication language used by services in the early 2000s. During that time, governments were establishing their own e-government systems, while companies were developing their SOAP services.

usestrict;usewarnings;usediagnostics;useXML::Twig;useLWP::UserAgent;my$ua=LWP::UserAgent->new();my$req=HTTP::Request->new(POST=>"http://universe.com?query=gobeklitepe");$req->content_type('text/XML; charset=utf-8');$req->header(SOAPAction=>'http://universe.com/observations'); my$res=$ua->request($req); my$observation=$twig->root->first_child('soap:Body')->first_child('observeResult')->first_child('observation');

Get the Android app

Or read this on Hacker News

Read more on:

Photo of Time

Time

Photo of twig

twig

Photo of tested powerhouse

tested powerhouse

Related news:

News photo

Google’s Pixel Tablet has returned to its Black Friday all-time low price

News photo

Final Fantasy 14 Mobile job trailer shows battles for the first time

News photo

Raspberry Pi 500 and monitor arrive in time for Christmas