xsl-list
[Top] [All Lists]

Re: [xsl] Understanding why <tag></tag> is the way it is (was Re: [xsl] IE Client side transformation issue)

2007-08-03 06:35:08
On 8/3/07, Norman Gray <norman(_at_)astro(_dot_)gla(_dot_)ac(_dot_)uk> wrote:
   1. <p></p> (fully normalised form)
   2. -> <p</p> (you didn't have to close tags if you were starting a
new one immediately)
   3. -> <p</> (use the null end tag </> to close the most recently
started element)
   4. -> <p/> (if you had redefined the NET string from '</' to '/').

...and <p/> was deemed to look adequately pretty (I might be
misremembering this slightly, but it was something very like that).

...and so the empty element was born?


Norman
[drifting down memory lane]

That's some great information Norman - thanks!

If only there was a pub quiz question on how the empty element syntax
came about...  :)


-- 
http://andrewjwelch.com

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>