[jdom-interest] Question about getting the Content

Tatu Saloranta cowtowncoder at yahoo.com
Sat Nov 3 20:56:54 PDT 2007


--- Ramo At Skuff <ramo at skuff-band.de> 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 


More information about the jdom-interest mailing list