K11 Make Repeater into an Unordered List

Heather Aluma asked on May 19, 2023 19:30

Hi. I am wondering if/how I can add semantic html or aria roles to a transformation to make it an ordered list. Each item that repeats would be the list items (li) and the entire group of them would be the unorder list (ul). This is the transformation that I am working with:

<h2><%# Eval("DocumentName") %></h2>

<cc1:CMSRepeater ID="CMSFAQ" runat="server" ClassNames="CMS.FAQ" StopProcessing="true"
 Path='<%# Eval("NodeAliasPath") + "/%" %>'
 OrderBy = "NodeLevel, NodeOrder, NodeName" >

<script runat="server"> 
protected void Page_PreRender(object sender, EventArgs e)
  CMSFAQ.StopProcessing = false; 

   Please, sign in to be able to submit a new answer.