Click or drag to resize
DocumentSynchronizationHelperGetDocumentXML Method
Gets XML of a given node.

Namespace: CMS.DocumentEngine
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 13.0.131
Syntax
C#
public static string GetDocumentXML(
	TreeNode node,
	TranslationHelper th,
	TreeProvider tree,
	TaskTypeEnum taskType,
	TaskDataTypeEnum dataType,
	TaskParameters taskParams,
	string siteName
)

Parameters

node
Type: CMS.DocumentEngineTreeNode
Document node
th
Type: CMS.DataEngineTranslationHelper
Translations (if null TranslationHelper will be created and filled)
tree
Type: CMS.DocumentEngineTreeProvider
Tree provider
taskType
Type: CMS.DataEngineTaskTypeEnum
Task type
dataType
Type: CMS.SynchronizationTaskDataTypeEnum
Type of data
taskParams
Type: CMS.SynchronizationTaskParameters
Extra task parameters to use
siteName
Type: SystemString
Site name corresponding to document

Return Value

Type: String
XML representing document
See Also