Assign element value

If I have a container element (as a toolbar) that gets its data from an url, can I set the value of a subelement with the main object data? like:

                view: "toolbar",
                type: "MainBar",
                id: "mainbar",
                url: "data.xml",
                datatype: "xml",
                elements: [
                               { view: "label",
                                label:"#VALUE#"        
                                    }]

yes, any inputs inside the toolbar can be set from toolbars data ( if their name is equal to field name in loaded data )

if you have

 { view:"text", name:"abc"

You can load data in toolbar as

{ abs:"text value" }

thanks it worked, I needed to use the name property