XML: Visual QuickStart Guide (2nd Edition)


XML: Visual QuickStart Guide (2nd Edition) by Peachpit Press

List Price: $39.99
Price: $23.63
You Save: $16.36 (41%)

What is XML? XML, or eXtensible Markup Language, is a specification for storing information. It is also a specification for describing the structure of that information. And while XML is a markup language (just like HTML), XML has no tags of its own. It allows the person writing the XML to create whatever tags they need. The only condition is that these newly created tags adhere to the rules of the XML specification.

In the seven years since the first edition of “XML: Visual QuickStart Guide” was published, XML has taken its place next to HTML as a foundational language on the Internet. XML has become a very popular method for storing data and the most popular method for transmitting data between all sorts of systems and applications. The reason being, where HTML was designed to display information, XML was designed to manage it.

This book begins by showing you the basics of the XML language. Then, by building on that knowledge, additional and supporting languages and systems will be discussed. To get the most out of this book, you should be somewhat familiar with HTML, although you don’t need to be an expert coder by any stretch. No other previous knowledge is required.

“XML: Visual QuickStart Guide, 2nd Edition” is divided into seven parts. Each part contains one or more chapters with step-by-step instructions that explain how to perform XML-related tasks. Wherever possible, examples of the concepts being discussed are displayed, and the parts of the examples on which to focus are highlighted.

The order of the book is intentionally designed to be an introduction to the fundamentals of XML, followed by discussions of related XML technologies.

    •    In Part 1 of the book, you will learn how to create an XML document. It’s relatively straightforward, and even more so if you know a little HTML.

    •    Part 2 focuses on XSL, which is a set of languages designed to transform an XML document into something else: an HTML file, a PDF document, or another XML document. Remember, XML is designed to store and transport data, not display it.

    •    Parts 3 and 4 of the book discuss DTD and XML Schema, languages designed to define the structure of an XML document. In conjunction with XML Namespaces (Part 5), you can guarantee that XML documents conform to a pre-defined structure, whether created by you or by someone else.

    •    Part 6, Developments and Trends, details some of the up-and-coming XML-related languages, as well as a few new versions of existing languages.

    •    Finally, Part 7 identifies some well-known uses of XML in the world today; some of which you may be surprised to learn.

This beginner’s guide to XML is broken down as follows:
    •    Introduction
    •    Chapter 1:  Writing XML

    •    Part 2:  XSL
    •    Chapter 2:  XSLT
    •    Chapter 3:  XPath Patterns and Expressions
    •    Chapter 4:  XPath Functions
    •    Chapter 5:  XSL-FO

    •    Part 3:  DTD
    •    Chapter 6:  Creating a DTD
    •    Chapter 7:  Entities and Notations in DTDs
    •    Chapter 8:  Validation and Using DTDs

    •    Part 4:  XML Schema
    •    Chapter 9:  XML Schema Basics
    •    Chapter 10:  Defining Simple Types
    •    Chapter 11:  Defining Complex Types

    •    Part 5:  Namespaces
    •    Chapter 12:  XML Namespaces
    •    Chapter 13:  Using XML Namespaces

    •    Part 6:  Recent W3C Recommendations
    •    Chapter 14:  XSLT 2.0
    •    Chapter 15:  XPath 2.0
    •    Chapter 16:  XQuery 1.0

    •    Part 7:  XML in Practice
    •    Chapter 17:  Ajax, RSS, SOAP and More
 

Read more...

Learning XML, Second Edition


Learning XML, Second Edition by O'Reilly Media

List Price: $39.95
Price: $26.37
You Save: $13.58 (34%)

This second edition of the bestselling Learning XML provides web developers with a concise but grounded understanding of XML (the Extensible Markup Language) and its potential-- not just a whirlwind tour of XML.

The author explains the important and relevant XML technologies and their capabilities clearly and succinctly with plenty of real-life projects and useful examples. He outlines the elements of markup--demystifying concepts such as attributes, entities, and namespaces--and provides enough depth and examples to get started. Learning XML is a reliable source for anyone who needs to know XML, but doesn't want to waste time wading through hundreds of web sites or 800 pages of bloated text.

For writers producing XML documents, this book clarifies files and the process of creating them with the appropriate structure and format. Designers will learn what parts of XML are most helpful to their team and will get started on creating Document Type Definitions. For programmers, the book makes syntax and structures clear. Learning XML also discusses the stylesheets needed for viewing documents in the next generation of browsers, databases, and other devices.

