At 05:00 PM 2000-01-04 -0800, Ask Bjoern Hansen asked:
>Using the "old" HTML::Parser...
>[...]
>why is $t->[2]->{foobar} set to "foobar"? How can I see the difference
>between just "foobar" in the original input and 'foobar= "foobar"'?
You can't, because "<element foo>" /means/ "<element foo='foo'>". That's
why the parser doesn't distinguish them.
ObXHTML:
"XML does not support attribute minimization. Attribute-value pairs must be
written in full. Attribute names such as compact and checked cannot occur
in elements without their value being specified.
CORRECT: unminimized attributes
<dl compact="compact">
INCORRECT: minimized attributes
<dl compact>
"
-- http://www.w3.org/TR/xhtml1/
--
Sean M. Burke [EMAIL PROTECTED] http://www.netadventure.net/~sburke/