Subject: Re: [xsl] SystemId Unknown? From: Joerg Heinicke <joerg.heinicke@xxxxxx> Date: Fri, 31 May 2002 21:46:43 +0200 |
<xsl:for-each select="Record"> <tr class="rowEven"> <xsl:if test="position() mod 2 = 1"> <xsl:attribute name="class">rowOdd</xsl:attribute> </xsl:if> <xsl:for-each select="Data"> <!-- the rest of your code --> </xsl:for-each> </tr> </xsl:for-each>
I am receiving the following error from one of my transformations:
SystemId Unknown; Line 271; Column 40; class has an illegal attribute: {1} SystemId Unknown; Line 268; Column 40; class has an illegal attribute: {1}
The XSLT at these lines is as follows:
[...] <xsl:for-each select="Record"> <tr> <xsl:for-each select="Data"> <xsl:choose> <xsl:when test="((count(../preceding-sibling::Record) mod 2) != 0)"> <!-- line 268 --> <xsl:attribute name="class">rowEven</xsl:attribute> </xsl:when> <xsl:otherwise> <!-- line 271 --> <xsl:attribute name="class">rowOdd</xsl:attribute> </xsl:otherwise> </xsl:choose> [...]
I cannot for the life of me figure out why I am receiving these errors. Similar code in a different stylesheet works flawlessly. The errors are not fatal, the transformation completes and the output is exactly what I desire, however, the endless stream of errors in the Weblogic console are becoming burdensome. Any advice on how to avoid this error is greatly appreciated!
-dhs
Dean H. Saxe
System Development VIRBUS AG Fon +49(0)341-979-7419 Fax +49(0)341-979-7409 joerg.heinicke@xxxxxxxxx www.virbus.de
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] SystemId Unknown?, Dean Saxe | Thread | RE: [xsl] SystemId Unknown?, Dean Saxe |
[xsl] SystemId Unknown?, Dean Saxe | Date | RE: [xsl] SystemId Unknown?, Dean Saxe |
Month |