Test if there are any items of a given type

Author: Webvanta

The w:kb:item:if_items statement allows you to test to see if there are any items of a given type.
<w:kb:item:if_items type='books'>
  <p>Yes, there are books</p>
</w:kb:item:if_items>
<w:kb:item:unless_items type='books'>
  <p>No, there are no books</p>
</w:kb:item:unless_items>