Almacenar XML en memoria

Necesito almacenar XML largos en memoria, que tipo de campos conviene utilizar ya que el string solo permite 4MB?
Desde ya muchas gracias
Saludos José Goldaracena

If you mean for storing in a database, a BLOB would work. But I would recommend compressing the data if possible first. Capesoft StringTheory does that well via gzip.
Or you could use the SystemString class that comes with Clarion to compress. It is a lot slower than StringTheory for decompressing large buffers though.

Otherwise, if you just want to load it into a string, you can use a string reference.

MyString &STRING
MyStringLength LONG


MyStringLength = 8000000
MyString &= NEW STRING(MyStringLenght)