Jeff Squyres, le Mon 11 Jan 2010 15:20:45 -0500, a écrit : > > > I'm curious -- what's the definition of cat'ing 2 XML files together? > > > Does the 2nd become a subtree of the first? > > > > No, I mean putting both under a "misc" object for instance. > > Can you explain more; maybe provide an example or two?
lstopo --synthetic 1 test.xml gives <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE root SYSTEM "hwloc.dtd"> <root> <object type="System" os_level="-1" os_index="0" cpuset="0x00000001" dmi_board_vendor="" dmi_board_name="" memory_kB="0" huge_page_free="0" huge_page_size_kB="0"> <object type="Proc" os_level="-1" os_index="0" cpuset="0x00000001"/> </object> </root> The concatenation would be <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE root SYSTEM "hwloc.dtd"> <root> <object type="Misc"> <object type="System" os_level="-1" os_index="0" cpuset="0x00000001" dmi_board_vendor="" dmi_board_name="" memory_kB="0" huge_page_free="0" huge_page_size_kB="0"> <object type="Proc" os_level="-1" os_index="0" cpuset="0x00000001"/> </object> <object type="System" os_level="-1" os_index="0" cpuset="0x00000001" dmi_board_vendor="" dmi_board_name="" memory_kB="0" huge_page_free="0" huge_page_size_kB="0"> <object type="Proc" os_level="-1" os_index="0" cpuset="0x00000001"/> </object> </object> </root>