IBM developerWorks: Tutorial: XML and scripting languages | Linux Today

IBM developerWorks: Tutorial: XML and scripting languages

Written By
Web Webster
Web Webster
Mar 4, 2000

“Manipulating XML documents with Perl and other scripting
languages.”

“In this first tutorial of his series on using scripting
languages to manipulate and transform XML documents, Binary
Evolution’s Parand Tony Daruger takes you through the first steps
of using these techniques with Perl. You’ll see a method for
transforming XML to HTML, followed by a simple stock trading
application that uses Perl, XML, and a database to evaluate trading
rules. You can apply the techniques using other scripting languages
too, including Tcl and Python.”

“XML is designed to be human legible, and thus mainly text
based. Scripting languages have historically been extremely adept
at manipulating text. Scripting’s flexibility and power make it a
perfect complement to XML’s descriptive abilities.”

“XML is a medium for the expression, storage, and exchange of
information. The addition of scripting allows this information to
become active: to affect actions, undergo transformations, connect
with existing systems, and take action instead of simply expressing
information.”

“In this article we will use Perl to manipulate and transform
XML. You can apply the same techniques using other scripting
languages too, including Tcl and Python. First a technique for
transformation of XML to HTML will be shown, followed by a simple
stock trading application that uses Perl, XML, and a database to
evaluate trading rules.”

Complete
story
.

Web Webster

Web Webster

Web Webster has more than 20 years of writing and editorial experience in the tech sector. He’s written and edited news, demand generation, user-focused, and thought leadership content for business software solutions, consumer tech, and Linux Today, he edits and writes for a portfolio of tech industry news and analysis websites including webopedia.com, and DatabaseJournal.com.

Linux Today Logo

LinuxToday is a trusted, contributor-driven news resource supporting all types of Linux users. Our thriving international community engages with us through social media and frequent content contributions aimed at solving problems ranging from personal computing to enterprise-level IT operations. LinuxToday serves as a home for a community that struggles to find comparable information elsewhere on the web.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.