[xsl] XSL: parsing

Subject: [xsl] XSL: parsing
From: "Sathasivam, Elayaraja" <elayaraja.sathasivam@xxxxxxxxxxxxx>
Date: Tue, 12 Aug 2008 11:02:18 +0530
Could any one reply for the following,

XSLT: Version 1.0
Processor: Xalan-C_1_8_0-windows_2000-msvc_60
/xerces-c_2_5_0-windows_nt-msvc_60
Platform: Windows XP


Expected output: FIXED
Actual Output: Debug < No output of @brk ???? >

File.xsl
********
<xsl:choose>
	<xsl:when
test="$conf/Configuration/BreakdownList/BreakdownMatrix/BrkSection[@tm=$
TM]/BrkCode[tz=$TZ]"> Debug
	   <xsl:value-of select="@brk"/>
	</xsl:when>
	<xsl:otherwise> Otherwise </xsl:otherwise>
</xsl:choose>

Input.xml
*********
<Configuration>
<BreakdownList>
<BreakdownMatrix>
	<BrkSection tm="TZAOP" comment="Optimaal Special Edition">
		<BrkCode brk="FIXED" comment="nummers: fixed + WAP">
		  <tz>TZ001</tz>
		  <tz>TZ003</tz>
		</BrkCode>
	</BrkSection>
</BreakdownMatrix>
</BreakdownList>
</Configuration>

Regards,
Raja

Current Thread