Skip to main content

JSDigester: Taking the Pain out of Client-Side XML

  • Chapter

Abstract

I’ll just come out and say it: parsing XML in a browser is not a particularly pleasant experience. Actually, if you think about it, parsing XML anywhere can be a bit of a hassle. However, one library that does make it a bearable experience is the Jakarta Commons Digester component (http://jakarta.apache.org/commons/digester). Digester allows you to specify a series of rules that will be triggered by various elements in an XML document. These rules may handle the parsing in a number of ways, including creating and populating objects from the XML. Wouldn’t it be great if we could do the same thing in JavaScript? Well, we’re going to make that dream a reality in this chapter, and in the process, make working with XML on the client a much less painful experience.

Keywords

These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

This is a preview of subscription content, log in via an institution.

Buying options

Chapter
USD   29.95
Price excludes VAT (Canada)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   34.99
Price excludes VAT (Canada)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   44.99
Price excludes VAT (Canada)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Rights and permissions

Reprints and permissions

Copyright information

© 2007 Frank W. Zammetti

About this chapter

Cite this chapter

(2007). JSDigester: Taking the Pain out of Client-Side XML. In: Practical JavaScript™, DOM Scripting, and Ajax Projects. Apress. https://doi.org/10.1007/978-1-4302-0197-7_7

Download citation

Publish with us

Policies and ethics