Click here to Skip to main content
15,881,882 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi everyone!!

Im have a question about java because im new in java language!

i have a template like this:
XML
<item_template id="168000160" name="Godstone: Shulack's Luck" desc="abctest" level="60" mask="12414" max_stack_count="100" item_type="NORMAL" category="GODSTONE" quality="RARE" price="733073" race="PC_ALL" restrict="1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1" desc="1643311" activate_count="1">
		<godstone skillid="8818" skilllvl="1" probability="20" probabilityleft="20"/>
	</item_template>


so i wanna find data in desc="abctest" will show id="168000160".

i mean find abctest will print 168000160.

please help me write a example template in java!!!
thanks
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900