View Single Post
  #3 (permalink)  
Old December 3rd, 2006, 10:46 AM
robert_trudel_fr robert_trudel_fr is offline
Registered User
 
Join Date: Dec 2006
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
quote:Originally posted by mhkay
 If each of the months has the same internal structure, do something like this:

<xsl:variable name="months" select="month">
<xsl:for-each select="$months[1]/*">
<xsl:variable name="p" select="position()"/>
<tr>
    <td><xsl:value-of select="name()"/></td>
    <xsl:for-each select="$months">
     <td><xsl:value-of select="*[$p]"/></td>



Michael Kay
http://www.saxonica.com/
Author, XSLT Programmer's Reference and XPath 2.0 Programmer's Reference
surely an error, that display nothing

Reply With Quote