On Jan 11, 2010, at 3:27 PM, Samuel Thibault wrote: > 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>
Ah -- this is the source of my confusion. I thought you meant: cat a.xml b.xml > c.xml and then using c.xml directly (which I didn't see how that would work). Instead, you're talking about manually stitching multiple XML files together under a single <root>, further enclosed under a single "Misc" object. -- Jeff Squyres jsquy...@cisco.com