Name

CONTENT_LOOP — Extract a set of nodes from an XML file using XPath.

Synopsis

       <CONTENT_LOOP NAME="document('site.xml')//name">
         <CONTENT_VAR NAME="surname"/>
         <CONTENT_VAR NAME="firstname"/>
       </CONTENT_LOOP>
      

Description

Uses the XPath query specified in the NAME to extract content from the XML file specified by the document function. If document is omitted, then defaults to the content file that corresponds to the URI being view.