eHTML
- Posted by Alex Chamberlain <alex.chamberlain at tiscali.co.uk> Oct 20, 2005
- 460 views
I am writing an include to generate XHTML by euphoria programs, it could be used be cgi or documentation programs. There is a basic procedure;
eTag(sequence tag, sequence attributes, integer state)
(state is OPEN, CLOSE, or EMPTY - all constants) Obviously, this could then be 'wrapped' to produce a certain tag, ie eHTML(integer state) I have one problem though or decision to make would people prefer:
eArea(integer state, sequence id, sequence class, sequence style, sequence title, sequence shape, sequence coords, sequence href, sequence nohref, sequence alt, sequence onfocus, sequence onblur)
OR
eArea(integer state, sequence attributes)
Obviously, not all attributes are used all the time. Chers, Alex