>Hi Marco,
>
>miracukous. Whenever I try it, it fails with the load-method. Maybe I miss something when calling your function? All I do is:
>
>
>cXML = FILETOSTR("D:\foxprogs\onixkonv\in\aus_vlb.xml")
>oXML = nfxmlread(cXML)
>
>
>or maybe it's the charset? This would be even more strange.
>
>Best regards
>
>Thomas
This way, it's the LoadXML() method that is being called, not Load().
oXML = nfxmlread("D:\foxprogs\onixkonv\in\aus_vlb.xml")
Plus: your sample file has a BOM, and that's what is raising the error when you load the document via LoadXML() (strings do not have BOM, files do).
----------------------------------
António Tavares Lopes