1

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>
4

It is CAML. Here's the MSDN reference.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy