Definitely use XML over the variable-assignment syntax, as SQL Server supports XML. The variable-assignment syntax is not documented. It works, but is not supported.
SSCrazy -- Thanks, helpful. I find myself wishing you could define things like data sources at the solution level, rather than always at the project level, but it appears...