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

RE: Xalan bug?

Subject: RE: Xalan bug?
From: Mukul Gandhi <mukul_gandhi@xxxxxxxxx>
Date: Thu, 2 Dec 2004 03:27:17 -0800 (PST)
xalan bug
Thanks Arun! I surely accept this as a better
solution.. It is working fine with all three
processors(Xalan-j 2.6.0, Saxon-SA 8.1.1 and MSXSL 4).

But I am still curious why my stylesheet is not
working same with all the three processors..

Either Xalan has a bug related to my XSL, or I am
using some non-standard feature(which I am not able to
figure out).. 


--- Arun Sinha <arunsinha666@xxxxxxxxxxx> wrote:

> Hi Mukul,
> >Hello,
> >I was solving a problem posted by a user at
> >microsoft.public.xsl newsgroup. I seem to have been
> >hit by a Xalan bug(Xalan-J 2.6.0), which I wish to
> I think that was a complex solution.
> Try this one.
> <xsl:param name="group-size" select="6" />
> <xsl:template match="/Parent">
>     <xsl:apply-templates select="node" />
> </xsl:template>
> <xsl:template match="node">
>     <xsl:if test="position() mod $group-size = 1 or
> $group-size = 1">
>         <xsl:text>Group :-</xsl:text>
>     </xsl:if>
>     <xsl:value-of select="." />
>     <xsl:if test="position() mod $group-size != 0
> and position() != last()">
>         <xsl:text>, </xsl:text>
>     </xsl:if>
>     <xsl:if test="position() mod $group-size = 0">
>         <br />
>     </xsl:if>
> </xsl:template>
> Cheers.
> Arun
> Choose what you want to read. Protect your mail from
> spam. 
> http://server1.msn.co.in/sp04/hotmailspamcontrol/ 
> Win the war in 9 steps!

Do you Yahoo!? 
The all-new My Yahoo! - What will yours do?

Current Thread


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.
First Name
Last Name
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.