[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Mod functionality in MSXML Parser (http://www.w3.org/TR/WD-x

Subject: Mod functionality in MSXML Parser (http://www.w3.org/TR/WD-xsl)
From: "Iyer, Srinivasan (MLIP - PCC)" <ISrinivasan@xxxxxxxxxxxxx>
Date: Fri, 11 Aug 2000 18:32:16 -0400
wd x
Hello,
I am using the MSXML Parser and using the following namespace
<xsl:stylesheet xmlns:xsl="http://www.w3.org/TR/WD-xsl">
I want to acheive the follwoing 
	xsl:if test='position() mod 2 = 0'> ///////// mod & psoition .....
	<TR class='even' ID='Data' style='cursor:hand'
onmouseout='javascript:RemoveHighlight()'
onmouseover='javascript:HighlightRow()'>
	</xsl:if>

my problem is I have to write the following to conform to the namespace
specification
<xsl:stylesheet xmlns:xsl="http://www.w3.org/TR/WD-xsl">
which supports neither mod nor position ....  ;-((

The only thing I could come up with is this ....
         <xsl:if expr="(childNumber(this) % 2) == 0"> but this does not work
....

Is using this namespace a potential problem ??????

Thanks
Srini

 
      





 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.