on 05-28-2012 9:35 AM
I have written the following xslt code :
XSLT :
<?xml version="1.0" encoding="UTF-8" ?>
- <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:ns0="http://XYZ.com/Gen" xmlns:ns1="http://XYZ.com/Test">
</Title>
- <Name>
</Name>
- <Street>
</Street>
- <City>
</City>
</ns1:MT_XSLT_Target>
</xsl:template>
</xsl:stylesheet>
Here in the output the Title and Name field are populated correctly but the Street and City fields are coming as blank in the output ...
what may be the reason.
Hi,
Bear in mind that XML is case-sensitive. Check all the names against upper/lower case. For instance, in Title and Name you are using MT_XSLT_Source, and in Street and City: Mt_XSLT_Source (with lowercase "t"). Change it to MT_XSLT_Source, verify the rest of the field names and it should work fine.
By the way, why don't you use graphical mapping?
Regards,
Greg
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
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.