Welcome!

Cloud Expo Authors: Maureen O'Gara, Jeremy Geelan, Greg Ness, Shelly Palmer, Lori MacVittie

Related Topics: XML

XML: Article

Everything You Need to Know about XML

Everything You Need to Know about XML

What an excellent little book!

In a scant 96 pages, Eckstein and Casabianca have managed to present everything you need to know to get up and running with XML. After the obligatory review of what XML is and why it's needed, as well as definitions of some of the key concepts of XML technology, the authors launch into a concise, though comprehensive, discussion of DTD (Document Type Definition) design and construction. A DTD specifies the overall structure and content of a valid XML document; it specifies the elements a document can contain as well as the allowed attributes of those elements. Element declarations, entities, and attribute declarations are well covered here, and the examples are clear and unambiguous.

The authors then embark on a discussion of XSL (Extensible Stylesheet Language). The two XML technologies that fall under this rubric are XSLT (Extensible Stylesheet Language Transformations) and XSL-FO (Extensible Stylesheet Language, Formatting Objects). Because XSL-FO is not yet a very mature technology, little attention is paid to it. However, the coverage of XSLT is the richest part of the entire book.

Essentially, XSLT allows you to transform one XML document into another XML format; for example, from a custom XML DTD to XHTML for display in a browser. It converts one set of tags into another set of tags via a mapping in a template file. And XSLT ends up being much more than a way to map tags to tags: the authors illustrate the looping and conditional constructs of XSLT that allow you to program simple logic into the transformation process. After several clear examples of XSLT, the authors provide a long reference section of XSLT elements. It would have been nice if the book contained a long example illustrating the proper use of several of these elements in a stylesheet, but you can get the gist just by looking at their generic, element by element, definitions.

XPATH is the next topic of discussion. XPATH actually underlies the transformation process in XSLT by providing the syntax that locates each node in the document to be transformed. As such, XPATH is sort of a "regular expression" technology of XML. XPATH also provides the direction or "axes" in which the document and its nodes should be traversed, as well as some built-in functions that can be used to do such things as count the number of nodes in a branch of the document, search and compare strings, return the sum of the numerical values contained in a set of nodes, and so on.

So the simple looping and conditional contructs of the XSLT elements, coupled with the rich syntax of XPATH used to locate and otherwise manipulate node values in an XML tree, make XSLT a very powerful tool for data formatting and transformation. Again, one long example illustrating as many of these distinct technologies as possible would have been enlightening.

The last part of the Pocket Reference is dedicated to a discussion of XPointer and XLink - technologies that allow for the interlinking of XML documents. As the authors point out, this is essentially the same as the use of anchors and internal links within HTML documents. Use of these technologies basically allows for the linking of one section of a document to another section, either in the same document or in an entirely different one. It's interesting to note that XLink provides for linking from a single link to multiple targets.

With this book O'Reilly has added yet another winner to their fine catalog. As with other O'Reilly publications, the writing style is eminently readable. The typographical conventions used consistently throughout the book make even a quick scan visually informative.

Finally, as the authors note in their introduction: "Some XML-related specifications are still in flux as this book goes to print. However, after reading this book we hope that the components that make up XML will seem a little less foreign."

As far as this reader is concerned, the authors have admirably achieved their objective. I recommend this book highly for those who want to incorporate XML technologies into their Web applications.

XML: Pocket Reference, 2nd Edition
by Robert Eckstein with Michel Casabianca

Published by O'Reilly and Associates
Price: $12.95

More Stories By Mark Cyzyk

Mark Cyzyk is the Web Architect at Johns Hopkins University in Baltimore,
Maryland.

Comments (0)

Share your thoughts on this story.

Add your comment
You must be signed in to add a comment. Sign-in | Register

In accordance with our Comment Policy, we encourage comments that are on topic, relevant and to-the-point. We will remove comments that include profanity, personal attacks, racial slurs, threats of violence, or other inappropriate material that violates our Terms and Conditions, and will block users who make repeated violations. We ask all readers to expect diversity of opinion and to treat one another with dignity and respect.


