What could be the Isssue?

Not enough manual reading/understanding

$ perl -MHTML::Tree -e " print HTML::Tree->new_from_content(q{<header> +<article>})->as_HTML" <html><head></head><body></body></html> $ perl -MHTML::Tree -le " print HTML::Tree->new(qw{ ignore_unknown 0 } +)->parse_content(q{<header><article>})->as_HTML" <html><head></head><body></body><header><article></article></header></ +html> $ perl -MHTML::HTML5::Parser -le " print HTML::HTML5::Parser->load_htm +l( string => \q{<header><article>}) " <?xml version="1.0" encoding="utf-8"?> <html xmlns="http://www.w3.org/1999/xhtml"><head/><body><header><artic +le/></header></body></html> $ perl -MMojo::DOM -le " print Mojo::DOM->new( q{<header><article>} ) +" <header><article></article></header>
$ perl -MXML::LibXML -le " print XML::LibXML->new( qw/ recover 2 / )->load_html( string => q{<header><article>} ); " <?xml version="1.0" standalone="yes"?> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd"> <html><body><header><article/></header></body></html> </c>

htmltreexpather.pl , Parsing HTML / Re^4: Parsing HTML, A regex question , NASA's Astronomy Picture of the Day / Re: NASA's Astronomy Picture of the Day , Re: Extracting HTML content between the h tags, Re^2: Help With Online Table Scraper, Re^4: web::scraper using an xpath, .... HTML Parser suggestions, Extract Portion of HTML


In reply to Re: HTML::Treebuilder look_down not working with <header>, <article> etc by Anonymous Monk
in thread HTML::Treebuilder look_down not working with <header>, <article> etc by Anonymous Monk

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.