Re: [xsl] iterate through nodes and determine output by node type

Subject: Re: [xsl] iterate through nodes and determine output by node type
From: Nick Fitzsimons <nick@xxxxxxxxxxxxxx>
Date: Mon, 1 Oct 2007 19:56:55 +0100
On 1 Oct 2007, at 17:43, Scott Trenda wrote:

For reference, the list of HTML elements is here:
http://www.w3.org/TR/html401/index/elements.html

Not sure where you'll find whether each one is block or inline, but I'd
imagine it'd be in the CSS recommendation.

Actually it's specified in the HTML DTD, right around: <http://www.w3.org/TR/html401/sgml/dtd.html#block>

The easiest way to look at it is that, if it's not listed under "block" (including the three subgroups %heading, %list and % preformatted), then it's inline, as there are slightly more nested subgroups of elements listed under inline, and going through the whole DTD to find the definition of each in terms of actual element names is a pain :-)

Regards,

Nick.
--
Nick Fitzimons
http://www.nickfitz.co.uk/

Current Thread