skip navigation
In detail

XML in easy steps, 2nd edition

By Mike McGrath
£10.99

Publication: June 20, 2007
Pages: 192
ISBN: 978-1-84078-337-7

 

About the book

XML in easy steps instructs you on how to employ XML data documents. It is completely updated from the first edition of this title, which described the emerging XML technologies, to demonstrate those parts of XML that have become popular in today's real-world applications. Clear step-by-step instructions are provided to explain each aspect of XML, and screenshots illustrate every example.

XML in easy steps describes the eXtensible Markup Language(XML), together with the associated technologies of Document Type Definition (DTD), XmlSchema Documents (XSD), and the eXtensible Stylesheet Language (XSL). It illustrates how XML can be used to create Scalable Vector Graphics (SVG), how to access XML data with JavaScript, and how to deploy XML in modern AJAX web applications. You don't need to have previous knowledge of any markup language so it's ideal for the newcomer to XML. By the end of this book you will have gained a sound understanding of XML and be able to create your own well-formed XML documents and validating schemas.

XML in easy steps has an easy-to-follow style that will appeal to anyone who wants to begin using XML. It will appeal to programmers who want to quickly add XML to their skills set, the enthusiast who wants to explore the possibilities of XML, and to those seeking a career in web development who need an understanding of XML.

About the author

Mike McGrath now lives in South-east Europe, on the sun-kissed shores of the Aegean Sea. Mike gained his extensive knowledge of computer languages while working as a developer contracting to companies around the world. His interests include coins of ancient Greece, dining-out with friends, and the ongoing evolution of the world wide web.

Contents

  1. See sections in chapter 1Creating XML documents
    • Introducing XML
    • Differences between XML and HTML
    • Advantages of XML
    • Uses of XML
    • Writing an XML document
    • Styling XML with CSS
    • Understanding XML syntax
    • Correcting XML errors
    • Employing an XML editor
    • Adding comments & entities
    • Avoiding XML attributes
    • Summary
  2. See sections in chapter 2Writing DTD schemas
    • Introducing schemas
    • Nominating a DTD for XML
    • Creating a DTD schema
    • Specifying element sequence
    • Controlling element occurence
    • Allowing alternative elements
    • Permitting element attributes
    • Requiring attribute values
    • Adding comments & entities
    • Summary
  3. See sections in chapter 3Writing XSD schemas
    • Comparing schema types
    • Nominating an XSD for XML
    • Creating an XSD schema
    • Specifying element sequence
    • Controlling element occurence
    • Allowing alternative elements
    • Permitting element attributes
    • Requiring attribute values
    • Adding comments & entities
    • Summary
  4. See sections in chapter 4Adding XSD restrictions
    • Restricting numeric content
    • Restricting date content
    • Creating custom restrictions
    • Restricting by range
    • Restricting string length
    • Restricting digit length
    • Restricting by pattern
    • Enumerating allowable content
    • Summary
  5. See sections in chapter 5Using XML namespaces
    • Introducing namespaces
    • Applying your own namespace
    • Qualifying namespaces
    • Including other schemas
    • Styling the default namespace
    • Importing other namespaces
    • Styling multiple namespaces
    • Using the XLink namespace
    • Summary
  6. See sections in chapter 6Writing XSL stylesheets
    • Introducing XSL
    • Selecting element values
    • Selecting each element
    • Sorting selected elements
    • Selecting elements on condition
    • Choosing alternative elements
    • Applying multiple templates
    • Generating attribute values
    • Summary
  7. See sections in chapter 7Adding XPath expressions
    • Introducing XPath
    • Selecting child nodes
    • Selecting parents & siblings
    • Selecting nodes by position
    • Selecting nodes by comparison
    • Counting selected nodes
    • Formatting node values
    • Manipulating node values
    • Summary
  8. See sections in chapter 8Producing SVG graphics
    • Introducing SVG
    • Producing graphic shapes
    • Producing graphic lines
    • Producing graphic paths
    • Transforming graphic groups
    • Adding hyperlinks in SVG
    • Scripting for graphic events
    • Embedding SVG in HTML
    • Summary
  9. See sections in chapter 9Scripting the XML DOM
    • Introducing the XML DOM
    • Loading XML data
    • Adding cross-browser support
    • Addressing tag names
    • Addressing child nodes
    • Filtering by node type
    • Getting all data
    • Selecting specific data
    • Summary
  10. See sections in chapter 10Deploying XML with AJAX
    • Introducing AJAX
    • Creating a request object
    • Sending a request
    • Processing response data
    • Designing an AJAX application
    • Loading data for AJAX
    • Notifying updates in AJAX
    • Running the AJAX application
    • Summary

Downloads

Win a Google Consultant for a Day

Lost?

Our site map can help you find the page you need.