Cloud Expo Breaking News
“I believe it is incumbent on the Cloud Service Providers (CSPs) and/or System Integrators (SIs) to understand the regulatory and compliance-related issues that their customers face,” noted Manjula Talreja, VP of Global Cloud Business Development at Cisco, in this exclusive Q&A with Cloud Expo Conference Chair Jeremy Geelan. “Of course these issues are different in each industry and in each country.” Cloud Computing Journal: The move to cloud isn't about saving money, it is about saving time - ...
“Regulations and compliance are key trust topics with regards to cloud solutions and technology,” noted Sven Denecken, Vice President, Strategy and Co-Innovation Cloud Solutions, SAP AG, in this exclusive Q&A with Cloud Expo Conference Chair Jeremy Geelan. “But it is also more than security of access – it is portability of data and a clear definition of where the data resides.” Cloud Computing Journal: The move to cloud isn't about saving money, it is about saving time – agree or disagree? Sve...
Many organizations want to expand upon the IaaS foundation to deliver cloud services in all forms – software, mobility, infrastructure and IT. Understanding the strategy, planning process and tools for this transformation will help catalyze changes in the way the business operates and deliver real value.
WSO2 on Thursday announced that WSO2 Vice President of Technology Evangelism Chris Haddad and SUSE Business Development Manager Frank Rego will lead a joint presentation at 12 International Cloud Expo. The session, "Bridging IaaS and PaaS to Deliver the Service-Oriented Data Center," is part of the event's Enterprise Cloud Computing Track on Thursday, June 13, 2013. The Cloud Expo conference is being held June 10-13, 2013 at the Javits Center in New York City. Bridging IaaS and PaaS to Deliver ...
IT has more opportunities than ever before with the growth in users, devices, data and secure cloud services. This creates not only a more enriching experience for users, but more opportunities for businesses. The key to capitalizing on these opportunities is to have the right tools in place to help scale operations. In his Day 3 Keynote at 12th Cloud Expo | Cloud Expo New York [June 10-13, 2013], Intel's Rob Crooke will describe the range of products that Intel provides to support different usa...
Quantum Corp., a proven global expert in data protection and Big Data management, has announced that Senior Vice President of Cloud Solutions Henrik Rosendahl will present a session exploring the future of cloud data protection and the impact of data reduction technologies on cloud storage at the 12th International Cloud Expo. The conference takes place June 10-13 at the Javits Center in New York City. Rosendahl will explore trends in cloud-based backup and disaster recovery (DR) and how curre...
One of the cloud’s biggest draws is the capability to virtualize computing resources, allowing it to be consumed with the click of a mouse. But behind that simple click is an enormous infrastructure challenge that has recently been cited as a major cause for slower enterprise adoption. Enterprises can better prepare for this shift and take full advantage of future computing benefits. Between architecture design and migration planning, the road can be long, so what do you do with your talent? I...
In the old world of IT, if you didn't have hardware capacity or the budget to buy more, your project was dead in the water. Budget constraints can leave some of the best, most creative and most ingenious innovations on the cutting room floor. It’s a true dilemma for developers and innovators – why spend the time creating, when a project could be abandoned in a blink? That was the old world. In the new world of IT, developers rule. They have access to resources they can spin up instantly. A hyb...
INetU, the industry's experts in complex hosting and a global provider of business-centric managed cloud and application hosting, has announced that Cloud Architect Rich Hand will be presenting "Private Cloud, Public Cloud - Is There a Third Option?" at the 12th International Cloud Expo taking place June 10-13, 2013 in New York City. As more enterprise IT departments move into the cloud, many executives are evaluating whether to adopt a Public or Private cloud. The cost benefits of the Public ...
“I’m careful when using terms like Big Data, because it can mean so many things to different people,” explained Eric Hanselman, Chief Analyst at 451 Research, in this exclusive Q&A with Cloud Expo Conference Chair Jeremy Geelan. “There is huge value in analytics that companies can use to pull intelligence from a collection of data sources that are available in their businesses. The inexpensive storage that cloud services can offer make a great environment to pull together siloed data.” Cloud Co...