Xml Class

Namespace: Ext.data.writer

Base Types

System.Object

Constructors

Name Description
Xml(XmlConfig)
Xml()

Properties

Name Description
alias
alternateClassName Begin Definitions
defaultDocumentRoot @cfg {String} defaultDocumentRoot The root to be used if {@link #documentRoot} is empty and a root is required to form a valid XML document.
documentRoot @cfg {String} documentRoot The name of the root element of the document. Defaults to 'xmlData'. If there is more than 1 record and the root is not specified, the default document root will still be used to ensure a valid XML document is created.
extend Begin Definitions
header @cfg {String} header A header to use in the XML document (such as setting the encoding or version). Defaults to ''.
record @cfg {String} record The name of the node to use for each record. Defaults to 'record'.

Methods

Name Description
writeRecords(object, object)
© Copyright 2005-2011 SharpKit. All rights reserved.