spacer

Webref WebRef   Sitemap · Experts · Tools · Services · Newsletters · About i.com

home / experts / perl / tutorial / 1

XML and Perl::Summary

Developer News
OpenOffice 3.2 Lands Amid Critical Changes
Red Hat, IBM Firmly in KVM Virtualization Camp
Red Hat Talks Up Open Source Cloud Plans

In this article we learned what XML is, what it can be used for, and developed a Perl script to retrieve and display the contents of HTML embedded XML tags. We also developed a script that gathers news headlines from an XML file and creates an HTML news summary.

Now that we've had a small taste of embedded XML and Perl, I hope you will begin to think of new ways to use XML on your Web site. I believe that the power of Perl and flexibility of XML are the right combination to bring the Web out of its infancy and into a new era of information technology. In future articles, we will discuss the use of XML for Web site management in more detail.

xml-fetch.pl View source | Try it
This script retrieves a file from the Web, queries it for a specified list of comma delimited tags, and displays the tag name, attributes, and content.
inet-news.pl View source | Try it
This script retrieves the top-news headlines from http://www.internetnews.com and builds a news summary from the results.

home / experts / perl / tutorial / 1

Produced by Jonathan Eisenzopf and


The Network for Technology Professionals

Search:

About Internet.com

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | E-mail Offers

webref The latest from WebReference.com Browse >
Search Engine Optimization: Selecting and Embedding Keywords · Are Google's Language Translation Web Services Ready for Prime Time? · Installing and Using Meeplace, the Business Review CMS
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
IBM DB2 10 for z/OS: Justifying the Upgrade · Living La Vida Colo: Choosing the Right Colocation Facility · FTC Concerns over Social Media Privacy Linger

URL: http://www.webreference.com/perl/tutorial/1/