fisoes Posted September 11, 2009 Share Posted September 11, 2009 **** Link to comment Share on other sites More sharing options...
Martin Honnen Posted September 11, 2009 Share Posted September 11, 2009 You can certainly process all child elements with e.g. <xsl:for-each select="*">.Or you can process all boek child elements with e.g. <xsl:for-each select="boek">.You will first have to adapt the structure of the table you are trying to output. Link to comment Share on other sites More sharing options...
fisoes Posted September 11, 2009 Author Share Posted September 11, 2009 ******* Link to comment Share on other sites More sharing options...
Martin Honnen Posted September 11, 2009 Share Posted September 11, 2009 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 More sharing options...
fisoes Posted September 12, 2009 Author Share Posted September 12, 2009 ****** Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.