Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我的 items.xml 文件中定义了如下数据结构:
Country 类型的 itemtype 具有属性(名称为另一个 itemtype Region 的集合类型,该 itemtype 具有另一个 itemtype 的属性(name=locality),例如 Locality。ImpEx 导入插入一些地区和国家的正确选项是什么?我们正在尝试这样的脚本:
INSERT_UPDATE Country;code;regions(locality(code))
;abc;1,2
将国家与地区与地区分开,您将编写如下内容:
INSERT_UPDATE Locality;code ;locality_1 ;locality_2 ;locality_3 INSERT_UPDATE Region;code;locality(code) ;1;locality_1 ;2;locality_2 ;3;locality_3 INSERT_UPDATE Country;code;regions(code) ;c_1;1,2,3