Re: Question about getting the Content

Tatu Saloranta <[email protected]>
Newsgroups gmane.comp.java.jdom.general
Message-ID <[email protected]>
--- Ramo At Skuff <[email 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/[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.