on 05-22-2009 10:39 AM
Hi FRNDS,
I uploaded one XML File in imported Archieves, i have to read the value form XML uisng JAVA code,
using XSL able to read like xsl variable name='TimeZone' select =$linkDoc//...........*
But using java i have to read the value from XML,is it possible to read the value??
please give me some sample code.
regards,
Raja Sekhar
thanks,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
For reading XML through Java, Parsing (DOM, SAX) technique is used.
Just google How to read XML Values using JAVA, you will get a lots of links.
For reference, you can go through these links :-
1. www.java-tips.org/java-se-tips/javax.xml.parsers/how-to-read-xml-file-in-java.html
2. www.totheriver.com/learn/xml/xmltutorial.html
Regards,
Chandra
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
But using java i have to read the value from XML,is it possible to read the value??
Check the below JAVA code from help:
http://help.sap.com/saphelp_nwpi71/helpdata/en/55/7ef3003fc411d6b1f700508b5d5211/content.htm
you can ignore the XSLT part and configure only the JAVA code...check if this suits your needs.
Regards,
Abhishek.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
92 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.