<!doctype html public '-//W3C//DTD HTML 4.01//EN'>
<!-- Editors & translators, please, edit Overview.en.tmpl, not .html -->
<html lang=en>
 <head>
  <title>SAC: The Simple API for CSS</title>
  <!-- include head.inc -->
  <link rel="next" href="../Disclosures" title="Patent disclosures">
  <link rel="prev" href="../../CSS/Test/" title="Test suites">
  <!-- include translations1 -->

 <body>
  <!-- include translations2 -->

  <h1><em>Cascading Style Sheets</em>
    SAC: The Simple API for CSS</h1>

  <div class=section>
   <h2>Main links</h2>
   <ul>
    <li><a href="../">CSS home page</a>
    <li><a href="/TR/SAC/">W3C Note</a>
   </ul>
  </div>

  <div class=section id=intro>
   <h2>SAC</h2>

   <p>SAC 1.0 is a standard interface for CSS parser and supposed to
    work with <a href="/TR/REC-CSS1">CSS1</a>, <a
    href="/TR/REC-CSS2">CSS2</a>, <a
    href="/Style/CSS/current-work">CSS3</a> (currently under development)
    and other CSS derived languages.
   </div>

  <div class="section" id="NOTE">
   <h2>Note</h2>
   <ul>
    <li><a href="/TR/SAC/">W3C Note</a></li>
    <li><a href="http://www2.airnet.ne.jp/sardine/docs/SAC">Japanese
    translation of the W3C Note</a> (Thanks to Atsushi Sugimura)</li>
   </ul>
  </div>

  <div class="section" id="Status">
   <h2>Status</h2>

   <p>Comments on SAC are invited and are to be sent to the public
   mailing list
   <a href="mailto:www-style@w3.org">www-style@w3.org</a>. An archive
   is available
   at <a href="http://lists.w3.org/Archives/Public/www-style/">
   http://lists.w3.org/Archives/Public/www-style/</a>.

   <p>The API is a beta version which may be updated, replaced or
   obsoleted by other versions at any time. It is therefore
   inappropriate to use it as reference material or to cite it as
   other than "work in progress". This is work in progress and does
   not imply endorsement by, or the consensus of, either W3C or
   members of the Style Activity.

   <p>This API has been produced as part of
   the <a href="/Style/Activity">W3C Style Activity</a>.
  </div>

  <div class="section" id="Java">
   <h2>SAC 1.3: Java Implementation</h2>
   <ul>
    <li><a href="/2002/06/sacjava-1.3.zip">SAC 1.3 (Download)</a>
    <li><a href="doc">SAC 1.3 Online javadoc documentation</a> <a
    href="/2002/06/sacjavadoc-1.3.zip">(Download)</a>
    <li>Some SAC implementation in Java:
     <ul>
      <li><a href="/2002/06/flutejava-1.3.zip">Flute 1.2 (download)</a>
       (W3C). This implementation is using JavaCC.
      <li><a
       href="http://cvs.apache.org/viewcvs.cgi/xml-batik/sources/org/apache/batik/css/parser">
       Batik SAC 1.2 CSS Parser</a> (Apache). Smaller and faster than
       flute! Only available on the Apache CVS server.
      <li><a href="http://cssparser.sourceforge.net/">CSS Parser</a>
       (David Schweinsberg). The CSS Parser, very soon to be updated
       to SAC 1.3, is implemented as a package of Java classes, that
       inputs Cascading Style Sheets Level 2 source text and outputs a
       Document Object Model Level 2 Style tree. Alternatively,
       applications can use SAC: The Simple API for CSS. Its purpose
       is to allow developers working with Java to incorporate
       Cascading Style Sheet information, primarily in conjunction
       with XML application developments.
     </ul>
   </ul>
  </div>

  <div class="section" id="C">
   <h2>SAC 1.3: C Implementation</h2>
   <ul>
    <li><a href="/2002/06/sacc-1.3.zip">SAC 1.3 C (Download)</a></li>
   </ul>
  </div>

  <div class="section" id="Ruby">
   <h2>SAC 1.3: Ruby Implementation</h2>
   <ul>
    <li>Aaron Patterson made a partial implementation of SAC. See the <a
    href="http://csspool.rubyforge.org/">CSSPool</a> page.
   </ul>
  </div>

  <div class="section" id="Perl">
   <h2>SAC 1.0: Perl Implementation</h2>
   <ul>
    <li>Robin Berjon made a Perl version of SAC. See his <a
     href="http://lists.w3.org/Archives/Public/www-style/2001Mar/0040.html">
     announcement</a>.
   </ul>
  </div>

  <!-- include feedback -->

  <!-- include banner -->

  <div class=section id=endmatter>
   <address>
    <a href="mailto:plh@w3.org">Philippe Le Hégaret</a><br>
   </address>

   <p><a href="/Style/CSS/Buttons"><img alt="CSS" class=button
    src="/Style/CSS/Buttons/mwcos"></a> <a
    href="http://jigsaw.w3.org/css-validator"><img class=button
    src="http://jigsaw.w3.org/css-validator/images/vcss" alt="Valid
    CSS!" ></a> Created 24 October 1999. Last updated
    <!-- include date -->
  </div>

  <!-- include translations4 -->

<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-indent-step:1
End:
-->
