Forum OpenACS Development: Re: Moving to XHTML

Collapse
8: Re: Moving to XHTML (response to 1)
Posted by Torben Brosten on

I find these wikipedia references useful summaries on the topic:

http://en.wikipedia.org/wiki/XHTML

http://en.wikipedia.org/wiki/Comparison_of_layout_engines_(XHTML)

Since OpenACS already has a few template options (that are works in progress), why not add a default-master-html and default-master-xml etc. and an acs-subsite parameter that flags standard XHTML versus HTML and developers reference it with procedures that generate code/content? If not available as a parameter, then maybe as an acs-templating variable via property tags?

I'm sure that a few filters could help user-input validate. I'm working on one that translates html tables into lists.. and should work even when some of the table tags are missing (similar to how rendering engines can "forgive" some ommitted tags).

Anyway, with the parallel templates, the system could handle both conditions.