Subject: RE: [xsl] XSL: parsing From: "Sathasivam, Elayaraja" <elayaraja.sathasivam@xxxxxxxxxxxxx> Date: Tue, 12 Aug 2008 14:21:57 +0530 |
The condition matches perfect. I can able to get the output as Debug. Please find the value as follows, $conf: <xsl:variable name="conf" select="document('bgh_config.xml')"/> No issues, just loading the input xml file. $TZ : TZAOP $TM: TZ003 There is not output of===========> <xsl:value-of select="@brk"/> This instructions are called in the template such as <xsl:for-each select="document(/Envelope/Part/@File)/Document/CallDetails/Call"> <!-- instructions called here --> </xsl:for-each> Input xml file < Document> <CallDetails> <Call> <XCD DV="40" Id="26231918" UM="" DC="0.000000" OAmt="0.000" DAmt="1.000" CC="EGP" TM="TZ003" SN="RTEL" TT="ETP01WOP01" TZ="ZT095" RT="BASE" CTI="0" CT="1" RTON="1" APN="111635766" NI="H" NN="EGYEM" ANP="APN" URP="1" TTR="0.000" DES="NV" DZP="gprse" CGI="60203" OPN="etisalat" UV="544.000000" DLV="565.000000" RQSP="0" RQSR="0" RQSD="0" RQSPT="0" RQSMT="0" NQSP="0" NQSR="0" NQSD="0" NQSPT="0" NQSMT="0" DAV="1109.000000" DAUM="GPRS" CQV="544.000000" CQUM="Byte" SP="GSP" /> </Call> </CallDetails> </ Document> Regards, Raja _________________________________________________________________ -----Original Message----- From: Jeff Sese [mailto:jeferson.sese@xxxxxxxxxxxx] Sent: Tuesday, August 12, 2008 12:39 PM To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: Re: [xsl] XSL: parsing On 08 12, 08, at 1:32 PM, Sathasivam, Elayaraja wrote: > File.xsl > ******** > <xsl:choose> > <xsl:when > test="$conf/Configuration/BreakdownList/BreakdownMatrix/BrkSection > [@tm=$ > TM]/BrkCode[tz=$TZ]"> Debug > <xsl:value-of select="@brk"/> maybe the current node does not have the said attribute... but I can't confirm cause you don't show in what template this instructions are called.... -- Jeferson L. Sese jeferson dot sese at asiatype dot com Asiatype Inc. Suite 114 Columbia Tower Ortigas Ave., Greenhills Mandaluyong City 1550 Philippines Tel: +632-744-6262 Mobile: +63927-671-7901
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] XSL: parsing, Jeff Sese | Thread | [xsl] XSL: parsing, Jeff Sese |
Re: [xsl] XSL: parsing, Jeff Sese | Date | [xsl] XSL: parsing, Jeff Sese |
Month |