Tip: Parsing RDDL documents with PHP

From: IBM developerWorks Worldwide  read times: 85


Provided by yangyi at 2007-12-23 19:48:26


Level: Intermediate

Vikram Vaswani, Founder, Melonfire

10 Dec 2007

The Resource Directory Description Language (RDDL) lets document authors provide more information about resources used within an XHTML document. Parse these RDDL descriptors with an API in the XML_RDDL package from PEAR, and extract resource information for use in any PHP application.

Introduction

If you've worked with XML before, you already know that a namespace lets you qualify XML element names by associating them with a particular URI, thus avoiding conflicts between elements which have the same name. Often, however, a single URI is not enough; what's really needed is a way to describe a namespace using multiple resources, including DTDs, XML Schemas, XSL stylesheets and software documents.

......

Please access the below link to view the full content.

Original link: http://www.ibm.com/developerworks/library/x-tiprddlphp/?S_TACT=105AGX54&S_CMP=A1214&ca=dnw-848