Markus | 21 Oct 01:28
Picon

using the includes parser

Hi ... I'm an newbie and want to read the value of an xml-element with
the includes parser. for an attribute it's easy -> for example:

protected void startElement(String name, Hashtable attributlist){
  if ("Person".equals(name)){
     myHashtable.put(attributlist.get("Name"), attributlist);
  }
}

if the xml looks like:

<Person Name="My Name"/>

But how do I get the value of element Name, if the xml looks like?

<Person>
   <Name>My Name</Name>
</Person>

Thank you very much for your help!!!!

------------------------ Yahoo! Groups Sponsor --------------------~--> 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM
--------------------------------------------------------------------~-> 

_________________________________________________________________
Thinlet Project Site    | http://thinlet.com
Thinlet Addon Central   | http://thinletplus.com
Thinlet World News Blog | http://thinletworld.com
Thinlet F.A.Q.          | http://xul.sourceforge.net/thinfaq.html 

Gmane