Menu

<p> tag

Help
2005-02-06
2013-04-27
  • javacodeforger

    javacodeforger - 2005-02-06

    Hi,
    I've a file with the content

    <p> some text </p>

    When I try to extract this tag using

          NodeList linkList = new NodeList ();
          htmlNode.collectInto(linkList,nodeFilter);

    where the nodeFilter is a simple

    new TagNameFilter("p")

    it extracts for me
    <p>

    when i do a toHtml();

    why can't the parser extract the whole tag
    <p> some text </p>

    pls help

     
    • javacodeforger

      javacodeforger - 2005-02-13

      Hello
      does anyone have the solution to this problem?
      why cat htmlparser recognize tags like
      <p></p>
      <em></em>

      etc

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.