Re: SAX example in Java


Thanks for your quick response. I actually meant SAC
(The Simple API for CSS) example in Java. I went to
the website looking
for examples in Java (how to parse a CSS and lookup
rules), but I could not find one there. So I am
wondering where I can find any examples in that area.

Thanks for your help.


--- Jeremy Dunck <> wrote:
> >From: Sam Cheung <>
> >Hi,
> >
> >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
> >StyleSheet.
> >
> >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:
> or
> If you mean you would like an example of using SAX
> with XSLT (or some other 
> XML document) try here:
> HTH,
>   Jeremy
> Send and receive Hotmail on your mobile device:

Do You Yahoo!?
HotJobs - Search Thousands of New Jobs

Received on Thursday, 22 August 2002 07:25:39 UTC