on 04-05-2007 7:10 PM
Hi all,
I am doing file to file scenario.When I use APPEND in the File adapter it is also adding <?xml version="1.0" encoding="UTF-8" ?>
I need to send a file for every 10 minutes consolidate all files and send at the end of the day.
<?xml version="1.0" encoding="UTF-8" ?>
<ID>31154</ID>
The next time when i send the file with different< ID>31155</ID>
it should append ignoring <?xml version="1.0" encoding="UTF-8" ?>
The consolidated file must look like this...
<?xml version="1.0" encoding="UTF-8" ?>
<ID>31154</ID>
< ID>31155</ID>
Thanks ,
Srinivas
Hi Srinivas,
U can use the file adapters option of calling an operating system command..
Call a shell script and let it trim off the extra <XMl..> tags..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
i'm not if u can have this acheived using xi but u can have a batch file executed that will handle this....this is not a part of xi. u need to write a java prgram (or any) to handle this
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
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.