anchor.diff:    limitations under the License.
   		
   			
  - $Id: DefaultXmlBeanFactory.cfc,v 1.29 2006/05/17 14:36:21 rossd Exp $
  + $Id: DefaultXmlBeanFactory.cfc,v 1.30 2006/05/19 01:18:31 scottc Exp $
   
   ---> 
   
  
positive.code: 		<cfset var i = "" />
  		<cfset var flattenedMetaData = duplicate(arguments.md)/>
  		<cfset var foundFunctions = ""/>
  		<cfset flattenedMetaData.functions = arraynew(1)/>
  		
  		<cfloop condition="true">
  			<cfif structKeyExists(arguments.md, "functions")>
  				<cfloop from="1" to="#arrayLen(arguments.md.functions)#" index="i">
  					<cfif not listFind(foundFunctions,arguments.md.functions[i].name)>
  						<cfset arrayAppend(flattenedMetaData.functions,duplicate(arguments.md.functions[i]))/>
  						<cfset foundFunctions = listAppend(foundFunctions,arguments.md.functions[i].name)/>
  					</cfif>
  				</cfloop>
  			</cfif>
  
negative.code: 				<cfbreak />
  			</cfif>
  		</cfloop>
  		<cfreturn flattenedMetaData/>
  		
  	</cffunction>	
  