in reply to Splitting XML file on Processing Instructions

It is quite possible that a block split by processing instructions is not a node set. The PIs could occur anywhere and split elements.

You should be able to split the XML file. I would think using handlers instead of twigs would make the most sense. Have the processing instruction handler open an new split file, and have the other handlers write to the split file.

  • Comment on Re: Splitting XML file on Processing Instructions