Package cssutils :: Module parse'
[hide private]
[frames] | no frames]

Module parse'

source code

a validating CSSParser

Usage:

parser = CSSParser()
stylesheet = p.parse('test1.css', 'ascii')

print stylesheet.cssText



Version: $LastChangedRevision: 704 $

Date: $LastChangedDate: 2007-11-25 20:25:58 +0100 (So, 25 Nov 2007) $

Author: $LastChangedBy: cthedot $

Classes [hide private]
  CSSParser
parses a CSS StyleSheet string or file and returns a DOM Level 2 CSS StyleSheet object

Imports: codec, codecs, cssutils, stylesheets