Is SharePoint's ListViewXML syntax based on a standard?
-
16-10-2019 - |
Question
Recently I had to change a ListView webpart and noticed the syntax that renders the HTML is not XSLT. Is this syntax documented somewhere?
Example,
<IfEqual>
<Expr1>
<GetVar Name="BlogPublishedCurrentDate"/>
</Expr1>
<Expr2>
<Column Name="PublishedDate" Format="DateOnly" HTMLEncode="TRUE"/>
</Expr2>
<Then/>
<Else>
<HTML>
<![CDATA[<h3 class="ms-PostDate">]]></HTML>
<Column Name="PublishedDate" Format="DateOnly" HTMLEncode="TRUE"/>
<HTML>
<![CDATA[</h3>]]></HTML>
<SetVar Name="BlogPublishedCurrentDate" Scope="Request">
<Column Name="PublishedDate" Format="DateOnly" HTMLEncode="TRUE"/>
</SetVar>
</Else>
</IfEqual>
Licensed under: CC-BY-SA with attribution
Not affiliated with sharepoint.stackexchange