hello,<br>i'm trying to use jdom with the following xml file.<br>i had like to change the port number (here 1099).<br>how can i retrieve the text value of the attribute port ? <br>i have used 3 iteration loop but i'm sure there's less complicated.<br>thanks.<br><br><attributes xmlns="http://geronimo.apache.org/xml/ns/attributes-1.1"><br> <module name="geronimo/rmi-naming/1.1.1/car"><br> <gbean name="RMIRegistry"><br> <attribute name="port">1099</attribute><br> </gbean><br> <gbean name="NamingProperties"><br> <attribute name="namingProviderUrl">rmi://0.0.0.0:1099</attribute><br> </gbean><br> <gbean name="DownloadedPluginRepos"><br> <attribute
name="repositoryList">http://download.boulder.ibm.com/ibmdl/pub/software/websphere/wasce/plugins-1.1.1/default-repositories.txt</attribute><br> <attribute name="userRepositories">[]</attribute><br> </gbean><br> </module><br></attributes><br><br><p> 
<hr size=1>Have a burning question? Go to <a href="http://answers.yahoo.com/;_ylc=X3oDMTFvbGNhMGE3BF9TAzM5NjU0NTEwOARfcwMzOTY1NDUxMDMEc2VjA21haWxfdGFnbGluZQRzbGsDbWFpbF90YWcx">Yahoo! Answers</a> and get answers from real people who know.