Learning XML illustrates the core XML concepts and language syntax, in addition to important related tools such as the CSS and XSL styling languages and the XLink and XPointer specifications for creating rich link structures. It includes information about three schema languages for validation: W3C Schema, Schematron, and RELAX-NG, which are gaining widespread support from people who need to validate documents but aren't satisfied with DTDs. Also new in this edition is a chapter on XSL-FO, a powerful formatting language for XML. If you need to wade through the acronym soup of XML and start to really use this powerful tool, Learning XML, will give you the roadmap you need.

Read more...

Although Learning XML covers XML rather broadly, it nevertheless presents the key elements of the technology with enough detail to familiarize the reader with this crucial markup language. This guide is brief enough to tackle in a weekend.

Author Erik T. Ray begins with an excellent summary of XML's history as an outgrowth of SGML and HTML. He outlines very clearly the elements of markup, demystifying concepts such as attributes, entities, and namespaces with numerous clear examples. To illustrate a real-world XML application, he gives the reader a look at a document written in DocBook--a publicly available XML document type for publishing technical writings--and explains the sections of the document step by step. A more simplified version of DocBook is used later in the book to illustrate transformation--a powerful benefit of XML.

The all-important Document Type Definition (DTD) is covered in depth, but the still-unofficial alternative, XML Schema, is only briefly addressed. The author makes liberal use of graphics, tables, and code to demonstrate concepts along the way, keeping the reader engaged and on track. Ray also goes deep into some discussion of programming XML utilities with Perl.

Learning XML is a very readable introduction to XML for readers with existing knowledge of markup and Web technologies. It meets its goals very well--to deliver a broad perspective of XML and its potential. --Stephen W. Plain

Topics covered:

  • XML overview
  • XPointer
  • XLink
  • XHTML
  • Presentation with Cascading Style Sheets (CSS)
  • Document Type Definitions (DTDs)
  • XML Schemas
  • Transformation with XSLT
  • Internationalization
  • Simple API for XML (SAX)
Read more...

Beginning XML, 4th Edition (Programmer to Programmer)


Beginning XML, 4th Edition (Programmer to Programmer) by Wrox

List Price: $39.99
Price: $26.39
You Save: $13.60 (34%)

When the first edition of this book was written, XML was a relatively new language but already gaining ground fast and becoming more and more widely used in a vast range of applications. By the time of the second edition, XML had already proven itself to be more than a passing fad, and was in fact being used throughout the industry for an incredibly wide range of uses. With the third edition, it was clear that XML was a mature technology, but more important, it became evident that the XML landscape was dividing into several areas of expertise. Now in this edition, we needed to categorize the increasing number of specifications surrounding XML, which either use XML or provide functionality in addition to the XML core specification.

So what is XML? It's a markup language, used to describe the structure of data in meaningful ways. Anywhere that data is input/output, stored, or transmitted from one place to another, is a potential fit for XML's capabilities. Perhaps the most well-known applications are web-related (especially with the latest developments in handheld web access—for which some of the technology is XML-based). However, there are many other non-web-based applications for which XML is useful—for example, as a replacement for (or to complement) traditional databases, or for the transfer of financial information between businesses. News organizations, along with individuals, have also been using XML to distribute syndicated news stories and blog entries.

This book aims to teach you all you need to know about XML—what it is, how it works, what technologies surround it, and how it can best be used in a variety of situations, from simple data transfer to using XML in your web pages. It answers the fundamental questions:

* What is XML?

* How do you use XML?

* How does it work?

* What can you use it for, anyway?

This book is for people who know that it would be a pretty good idea to learn XML but aren't 100 percent sure why. You've heard the hype but haven't seen enough substance to figure out what XML is and what it can do. You may be using development tools that try to hide the XML behind user interfaces and scripts, but you want to know what is really happening behind the scenes. You may already be somehow involved in web development and probably even know the basics of HTML, although neither of these qualifications is absolutely necessary for this book.

What you don't need is knowledge of markup languages in general. This book assumes that you're new to the concept of markup languages, and we have structured it in a way that should make sense to the beginner and yet quickly bring you to XML expert status.

The word "Beginning" in the title refers to the style of the book, rather than the reader's experience level. There are two types of beginner for whom this book is ideal:

* Programmers who are already familiar with some web programming or data exchange techniques. Programmers in this category will already understand some of the concepts discussed here, but you will learn how you can incorporate XML technologies to enhance those solutions you currently develop.

* Those working in a programming environment but with no substantial knowledge or experience of web development or data exchange applications. In addition to learning how XML technologies can be applied to such applications, you will be introduced to some new concepts to help you understand how such systems work.

