xsl-list
[Top] [All Lists]

Re: [xsl] Using values from one node tree to iterate/recurse over another set of nodes. (Newbie Question)

2008-02-27 09:29:38
On 27 Feb 2008, at 16:15, Martin Honnen wrote:
Can you post the HTML of the table you want to create from the sample data?



Nothing too dramatic really -

<table>
  <tr>
    <th>ID</th>
    <th>Headline</th>
    <th>Bodycopy</th>
    <th>Picture</th>
  </tr>
  <tr>
    <td>2</th>
    <td>Fog in Channel, Europe Cut Off</td>
    <td>There was fog in the channel. No French cheese for us.</td>
    <td>cheese.png</td>
  </tr>
  <tr>
    <th>1</th>
    <td>Man Bite Dogs</td>
    <td>Today a man bit a dog</td>
    <td>dog.png</td>
  </tr>
</table>

But the point is that the structure needs to be dynamic...

--
Richard Dyce MA (Cantab.) MBCS MIET


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>