XML / HTML parsers

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • lars@nospam.nosoftwarepatents.edu

    XML / HTML parsers

    I'm looking at finally experimenting with java and am looking for
    some XML or HTML parser. Where can I find good ones?

    --
    Lars
    "Chances are that patents on software ... in fact stifle
    innovation. Europe could still alter course"

  • Tom Regner

    #2
    Re: XML / HTML parsers

    lars@nospam.nos oftwarepatents. edu wrote:
    [color=blue]
    > I'm looking at finally experimenting with java and am looking for
    > some XML or HTML parser. Where can I find good ones?
    >[/color]

    I use and recommend the usage of jdom[1] to handle any kind of xml-work in
    java -- it has a clean and simple interface, is well thought out and now
    that 1.0 is finaly released.

    While jdom will serve you well handling xhtml-1.x, html-4.x and it's
    predecessors are another matter - we use HTMLTidy[2] to convert html-4.x to
    xhtml with great success.

    hth,
    tom

    [1] http://www.jdom.org
    [2] http://jtidy.sourceforge.net

    Comment

    • lars@nospam.nosoftwarepatents.edu

      #3
      Re: XML / HTML parsers

      Tom Regner <regner@dievisi on.de> wrote:
      : I use and recommend the usage of jdom[1] to handle any kind of xml-work in
      : java -- it has a clean and simple interface, is well thought out and now
      : that 1.0 is finaly released.
      [snip]
      : [1] http://www.jdom.org
      : [2] http://jtidy.sourceforge.net

      Thanks. That gets me started.

      --
      Lars
      "Chances are that patents on software ... in fact stifle
      innovation. Europe could still alter course"

      Comment

      • news.east.earthlink.net

        #4
        Re: XML / HTML parsers

        castor makes a real nice XML parser. you can point it to a defined XML
        schema and it will build the Java classes for you.

        "Tom Regner" <regner@dievisi on.de> wrote in message
        news:419f4fc1$0 $24987$4d3ebbfe @news1.pop-hannover.net...[color=blue]
        > lars@nospam.nos oftwarepatents. edu wrote:
        >[color=green]
        >> I'm looking at finally experimenting with java and am looking for
        >> some XML or HTML parser. Where can I find good ones?
        >>[/color]
        >
        > I use and recommend the usage of jdom[1] to handle any kind of xml-work in
        > java -- it has a clean and simple interface, is well thought out and now
        > that 1.0 is finaly released.
        >
        > While jdom will serve you well handling xhtml-1.x, html-4.x and it's
        > predecessors are another matter - we use HTMLTidy[2] to convert html-4.x
        > to
        > xhtml with great success.
        >
        > hth,
        > tom
        >
        > [1] http://www.jdom.org
        > [2] http://jtidy.sourceforge.net
        >[/color]


        Comment

        Working...