Skip to Content
avatar image
Former Member

Problem when using XSLT Mapping with Java Methods.

<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:javamap="java:at.pi.mapping.besoldung.BesoldungMapping">
	<xsl:template match="Messages">
		<Messages>
			<Message1>
				<xsl:apply-templates></xsl:apply-templates>
			</Message1>
		</Messages>
	</xsl:template>
	<xsl:template match="Message1">
		<test></test>
		<xsl:param name="inputparam"></xsl:param>
		<xsl:for-each select="MT_BesoldungConversions">
			<test1></test1>
			<!-- Prüfen ob die subtractDates Methode verfügbar ist -->
			<xsl:if test="function-available('javamap:createWhitespace')">
				<xsl:if test="function-available('javamap:extendTextWithWhitespaces')">
					<MT_BesoldungOut>
						<EDI_DC40>
							<xsl:param name="tablename">
								<xsl:value-of select="tablename"></xsl:value-of>
							</xsl:param>
							<xsl:variable name="constTen">10</xsl:variable>
							<xsl:value-of select="javamap:extendTextWithWhitespaces($tablename,$tablename, $inputparam)"></xsl:value-of>
						</EDI_DC40>
					</MT_BesoldungOut>
				</xsl:if>
			</xsl:if>
		</xsl:for-each>
	</xsl:template>
</xsl:stylesheet>

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Jan 12, 2009 at 12:21 PM

    incomplete post

    Add comment
    10|10000 characters needed characters exceeded