Click or drag to resize
TransformationHelperGetSitemapItem Method
Returns sitemap XML element for specified type (loc, lastmod, changefreq, priority).

Namespace: CMS.DocumentEngine.Web.UI
Assembly: CMS.DocumentEngine.Web.UI (in CMS.DocumentEngine.Web.UI.dll) Version: 12.0.0
Syntax
C#
public string GetSitemapItem(
	Object dataitem,
	string type
)

Parameters

dataitem
Type: SystemObject
Current dataitem object (DataRow or DataRowView object)
type
Type: SystemString
Specify xml sitemap type (loc, lastmod, changefreq, priority)

Return Value

Type: String
See Also