on 11-08-2009 8:54 PM
Hi,
I have created a SAX parser for parsing my document, which is fairly easy.
I would like to create a document in may mapping using the SAX document creation. I'm just unable to find any documentation on how the SAX document can be created.
Can you help with how I can construct the SAX document in Java.
Regards
Daniel Graversen
[Figaf|http://figaf.com]
Hi Daniel,
This is a very good blog where u can have an idea of how Java Mapping is done using SAX parser.
http://www.riyaz.net/blog/xipi-java-mapping-demystified/
Some more stuff for Java Mapping-DOM and SAX:
/people/thorsten.nordholmsbirk/blog/2006/08/10/using-jaxp-to-both-parse-and-emit-xml-in-xi-java-mapping-programs
/people/prasad.ulagappan2/blog/2005/06/29/java-mapping-part-i
/people/prasad.ulagappan2/blog/2005/06/29/java-mapping-part-ii
/people/prasad.ulagappan2/blog/2005/06/29/java-mapping-part-iii
http://www.javacommerce.com/displaypage.jsp?name=index.sql&id=18232
http://www.javacommerce.com/displaypage.jsp?name=saxparser1.sql&id=18232
Regards,
Vinod.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
He Daniel,
What do you mean by constructing SAX Dcoument??SAX Parcer parse the document ,if you want define output required format you need write a java mapping such a way.
Regards,
Raj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Daniel,
You need to create a java mapping for this. Check the blog of Stefan on how to write the code for fetching the complete payload.
/people/stefan.grube/blog/2006/10/23/testing-and-debugging-java-mapping-in-developer-studio
Then you can use your SAX parser(which you have developed). Make sure you have com.sap.xpi.ib.mapping.lib.jar added to the project folder when you create the java mapping
Regards
Suraj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.