Ektron CMS400.Net Reference

>>Using Other Development Frameworks > CustomJSPFunctions > XML Collection Function

XML Collection Function

The XML collection function wraps XML around the parameters of a list of content that’s created as a collection in the Ektron CMS400.NET Workarea. Once created you can use the XML to display the collection information. The ecmCollectionXML function allows you to easily define how the collection data appears on the Web page. Shown here is the format of the ecmCollection function.

<%= ecmCollectionXML (int id, boolean GetHtml) %>

This function is basically the same as the XML Collection function in ASP. See XML Collection Function for details.

The only difference between the JSP function and the ASP one is the syntax for implementing it. The JSP example is below.

<tr>

<td>

<%= ecmCollectionXML(24, True) %>

</td>

</tr>


Visit the Ektron Dev Center at http://dev.ektron.com 1-866 - 4 - EKTRON

Ektron CMS400.NET Reference Version 8.02 SP1 Rev 1

Ektron Documentation,© 2011 Ektron, Inc.