on 01-16-2007 10:30 PM
Hi All,
Is there a way in XI to make the output xml generated after mapping as a single String or blob.
Example:
if the output is
<?xml version="1.0" encoding="UTF-8"?>
<Emp_Target_MT>
<Emp_Id>1</Emp_Id>
<Emp_Name>ba</Emp_Name>
</Emp_Target_MT>
Can this output be made as a single string or blob?
the scenario is to generate the output xml and pass it on to an Oracle Stored Procedure which takes only one parameter as the entire output xml.
Regards,
Balaji.M
Hi,
do u want the output with one string with xml tags ? Or just a value ?
If just a value, just concatenate into one field in the target during mapping and the send the data .
does it help?
Rgds,
Moorthy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I think you need to write UDF for this. there is library from apache called XML Serializer. Below is the sample file how you achieve that using that. Use that code in your UDF.
http://www.informit.com/articles/article.asp?p=31349&seqNum=3&rl=1
--Archana
Hi
which receiver adapter will you use?
Regards
J.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
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.