i want to write a java code that prints the value for xml tags from database in java??? which method is suitable for this???

currently i can able to print <company comp:loc=" "/>

here i need to get value for loc=" "... how can i achieve this???

Recommended Answers

All 2 Replies

i want to write a java code that prints the value for xml tags from database in java??? which method is suitable for this???
currently i can able to print <company comp:loc=" "/>
here i need to get value for loc=" "... how can i achieve this???

Which XML library are you using, which DBMS are you using, and what code have you written so far?

Help us to help you :)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.