Jump to content

Show More Attributes By An Element


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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...