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

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

Help us to help you :)

Jump to Post

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 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.