Inline FME Schema Features

XFMAP有一种在其内容中指定模式功能的机制。This is done through the element's element.

The element can contain zero or more child elements.A 元素显式表示一个FME模式特征;it contains atypeattribute that specifies a schema feature's feature type,and zero or more 指定架构功能的属性和属性类型的元素。

The element has two required attributes,they are thenameandtypeattributes.The value for thetypeattribute must be an FME attribute type:xml_char(#),xml_int16,xml_int32,xml_real32,xml_real64,xml_decimal(#,#),orxml_boolean.

The following example illustrates the usage of the element.When the XML Reader is requested for FME schema features and the xfMap below is used,then a schema feature of feature typestateshaving 9 user-defined attributes –AREA,CODE,NAME,POP1990,POP90_SQMI,P_URBAN90,P_ING_LANG,P_EMPL_SEC,andHSE_UNIT90– and no geometry is returned.


            

            
	
             
		
              
			
               
				
                
				
                
				
                
				
                
				
                
				
                
				
                
				
                
				
                
				
                
			
               
		
              
	
             ...