xsl-list
[Top] [All Lists]

RE: [xsl] XSL: parsing

2008-08-12 01:50:52
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(_dot_)sese(_at_)asiatype(_dot_)com] 
Sent: Tuesday, August 12, 2008 12:39 PM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
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 
[(_at_)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




--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>