EPTXmlTextParserToPlainText Method Content Studio 5.7 SDK
Content Studio Web Content Management System

[This is preliminary documentation and is subject to change.]

This method gets the EPT data as plain text with all Xml markup removed and using the specified options.

Namespace: ContentStudio.Document.EPT
Assembly: CSServer5 (in CSServer5.dll) Version: 5.7.5016.0 (5.7.5016.0)
Syntax

public string ToPlainText(
	string[] fieldsToOmit,
	bool stripHtml
)

Parameters

fieldsToOmit
Type: SystemString
An array of case-sensitive field names to be omitted. This parameter can be null (Nothing in Visual Basic) to indicate that no field should be omitted.
You can use * as a wildchar at the end or the start of a field name to omit a group of fields. e.g. CS_* omits all meta data fields and *ID omits all field names that ends with ID.
stripHtml
Type: SystemBoolean
A value that indicates whether embedded html formatted data should be cleaned as well. If true embedded html markup will be removed, false to preserve the content.

Return Value

Type: String
The converted EPT data in plain text format.
Remarks

This method removes any Xml markup data in the EPT document and optionally any embedded Html markup as well. Each data field will be separated by a new line. The underlying data is not affected.
See Also

Reference