From: jbritt@... Date: 2003-02-16T13:55:24+09:00 Subject: Re: why html template systems never use new tags? > I'm working on a templating system right now that works as an abstract > class. It will scan a well-formed (in the XML sense) HTML document, > and grab subtrees where the root of the subtree has a code attribute - > this attribute isn't in any of the published standards, so I feel > pretty safe using it for now. Um, pretty sure XHTML strict, for example, won't allow arbitrary attributes. For example, using the 'border' attribute on an img element will break validation. Any elements or attributes not defined in the corresponding DTD or scheme would need to be removed before the results are sent to a browser. This is one reason PIs (processing instructions; ) work well, or else non-HTML/XML markup (e.g. <% %>) that gets removed before any HTML/XML tools see the text. James