[Madrid-pm] fun in article (HTML::Tree::Scanning)
Pancho Horrillo
pancho en pancho.name
Dom Nov 18 12:04:25 PST 2007
Excerpt from HTML::Tree::Scanning
...
Objects of the class HTML::Element each have three noteworthy
attributes:
"_tag" -- (best accessed as "$e->tag") this element’s tag-name,
lowercased (e.g., "em" for an "em" element).
Footnote: Yes, this is misnamed. In proper SGML terminology, this is
instead called a "GI", short for "generic identifier"; and the term
"tag" is used for a token of SGML source that represents either the
start of an element (a start-tag like "<em lang=’fr’>") or the end of an
element (an end-tag like "</em>". However, since more people claim to
have been abducted by aliens than to have ever seen the SGML standard,
and since both encounters typically involve a feeling of "missing time",
it’s not surprising that the terminology of the SGML standard is not
closely followed. ...
:-)
Just wanted to share it.
Have fun!
pancho.
--
Pancho Horrillo
To be conscious that
you are ignorant is a great step
to knowledge.
Benjamin Disraeli
Más información sobre la lista de distribución Madrid-pm