cancel
Showing results for 
Search instead for 
Did you mean: 

Java Mapping for creating custom structure.

Former Member
0 Kudos

HI

I am working on Java mapping. gone through the blogs available.

I wanted to read source (XML) tags and develop a nested XML. I have developed using DOM, SAX but this time i have to build a custom structure.

What are all ways i have to perform this task using Java mapping. Please share some code snippets as well.

2. I am facing a problem with "\n" as on MS Notepad new line is converted into a block. I used "\r\d" still no effect. how to avoid this CRLF issue.

Thanks

Gaurav

Accepted Solutions (1)

Accepted Solutions (1)

VijayKonam
Active Contributor
0 Kudos

In Java mapping you will always build your target structure from scratch. Using DOM or other API is good to go with. I did not understand the problem with /n that you mentioned but.. as long as you read XMLs and creating another XML I dont see any problems. Alternatively, there is a sample module privided by SAP which takes care of CRLF any way you want. Just search the 7.1 help for this or the forum.

VJ

Answers (1)

Answers (1)

Former Member
0 Kudos

Developed.

Sorry Customer structure is to build XSD itself. Done using Java.

Line feeds removed using code with Hexadecimal.

Thanks

Gaurav