Functiondojox.data.XmlStore.getValues

dojo.require("dojox.data.XmlStore");
defined in dojox/data/XmlStore.js

'item' must be an instance of a dojox.data.XmlItem from the store instance. If 'attribute' specifies "tagName", the tag name of the element is returned. If 'attribute' specifies "childNodes", child elements are returned. If 'attribute' specifies "text()", the values of child text nodes are returned. For generic attributes, if '_attributeMap' is specified, an actual attribute name is looked up with the tag name of the element and 'attribute' (concatenated with '.'). Then, if 'attribute' starts with "@", the value of the XML

Usage

function (item, attribute) (view source)
parametertypedescription
item An XML element that holds the attribute
attribute A tag name of child elements, An XML attribute name or one of special names