Subject: Re: convert large array to several smaller arrays containingmax N elements
From: "J.Pietschmann" <j3322ptm@xxxxxxxx>
Date: Tue, 11 Nov 2003 23:35:55 +0100
|
David Everly wrote:
The problem is, with the following, I get validation errors:
Nitpick: this is a "well-formed" error, IOW the style sheet is
not well formed XML:
<xsl:if test="position() mod 2 = '0'">
</topgroup>
This closes a "topgroup" element without any open element
of this type. Yeah, the error message could be a bit more
intelligent (complain to the Xalan-C maintainers).
Just do it right:
<xsl:if test="position() mod 2 = '0'">
<topgroup>
</topgroup>
</xsl:if>
J.Pietschmann
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|