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>
Was it helpful?

Solution

It is CAML. Here's the MSDN reference.

Licensed under: CC-BY-SA with attribution
Not affiliated with sharepoint.stackexchange
scroll top