Skip to Content
0

Text to xml mapping in xslt code.

Mar 01, 2017 at 06:41 AM

61

avatar image

Dear experts,

I'm trying to use altova map force enterprise edition 2017.

My requirement is to create xslt mapping code to convert text file to xml file.

I am able to do the mapping and get XML output however I can't get xslt code for the same as I don't have the option to use text file when output method is XSLT.

Please give me some ideas on this.

Regards,

Vidhya Nizamkar

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

3 Answers

Evgeniy Kolmakov Mar 01, 2017 at 07:09 AM
0

Hi Vidhya!

My requirement is to create xslt mapping code to convert text file to xml file.

I would suggest not to use cannon against the fly and develop java mapping for your requirement.

Regards, Evgeniy.

Share
10 |10000 characters needed characters left characters exceeded
avatar image
Former Member Oct 16, 2017 at 03:27 PM
0

Any solution please, I am also trying the same but unable to get input text .

Show 1 Share
10 |10000 characters needed characters left characters exceeded

Hi Shashi! The answer is given above. Use java mapping for that. XSLT is not intended for text files processing.

Regards, Evgeniy.

0
avatar image
Former Member Oct 16, 2017 at 11:18 PM
0

Source file has to be in XML format for XSLT mapping. So either convert your text file in to XML thru file content conversion or just go with java mapping as mentioned by Evgeniy.

Share
10 |10000 characters needed characters left characters exceeded