PEAR logo

HTML_CSS : The Definitive Guide

Chapter 6. Parsing data sources

Table of Contents

In brief
Parse a simple string
Parse a file contents
Parse multi data sources
Allow duplicate definitions

In brief

One of the great features of HTML_CSS is to parse and load existing style sheet from different data sources : (simple string, css file, combine). We will see in detail all these possibilities with 3 methods : HTML_CSS::parseString(), HTML_CSS::parseFile() and HTML_CSS::parseData().

HTML_CSS : The Definitive Guide v 1.5.0 : January 15, 2008