deal with Firefox having a 4096 limit for xml nodes