Page scope doesn't work correctly for "Composite.Pages.SitemapXml" function

Topics: Troubleshooting
Jan 20, 2011 at 8:54 AM
Edited Jan 20, 2011 at 8:56 AM

Hi C1 Team,

I aim to build a function which would provide a list of my home pages.

For that reason I use a  function call with following markup

<f:functions xmlns:f="">

<f:function name="Composite.Pages.SitemapXml" localname="SitemapXml">

<f:param name="SitemapScope" value="Level1AndSiblings" />


But when i switch to "Preview" tab I see that resulting xml doesn't contain any row:


<in:result name="SitemapXml"/>

I have two websites under one C1 installation - so I expected to get two xml rows in the result.
Additional information:
  Composite C1 2.0 SP1
Build no. 2.0.3947.24461
  Installation ID:7e26d41c-1488-40cc-b234-28cbff4ba591

 Thanks in advance,


Jan 20, 2011 at 9:56 AM

Hi Ruslan,

thanks for the super repro. This is a known issue and was just scheduled for fixing. The workaround for now is to use the default sitemap (this takes zero time to provide) and then just have the XSLT grab the top level nodes.