Category: XML

Introduction to XML for Web Developers

Sponsor Advertisement

My image
  • Author: Selena Sol
  • Format: online HTML
  • Price: free

In this tutorial, Selena Sol walks you through XML and the sister XSL style sheet language. Using simple, well-explained examples, Sol shows you how to get up to speed with the syntax of XML.

Chapters include:

  • What is a Markup Language
  • What is XML
  • Advantages of XML: Breaking the Tag Monopoly
  • Advantages of XML: Moving Beyond Format
  • Disadvantages of XML
  • History of XML
  • The Basics of XML
  • Well Formed XML
  • XML Document Structure
  • Data Versus Markup
  • The XML Declaration
  • Elements
  • Character Data
  • Tags
  • CDATA
  • Comments
  • Processing Instructions
  • Entities
  • General Entities
  • Parameter Entities
  • The DOCTYPE Declarations
  • Entity References
  • Introducing the Valid XML Document and the DTD
  • The Prolog and The Body
  • The Basic DTD
  • Element Type Declarations (ETDs)
  • Defining Elements and their Children
  • Ordering Child Elements
  • Repeated Elements
  • Grouping Elements
  • Either/Or
  • Optional Children
  • Mixed Content
  • Empty Elements
  • Defining Valid Element Attributes
  • Attribute Defaults
  • Attribute Types
  • CDATA TYPE
  • ENUMERATED TYPE
  • ID and IDREF
  • NMTOKEN and NMTOKENS
  • NOTATION TYPE
  • Entity Declarations
  • Gathering DTDs from Multiple Sources
  • Public DTDs

http://www.extropia.com/tutorials/xml/toc.html

CSS 2 Tutorial

Sponsor Advertisement

My image
  • Author: Miloslav Nic
  • Format: online HTML
  • Price: free

In this tutorial CSS 2 stylesheets are applied on XML documents. It picks up where the CSS1 tutorial left off.

It is presented in 55 lessons, where you learn by studying examples. A complete reference to CSS 2 and an index of CSS properties are also provided.

Published under a GNU Free Documentation License and available in English, Portuguese, and Czech languages.

http://www.zvon.org/xxl/CSS2Tutorial/General/htmlIntro.html

XML Schema

Sponsor Advertisement

My image
  • Author: Wikibooks, the open-content textbooks collection
  • Format: HTML
  • Price: free

This is a course, in WikiBook format, that takes into consideration the constraints of many learning environments and intended to be reused by a broad variety of audiences. Computer language and operating system-specific issues such as Java, Microsoft, Mac, GNU/Linux and Windows dependencies are isolated into separate labs that can be optimally included by instructors. Kept as modular as possible, it describes the structure of an XML Schema and explains how XML Schemas are used to validate XML documents.

Students of this course should already be familiar with the fundamental principles of XML and have some background on Data Types,

The book is a work in progress, and there may be incomplete or missing chapters.

Chapters include:

  • History of the XML Schema
  • What are XML Schemas Used For?
  • When XML Schema become inefficient at validating complex rules
  • Structure of an XML Schema Document
  • The root element: <xs:schema>
  • The xs: Prefix
  • Elements
  • Attributes
  • Complete Contacts Example
  • Common XML Schema Primitive Data Types
  • Summary of XML Schema Elements
  • Schema Restrictions and Facets for data types
  • Instance Document Attributes

http://en.wikibooks.org/wiki/XML_Schema

Apache Ant

Sponsor Advertisement

My image
  • Author: Wikibooks, the open-content textbooks collection
  • Format: HTML
  • Price: free

Apache Ant (or simply Ant) is an XML-based build scripting language used heavily by the Open Source community. Ant automates tasks such as compiling source code, building deployment packages and automatically checking dependencies of what items need to be updated in a build set.

This wikibook was based on a presentation created by Dan McCreary for the Minnesota Java Open Source User Group. Dan felt strongly that a gentle introduction to Ant was necessary for new people to easily learn Ant. The existing Ant documentation, although useful for advanced Ant users, did not meet the needs of most beginners. For example in the Apache documentation, advanced concepts such as token filters were placed directly in the introduction for beginners. The introductory material also did not

contain full examples with complete sample build files and expected output. Something else was needed. At the same time the introductory material assumed that the reader was familiar with XML. This material covers some of the material you need to know about XML to build Ant scripts.

This Wikibook is also designed to work with other XML-related programming wikibooks such as XML Schema and Programming:XForms.

The book is a work in progress, and there may be incomplete or missing chapters.

Chapters include:

  • Background – History and motivation for Apache Ant
  • Adoption – How and why organizations should adopt Apache Ant
  • XML Summary – A short review of XML syntax for people that are not familiar with XML. This section can easily be skipped by users that already know about XML file structure.
  • Installation – How to download and install Apache Ant
  • Testing – How to test Apache Ant
  • Hello World – How to run a small ant program that prints “Hello World!”
  • Core Concepts – Core Terms and Concepts to be a useful Ant developers
  • Terminology – Terminology (projects, targets and tasks)
  • Build File Structure- The structure of a build file
  • Using Properties Property
  • Depends Setting up Dependencies
  • Fileset Using Fileset
  • Ant Best Practices – Best practices such as how to set up an Ant file
  • Standard Targets – A list of standard targets such as init and clean
  • Local Property Files – how to use a local property file
  • Local File Systems – removing local file system dependencies
  • Ant Cookbook – A set of small complete working example programs that demonstrate examples of how to use Apache Ant
  • Depends – shows how to use the targets depends attribute
  • Property – shows how to use an Ant property
  • Fileset – shows how to use an Ant fileset
  • XML – how Ant can be used to process XML documents
  • XMLwellformed – how to use Apache ant to check an XML file for well formedness
  • XMLvalidate – how to use Apache ant to validate an XML file agains an XML Schema
  • XSLT – how to use Apache ant to run an XML transform
  • Passing Parameters to XSLT – How to pass parameters to an XSLT transform from Apache Ant
  • References – where to get more information on Apache Ant

http://en.wikibooks.org/wiki/Apache_Ant