Hook schema language

From: Eugene Eric Kim (eekim@eekim.com)
Date: Sat Feb 17 2001 - 17:20:37 PST

Hook is a cute little schema language I read about on the python-xml
mailing list:


As an example, here's a complete Hook schema for XHTML elements:

    <hook:order targetNamespace="http://www.w3.org/1999/xhtml" >
      html head [ title; meta. link. base. ] body
      [ a br. blockquote caption; div dl; h1; h2; h3; h4; h5; h6;
            img. ol; p; pre; table; ul; ]
      [ tr; dt; dd; li; ] td
      [ a br. blockquote div form img. ol; ul; li; ]
      [ input; label; select; textarea; ] [ option. ]
      [ abbr acronym address cite code dfn em kbd q samp span strong var
            object; ]


+=== Eugene Eric Kim ===== eekim@eekim.com ===== http://www.eekim.com/ ===+
|       "Writer's block is a fancy term made up by whiners so they        |
+=====  can have an excuse to drink alcohol."  --Steve Martin  ===========+

This archive was generated by hypermail 2.0.0 : Tue Aug 21 2001 - 17:58:02 PDT