21 Oct 01:28
using the includes parser
Markus <markus_metz <at> hotmail.com>
2005-10-20 23:28:06 GMT
2005-10-20 23:28:06 GMT
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
RSS Feed