Hi,
>>
A solution of sorts...
With the node selected (oNode=oXML.SelectSingleNode("/MyXML/PDF"))
I am able to use the oNode.text property which has the the base64 encoded data. I then used a modified version of the existing base64 encoding/decoding code elsewhere on this site to write the data out to a stream. This works fine - even for large files. It is odd that I cannot get the nodetypedvalue to work directly - as this should be quicker.
>>
Ah well - if it works...I thought something like
Local s
laArray = oXml.SelectSingleNode("/MyXML/PDF").NodeTypedValue
For i = 0 TO ALEN(laArray-1)
s = s + CHR(laArrray(1))
Endfor
No idea whether it would have worked (or whether the array is 0 or 1 based) though. Also I doubt if it would be any quicker...
Regards,
Viv