> > > role="php" is used for PHP color highlighting in the new
> > > CHM version, and may be used for other things (eg. generating
> > > an index of examples by type). So if an example contains sql
> > > code, then it's quite nice to have it with role="sql".
> > > role="mysql" may be too specific though...
> > 
> > imho having a sql string show as a normal PHP string 
> > is fine.  What would role="sql" do, make keywords 
> > like SELECT and INSERT bold?
> 
> Maybe :) And would also be useful in an
> "examples by type" index ;))
> 
> role="sql" is just classification. The non-php examples 
> *should not* use the role="php" attribute-value.
> 
> Currently only the PHP examples are hilghlited, and only
> in the offline new CHM version. But tagging examples with
> their types may open several possibilities in the future...

So to justify this a bit more, it's much more important, what
it means, than how it's rendered right now... So please classify
examples.

We may also invent a list of example classes. Some candidates:

php sql httpd ini shell http

Goba


Reply via email to