Andy Armstrong <[EMAIL PROTECTED]> writes: > On 24 Feb 2006, at 17:46, Terrence Brannon wrote: > > If you want to stay pure HTML, then do this: > > > > <span myparser_action="include" myparser_args="header.html" /> > > The syntax was just chosen for conciseness but the actual syntax > looks like > > <ido:include src="blah.html" /> > > I /assumed/ (perhaps mistakenly) that HTML::Parser would be OK with > arbitrary tag names provided everything was syntactically correct. Is > that a stupid assumption?
No, that's a completely valid assumption. HTML::Parser does not care what the name of the tags are. This is needed to have any hope of parsing real-world HTML and it will certainly stay that way. No need to worry. HTML::Parser does treat a few tags (title, script, style, textarea) specially in that their content are parsed according to different rules than normal and unknown tags. --Gisle