The subjects covered in this book are arranged to take you from novice to expert in as logical a manner as we could. This Fourth Edition is structured in sections based on various areas of XML expertise. Unless you are already using XML, you should start by reading the introduction to XML in Part I. From there, you can quickly jump into specific areas of expertise, or, if you prefer, you can read through the book in order. Keep in mind that there is quite a lot of overlap in XML, and that some of the sections make use of techniques described elsewhere in the book.

* The book begins by explaining what exactly XML is and why the industry felt that a language like this was needed.

* After covering the why, the next logical step is the how, so it shows you how to create well-formed XML.

* Once you understand the whys and hows of XML, you'll go on to some more advanced things you can do when creating your XML documents, to make them not only well formed, but valid. (And you'll learn what "valid" really means.)

* After you're comfortable with XML and have seen it in action, the book unleashes the programmer within and looks at an XML-based programming language that you can use to transform XML documents from one format to another.

* Eventually, you will need to store and retrieve XML information from databases. At this point, you will learn not only the state of the art for XML and databases, but also how to query XML information using an SQL-like syntax called XQuery.

* XML wouldn't really be useful unless you could write programs to read the data in XML documents and create new XML documents, so we'll get back to programming and look at a couple of ways that you can do that.

* Understanding how to program and use XML within your own business is one thing, but sending that information to a business partner or publishing it to the Internet is another. You'll learn about technologies that use XML that enable you to send messages across the Internet, publish information, and discover services that provide information.

* Since you have all of this data in XML format, it would be great if you could easily display it to people, and it turns out you can. You'll see an XML version of HTML called XHTML. You'll also look at a technology you may already be using in conjunction with HTML documents called CSS. CSS enables you to add visual styles to your XML documents. In addition, you'll learn how to design stunning graphics and make interactive forms using XML.

* Finally, the book ends with a case study, which should help to give you ideas about how XML can be used in real-life situations, and which could be used in your own applications.

This book builds on the strengths of the earlier editions, and provides new material to reflect the changes in the XML landscape—notably XQuery, RSS and Atom, and AJAX. Updates have been made to reflect the most recent versions of specifications and best practices throughout the book. In addition to the many changes, each chapter has a set of exercise questions to test your understanding of the material. Possible solutions to these questions appear in Appendix A.

Part I: Introduction: The introduction is where most readers should begin. The first three chapters introduce some of the goals of XML as well as the specific rules for constructing XML. Once you have read this part you should be able to read and create your own XML documents.

Chapter 1: What Is XML?: This chapter cover some basic concepts, introducing the fact that XML is a markup language (a bit like HTML) whereby you can define your own elements, tags, and attributes (known as a vocabulary). You'll see that tags have no presentation meaning—they're just a way to describe the structure of the data.

Chapter 2: Well-Formed XML: In addition to explaining what well-formed XML is, we offer a look at the rules that exist (the XML 1.0 and 1.1 Recommendations) for naming and structuring elements—you need to comply with these rules in order to produce well-formed XML.

Chapter 3: XML Namespaces: Because tags can be made up, you need to avoid name conflicts when sharing documents. Namespaces provide a way to uniquely identify a group of tags, using a URI. This chapter explains how to use namespaces.

Part II: Validation: In addition to the well-formedness rules you learn in Part I, you will most likely want to learn how to create and use different XML vocabularies. This Part introduces you to DTDs, XML Schemas, and RELAX NG: three languages that define custom XML vocabularies. It also shows you how to utilize these definitions to validate your XML documents.

Chapter 4: Document Type Definitions: You can specify how an XML document should be structured, and even provide default values, using Document Type Definitions (DTDs). If XML conforms to the associated DTD, it is known as valid XML. This chapter covers the basics of using DTDs.

Chapter 5: XML Schemas: XML Schemas, like DTDs, enable you to define how a document should be structured. In addition to defining document structure, they enable you to specify the individual datatypes of attribute values and element content. They are a more powerful alternative to DTDs.

Chapter 6: RELAX NG: RELAX NG is a third technology used to define the structure of documents. In addition to a new syntax and new features, it takes the best from XML Schemas and DTDs, and is therefore very simple and very powerful. RELAX NG has two syntaxes; both the full syntax and compact syntax are discussed.

Part III: Processing: In addition to defining and creating XML documents, you need to know how to work with documents to extract information and convert it to other formats. In fact, easily extracting information and converting it to other formats is what makes XML so powerful.

Chapter 7: XPath: The XPath language is used to locate sections and data in the XML document, and it’s important in many other XML technologies.

Chapter 8: XSLT: XML can be transformed into other XML documents, HTML, and other formats using XSLT stylesheets, which are introduced in this chapter.

Part IV: Databases: Creating and processing XML documents is good, but eventually you will want to store those documents. This section describes strategies for storing and retrieving XML documents and document fragments from different databases.

