Skip to main content

Introduction to Server-Side XML

  • Chapter
Beginning XML with DOM and Ajax
  • 574 Accesses

Summary

In this chapter, I showed you how to use server-side processing to work with XML documents. I examined the advantages of working on the server compared with client-side processing. You saw that you can apply transformations on the server and send only the transformed content to the client. This approach reduces the amount of content sent to the client and avoids the need to code for different browser types and versions.

The chapter gave a brief overview of using .NET 2.0 and PHP 5 to work with XML content. I worked through some simple examples showing how to perform common XML-related tasks. I looked briefly at

  • Applying an XSLT transformation to an XML document to create XHTML

  • Creating new elements and updating an external XML document

  • Modifying existing XML content

  • Deleting content from within an XML document

Even though I only covered .NET and PHP, many of the DOM manipulation methods are similar to those used client-side. The techniques demonstrated within this chapter could apply equally to other server-side languages. In the next two chapters, I’ll look at each of the two approaches in more detail.

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

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 34.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 44.99
Price excludes VAT (USA)
  • 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

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

© 2006 Sas Jacobs

About this chapter

Cite this chapter

(2006). Introduction to Server-Side XML. In: Beginning XML with DOM and Ajax. Apress. https://doi.org/10.1007/978-1-4302-0177-9_11

Download citation

Publish with us

Policies and ethics