It seems to not be working at all ![[sad] [sad] [sad]](/data/assets/smilies/sad.gif)
Basically, I am in the process of trying to move my HTML pages that use XML as data to populate the tables... (which works fine)
To XML pages that use XSLT to transform and display the page...
The original method in the html page looks like this:
The Attempt in the XSLT to try to copy the functionality looks like this:
In the XSLT method, the links don't apear, nor do the images...
Here are the resulting pages...
This page:
With xsl:
Sould look like:
(which used this XML
What's wrong with it???

PROGRAMMER:
Red-eyed, mumbling mammal capable of conversing with inanimate objects.
![[sad] [sad] [sad]](/data/assets/smilies/sad.gif)
Basically, I am in the process of trying to move my HTML pages that use XML as data to populate the tables... (which works fine)
To XML pages that use XSLT to transform and display the page...
The original method in the html page looks like this:
Code:
...
<xml src="xml/qbasic.xml" id="xmlfile" async="false" />
...
<table class="view" datasrc="#xmlfile">
<thead>
<th>Title</th>
<th>Author</th>
<th>Description</th>
<th>Screen Shot</th>
</thead>
<tbody>
<tr align="center">
<td class="f"><a datafld="Link"><span datafld="Name" /></a></td>
<td class="f"><a datafld="ALink"><span datafld="Auth" /></a></td>
<td class="n"><span datafld="Desc" /></td>
<td class="s"><img datafld="Pic" width="160" onmouseover="scrsht.src = this.src; scrsht.width=640" /></td>
</tr>
</tbody>
</table>
...
The Attempt in the XSLT to try to copy the functionality looks like this:
Code:
...
<table class="view">
<thead>
<th>Title</th>
<th>Author</th>
<th>Description</th>
<th>Screen Shot</th>
</thead>
<tbody>
<xsl:for-each select="Site/Files/File">
<tr>
<td class="f">
<a>
[b]<xsl:attribute name="href"><xsl:value-of select="Link"/></xsl:attribute>[/b]
<xsl:value-of select="Name"/>
</a>
</td>
<td class="f">
<a>
[b]<xsl:attribute name="href"><xsl:value-of select="ALink"/></xsl:attribute>[/b]
<xsl:value-of select="Auth"/>
</a>
</td>
<td class="n"><xsl:value-of select="Desc"/></td>
<td class="s">
<img width="160" onmouseover="scrsht.src = this.src; scrsht.width=640">
[b]<xsl:attribute name="src"><xsl:value-of select="Pic"/></xsl:attribute>[/b]
</img>
</td>
</tr>
</xsl:for-each>
</tbody>
</table>
...
In the XSLT method, the links don't apear, nor do the images...
Here are the resulting pages...
This page:
With xsl:
Sould look like:
(which used this XML
What's wrong with it???

PROGRAMMER: