in reply to Re^2: Splitting xml file into multiple files
in thread Splitting xml file into multiple files

That means you only tried the first or second example, its the third one you want, as I showed you.
  • Comment on Re^3: Splitting xml file into multiple files