on 09-01-2009 12:46 PM
Dear All
My scenarios is idoc to xml file.For the resultant xml file i have to append a line <?Test Line?> after
<?xml version="1.0" encoding="UTF-8" ?> while passing it to legacy system ?
How generate such a xml file in xi?
Any help would be appreciated
Thanks and regards
uday
this can also be achived using Message mapping .
just create an extra field in the target structure and map it
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
There is two ways to achieve this one
1)Use XSLT Map and add it.
2)Use regular expression you can add extra line where ever you want.
write one user defined function add regex statement.
search in google for documentation abt regular expressions.
cheers,
raj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
use a simple java mapping and add the extra line as you want.
Other option would be a module, but java mapping is much easier.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear All
my requirement is to generate an xml file which looks similar to
<?xml version="1.0" encoding="UTF-8"?>
<?TestLine?>
<test_mt>
<field1>123</field1>
<field2>234</field2>
</test_mt>
how to add <?TestLine?> tag?
Hi shabrasish and rajashekar
i am new to java and xslt mapping can you guide me or give me links which are similar to my requirement how to proceed with this kind of mapping
thanks
uday
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.