Jump to content

Show More Attributes By An Element


fisoes

Recommended Posts

You will have to decide how exactly you want to output multiple boek elements or multiple docent elements. If you want to keep your table with three columns then you could do e.g.

	<xsl:for-each select="semester/vak">	<tr>	   <td><xsl:value-of select="@id" /></td>		  	   <td>		 <xsl:for-each select="docent">		   <xsl:value-of select="." />  						   <xsl:value-of select="@id" />		   <xsl:if test="position() != last()">, </xsl:if>		 </xsl:for-each>		</td>	   <td>		 <xsl:for-each select="boek">		   <xsl:value-of select="." />  						   <xsl:value-of select="@ISBN" />		   <xsl:if test="position() != last()">, </xsl:if>		 </xsl:for-each>	   </td>	</tr>	</xsl:for-each>

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...