Hi,
I'm trying to create an HTML table that contains
N-number of rows and 3-columns.
I'm getting the following error:
"A node test that matches either NCName:* or QName was
expected"
Here's my XML:
<Base>
<Art_group>
<Art file_name="Cityscape"
file_uri_lores="/images/book_building/cityscape.jpg"
id="1"/>
<Art file_name="Clock"
file_uri_lores="/images/book_building/clock.jpg"
id="2"/>
<Art file_name="Fish"
file_uri_lores="/images/book_building/Fish.jpg" id="3"
/>
<Art cdguser_id="0" file_name="Glass Tower"
file_uri_lores="/images/book_building/GlassTower.jpg"
id="4" />
...
And the XSL that I'm using:
<table class="threeCol" cellspacing="0"
cellpadding="0">
<xsl:for-each select="/Base/Art_group/Art[position()
mod 3 = 1]">
<tr>
<xsl:for-each select=". |
following-sibling::/Base/Art_group/Art[position() <
3]">
<td class="data">
<input type="radio" name="art_id" id="art_id"
value="{(_at_)id}"/>
<img src="{(_at_)file_uri_lores}" width="135"
height="184" id="coverImage" alt="{(_at_)file_name}" />
</td>
</xsl:for-each>
</tr>
</xsl:for-each>
</table>
I believe the error is on the following-sibling line,
but not quite sure what the problem is.
thanks in advance.
__________________________________
Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online.
http://taxes.yahoo.com/filing.html
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list