|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] how to test a condtion in XSL file ??
hi, i have my XML content somthing like following: <JartaXmlReport> <RowNum>222000</RowNum> <Sid>222</Sid> <PageUrl>/cww/default.htm</PageUrl> <SessionStartupTime>22</SessionStartupTime> <PageTime>200000000</PageTime> <TransactionTime>200</TransactionTime> <Description>VeriSign Work Process</Description> <PageReferrer>unknown</PageReferrer> <Keywords>Document</Keywords> <DNSLookupTime>2</DNSLookupTime> <ModifiedDate>2000-10-18</ModifiedDate> <ModifiedBy>Ling</ModifiedBy> </JartaXmlReport> <JartaXmlReport> <RowNum>333000</RowNum> <Sid>333</Sid> <PageUrl>/yahoo.com/default.htm</PageUrl> <SessionStartupTime>33</SessionStartupTime> <PageTime>300000000</PageTime> <TransactionTime>300</TransactionTime> <Description>VeriSign Work Process</Description> <PageReferrer>unknown</PageReferrer> <Keywords>Document</Keywords> <DNSLookupTime>3</DNSLookupTime> <ModifiedBy>Ling</ModifiedBy> </JartaXmlReport> <JartaXmlReport> <RowNum>444000</RowNum> <Sid>444</Sid> <PageUrl>/bmc.com/default.htm</PageUrl> <SessionStartupTime>44</SessionStartupTime> <PageTime>400000000</PageTime> <TransactionTime>400</TransactionTime> </JartaXmlReport> now i want to write a rule in XSL which is someting like following : if ((sessionstartuptime > 56) && ( PageTime <= 50)) || (Transaction Time == 78) then Dispaly X else Display Y does someone have anyidea how this kind of condtion can be written in XSL file ?? tx AA ____________________________________________________________________ Get free email and a permanent address at http://www.netaddress.com/?N=1 XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








