Search
XmlPersistContext.readString Method
See Also
 





Reads a string value with the specified name.

Namespace: MindFusion.Diagramming
Package: XmlPersistContext.js

 Syntax

JavaScript  Copy Code

function readString (elementName, parentElement, [defaultValue])

 Parameters

elementName

String. The name of the string's XML element.

parentElement

Element. The parent DOM Element object.

defaultValue
Optional.

Object. The default string to return if specified child XML element does not exist.

 Return Value

String. The string loaded from XML.

 See Also