Chapter 9: XQuery, the XML Query Language: Very often, you will need to retrieve information from within a database. XQuery, which is built on XPath and XPath2, enables you to do this in an elegant way.

Chapter 10: XML and Databases: XM... Read more...

XML in a Nutshell, Third Edition


XML in a Nutshell, Third Edition by O'Reilly Media

List Price: $44.99
Price: $29.69
You Save: $15.30 (34%)

If you're a developer working with XML, you know there's a lot to know about XML, and the XML space is evolving almost moment by moment. But you don't need to commit every XML syntax, API, or XSLT transformation to memory; you only need to know where to find it. And if it's a detail that has to do with XML or its companion standards, you'll find it--clear, concise, useful, and well-organized--in the updated third edition of XML in a Nutshell.

With XML in a Nutshell beside your keyboard, you'll be able to:

  • Quick-reference syntax rules and usage examples for the core XML technologies, including XML, DTDs, Xpath, XSLT, SAX, and DOM
  • Develop an understanding of well-formed XML, DTDs, namespaces, Unicode, and W3C XML Schema
  • Gain a working knowledge of key technologies used for narrative XML documents such as web pages, books, and articles technologies like XSLT, Xpath, Xlink, Xpointer, CSS, and XSL-FO
  • Build data-intensive XML applications
  • Understand the tools and APIs necessary to build data-intensive XML applications and process XML documents, including the event-based Simple API for XML (SAX2) and the tree-oriented Document Object Model (DOM)
This powerful new edition is the comprehensive XML reference. Serious users of XML will find coverage on just about everything they need, from fundamental syntax rules, to details of DTD and XML Schema creation, to XSLT transformations, to APIs used for processing XML documents. XML in a Nutshell also covers XML 1.1, as well as updates to SAX2 and DOM Level 3 coverage. If you need explanation of how a technology works, or just need to quickly find the precise syntax for a particular piece, XML in a Nutshell puts the information at your fingertips.

Simply put, XML in a Nutshell is the critical, must-have reference for any XML developer.

Read more...

Leading IT Vendors Launch MoReq2010 Technical Committee and Announce XML Schema

London, United Kingdom, July 16, 2011 --(PR.com)-- The DLM Forum launches the MoReq2010 Technical Committee to manage and extend MoReq2010, the new European records management specification, and publishes the first XML Schema that enables


Microsoft Speeding Up SkyDrive on the Client Side

Steven Bailey, a development manager for Windows Live, said in a blog post that the new SkyDrive architecture "basically is AJAX" (or Asynchronous JavaScript and XML) technology. So far, Microsoft has only redesigned the photo viewing and file browsing


U.S. Commodity Futures Trading Commission (CFTC) Selects Innodata's docGenix ...

My ongoing exchange of ideas with representatives of the CFTC, SEC and OFR have underscored for me the timeliness of our investment in launching Innodata's docGenix division and building the docGenix XML data model, a computer-readable algorithmic


W3C Proposes Call Control XML (CCXML) Version 1.0

of Interactive Voice Response (IVR) and Voice over Internet Protocol (VoIP) platforms and services, announced that the W3C (News - Alert) Voice Browser Working Group has published a formal Recommendation of CCXML Version 1.0 (Call Control XML).


Microsoft Speeding Up SkyDrive on the Client Side

15.07.11

Microsoft had tried to use AJAX in years past but found that approach to be too slow due to limitations of the browser. Other problems included slow at the time the end-user connections, the slow JavaScript and XML parsing, and "lack of client-side cache," said Bailey. The new SkyDrive is particularly focused on improving client-side caching as a means of accelerating the user experience. The techniques include a "cache memory" for a session SkyDrive present, more pre-caching of certain elements to improve file views.

Source: Redmondmag.com

Learning XML Learning XML

This new edition of the bestseller has been updated to provide coverage of revised specifications.

About this book
This second edition of the bestselling Learning XMLprovides web developers with a concise but grounded understanding of XML (the Extensible Markup Language) and its potential-- not just a whirlwind tour of XML. The author explains the important and relevant XML technologies and their capabilities clearly...

Sample of XML MultiView API (Geertjan's Blog)

by Geertjan

I've seen some questions around the XML MultiView API and so recreated and then uploaded most of the sample I blogged about here in 2007 . The result is as follows, though currently nothing happens when you click the LinkButtons:

Also note that in 7.1, there'll be an enhanced MultiView Core API, together with support in the IDE when creating new file types, as described here , though you will not be using the XML MultiView API in that case, which means no SectionPanels, etc, which are all part off the XML MultiView API.

...

Read more...