W3C home > Mailing lists > Public > www-style@w3.org > August 2002

Re: SAX example in Java

From: Jeremy Dunck <ralinon@hotmail.com>
Date: Wed, 21 Aug 2002 15:48:53 -0500
To: sy_cheung2@yahoo.com, www-style@w3.org
Message-ID: <F1345WBTFK9QNpLbpaf0000d4cf@hotmail.com>

>From: Sam Cheung <sy_cheung2@yahoo.com>
>Can anyone please tell me where I can find example of
>how to use SAX to parse a CSS StyleSheet and get rule
>based on the element name/class attribute from the
>Thanks in advance for any help.

You're out of luck, I'm afraid.  For one thing, SAX stands for Simple API 
for XML.... it's an XML parser.  CSS is -not- XML.  Therefore SAX can not be 
used to parse CSS.

If you mean that you would like an example of how to parse CSS, you can 
check out this:



If you mean you would like an example of using SAX with XSLT (or some other 
XML document) try here:



Send and receive Hotmail on your mobile device: http://mobile.msn.com
Received on Wednesday, 21 August 2002 16:49:24 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:03 UTC