Click here to Skip to main content
15,879,326 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi! im new in java and xml.
I have xml template:

XML
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<skill_data>
	<skill_template skill_id="100" name="기초 장검 수련" nameId="563631" name_desc="P_EQUIP_EnhancedSword_G1">
		<properties first_target="ME"/>
		<useconditions>
			<move_casting allow="false"/>
		</useconditions>
	</skill_template>
</skill_data>


and declare in java:

Java
public int getSkillId() {
		return skill_id;
	}

	public String getName() {
		return name;
	}


And my question is how to get name string value by skill_id value?

Thanks for your help!
Posted

1 solution

 
Share this answer
 

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