Is SharePoint's ListViewXML syntax based on a standard?
Posted
by AlexanderN
on Stack Overflow
See other posts from Stack Overflow
or by AlexanderN
Published on 2010-05-07T18:52:54Z
Indexed on
2010/05/07
18:58 UTC
Read the original article
Hit count: 218
I had to change a ListView webpart and noticed the syntax that renders the HTML is not XSLT. Is this ListViewXML syntax documented somewhere or based on a standard?
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>
© Stack Overflow or respective owner