on 07-02-2007 11:37 AM
Hi,
Can anyone provide me with data how to access the values of a node while working with java mapping.
Thanks,
Bhargav
Hi,
try with DOM
BTW
if you don't know java why do you use java mapping?
try graphical mapping or xslt
Regards,
michal
-
<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
Refer to following blogs .
Using SAX Parser in Java Program
http://www.javacommerce.com/displaypage.jsp?name=saxparser1.sql&id=18232
DOM Parser
http://www.javacommerce.com/displaypage.jsp?name=domparser1.sql&id=18232
There are three XML parsers.
1. Document Object Model (DOM)
http://www.w3schools.com/dom/dom_parser.asp
2. Simple API for XML (SAX)
http://java.sun.com/j2se/1.4.2/docs/api/javax/xml/parsers/SAXParser.html : API
3. Stream API for XML (StAX)
This parser is more advantageous than SAX. It uses a pull based approach and it can work with multiple XSD's.
http://www.xml.com/pub/a/2003/09/17/stax.html
http://java.sun.com/webservices/docs/1.6/tutorial/doc/SJSXP2.htm
/people/amjad-ali.khoja/blog/2006/02/07/using-dom4j-in-xi--a-more-sophisticated-option-for-xml-processing-than-sap-xml-toolkit
Thanks ,
Suvarna
sample code here may help...
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.