<?xml version=“1.0“ encoding=“utf-8“?>
<Root WebPartInstanceId=“xxxxxxxxx“ DateTimeFormat=“yyyy/MM/dd“>
<Root>
<Description>
<List>
<Title>SampleCustomList</Title>
・・・ ・・・ ・・・ ・・・
</List>
・・・ ・・・ ・・・ ・・・
</Description>
<Header>
<Field ID=“XXXX1“ Title=“ID“ InternalName=“ID“ Type=“Counter“ ・・IsChecked=“True“></Field>
<Field ID=“YYYY2“ Title=“タイトル“ InternalName=“LinkTitle“ ・・IsChecked=“True“></Field>
<Field ID=“ZZZZ3“ Title=“イメージ“ InternalName=“xxxxxx“ ></Field>
<Field ID=“AAAAA4“ Title=“オプション“ ・・・></Field>
・・・ ・・・ ・・・ ・・・
</Header>
<Rows>
<Row ID=“1“ Title=“” Url=“http://xxxxxxx/DispForm.aspx?ID=1“ ・・・>
<Column fID=“zzzzzz“ fInternalName=“ xxxxxx “ Value=“xxxx.gif, チンゲン菜“></Column>
<Column fID=“zzaaaa“ fInternalName=“_x8aac__x660e_“ ・・・></Column>
<Column fID=“aaaabbbb“ ・・・></Column>
<Column fID=“bbbbcccc“ ・・・></Column>
・・・ ・・・ ・・・ ・・・
</Row>
<Row ID=“2“ Title=“” Url=“http://xxxxxxx/DispForm.aspx?ID=2“ ・・・>
・・・ ・・・ ・・・
</Row>
・・・ ・・・ ・・・ ・・・
</Rows>
</Root>
</Root>
<?xml version=“1.0“ encoding=“utf-8“ ?>
<xsl:stylesheet version=“1.0“ xmlns:xsl =“http://www.w3.org/1999/XSL/Transform“
xmlns =“http://www.w3.org/1999/xhtml“>
<xsl:output indent=“no“ method=“html“ />
<xsl:template match=“/“ name=“vertical“>
<xsl:variable name=“Rows“ select=“Root/Root/Rows“ />
<xsl:choose>
<xsl:when test=“count(Root/Root/Rows/Row)=0“>データがありません。</xsl:when>
<xsl:otherwise>
<table id=“LCWPlistItems“ width=“100%“ style=“border: 1px solid black;“ >
<xsl:for-each select=“Root/Root/Header/Field[@Hidden=’False’・・・]“>
<tr>
<xsl:call-template name=“RowRendering“>
<xsl:with-param name=“Rows“ select=“$Rows“></xsl:with-param>
</xsl:call-template>
</tr>
</xsl:for-each>
</table>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template name=“RowRendering“ match=“Field“>
・・・ ・・・ ・・・ ・・・
</xsl:template>
・・・ ・・・ ・・・
</xsl:stylesheet>