Conditionals in HTMLDatabaseViewer
Brought to you by:
jhereth,
peterbecker
To get more elegant results the HTML viewer should be
able to do conditionals in the sense that some output
happens only if some column does contain a specific
value. I think of using four new elements like <isNull
column="...">, <isNotNull column="...">, <equals
column="..." value="..."> and <notEquals column="..."
value="...">.
Using these conditionals one could create nice displays
for enumerates (e.g. if you have a "type" which is zero
for students and one for staff you could write
"student" and "staff" instead) and you could handle
empty fields better.