title: Drupal Views/Services: Want the 5 latest nodes for all terms in one query (Nested Views or Subviews)
body: <p>I'm using a Drupal 6 CMS as a JSON based REST service provider for a custom client. I'm currently using 2 views for the content:</p>
  
  <ul>
  <li>A view to get all taxonomy terms</li>
  <li>A view to get the 5 latest published nodes for each term </li>
  </ul>
  
  <p>At the moment I'm using quite a lot of requests to get the following data:</p>
  
  <ul>
  <li>List of Taxonomy Terms (1 Request)</li>
  <li>The 5 latest nodes for every term (1 Request per term, typically about 10 requests)</li>
  </ul>
  
  <p>I'd like to reduce my communication overhead by providing this data in 1 Request. This means I should create a View that retrieves the following data:</p>
  
  <pre><code>- Term ID 1
    - Node 1
    - Node 2
    - Node 3
    - Node 4
    - Node 5
  - Term ID 1
    - Node 6
    - Node 7
    - Node 8
    - Node 9
    - Node 10
  </code></pre>
  
  <p>etc</p>
  
  <p>In order to create this, I would need some subview mechanism or subview mechanism, something as powerfull as the subquery mechanism in SQL. </p>
  
  <p>Any ideas on how to realize this? </p>
  
  <p>I could try the php coding route, but I'd like to avoid it  in this project and keep the Drupal installation as vanilla as possible (aside from installing additional modules)</p>