on 08-02-2008 7:45 PM
Hi,
Can I use a UDF in XSLT mapping. If yes, can anyone please guide me in the issue. When I searched the forum there is a discussion related to the attachment of Java classes to the XSLT mapping. Does this replace the use of a UDF ? Instead, can we opt for a Java Mapping. Which will be of more help? Kindly suggest your opinions with relevant explanation. Thank you very much for your time.
Krishna.
Hi krishna,
check this links
http://www.topxml.com/rbnews/XML/re-55178_Remove-empty-nodes-in-BizTalk-by-using-XSLT.aspx
http://help.sap.com/saphelp_nw04/helpdata/en/6b/4493404f673028e10000000a1550b0/frameset.htm
http://help.sap.com/saphelp_nw2004s/helpdata/en/d9/718e40496f6f1de10000000a1550b0/content.htm
What is UDF
Regards
srinivas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You cannot use UDF in XSLT mapping. Instead you can create java functions and import as .jar in imported archives. Those imported java functions can be used in xslt mapping.
You need to Specify the class and function in the XSLT program as follows.
<?xml version="1.0"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:ValtrimCase="java:com.ehro.eds.ValueChecker">
<xsl:param name="C_Addresstype">
<xsl:value-of select="CURRENT/ADDRESS_TYPE"/>
</xsl:param>
<ns0:type>
<xsl:if test="function-available('ValtrimCase:ChngLcase')">
<xsl:value-of select="ValtrimCase:ChngLcase($C_Addresstype)"/>
</xsl:if>
</ns0:type>
Thanks,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Follow this link. It explains with an example:
http://help.sap.com/saphelp_nw04/helpdata/EN/55/7ef3003fc411d6b1f700508b5d5211/content.htm
XSLT Mapping with Java Enhancement
Reward points for the useful answers
Regards
Arpil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You cannot use UDF in XSLT mapping. Instead you can create java functions and import as .jar in imported archives. Those imported java functions can be used in xslt mapping.
refer:
XSLT mapping with java enhancements for more details
http://help.sap.com/saphelp_nw04/helpdata/en/0f/80243b4a66ae0ce10000000a11402f/frameset.htm
Thanks,
Jayanth
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.