Subject: Re: Question about getting the Content 2007-11-03 - By Tatu Saloranta
Back --- Ramo At Skuff <ramo@(protected)> wrote:
> Hi, > > may be it's a simple question, but i don't know how > to solve it. > > If i want to get the Element from: <radio type="rd" > id="rd_01" name="rd_01" > mandat="y" value="Marketing"/> Marketing > > How could i do this? I have no idea... > > Any tips for me?
You could start by reading a JDOM tutorial.
Generally you do something like this by parsing the document into a JDOM tree, and then accessing that element either by calls via document element, or using xpath expression to find it.
-+ Tatu +-
__ ____ ____ ____ ____ ____ ____ ____ ____ ____ __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com __ ____ ____ ____ ____ ____ ____ ____ ____ ____ To control your jdom-interest membership: http://www.jdom.org/mailman/options/jdom-interest/youraddr@(protected)
|
|