Lines Matching refs:field
42 is extracted with the field identifiers described in _schema.resultFields_.
50 desired field data (String)
55 * `schema` : Used to retrieve nested field data into an array for
56 assignment as the result field value. This object follows the same
60 (strings) instead of field identifiers (objects) -- see example below.
63 The keys are the field identifier `key`s, and the values are the data
64 values extracted from the nodes or attributes found by the field `locator`
133 * Get an XPath-specified value for a given field from an XML node or document.
136 * @param field {String | Object} Field definition.
142 _getLocationValue: function(field, context) {
143 var locator = field.locator || field.key || field,
160 return Y.DataSchema.Base.parse.call(this, value, field);
263 * Schema-parsed result field.
266 * @param field {String | Object} Required. Field definition.
272 _parseField: function(field, result, context) {
273 var key = field.key || field,
276 if (field.schema) {
278 parsed = SchemaXML._parseResults(field.schema, context, parsed);
282 result[key] = SchemaXML._getLocationValue(field, context);
314 * @param fields {Array} Required. A collection of field definition.
323 // Find each field value