我想用VTDGen庫解析xml文件。 這是完美的解析xml,直到我遇到了超過1GB的XML文件的問題。 這是我解析它的代碼。 VTDGen vg = new VTDGen();
in = new SmbFileInputStream(fileToGet);
byte[] b = new byte[(int) fileToGet.length()];
i
這是代碼。感謝你們對我的幫助。 /*this code works fine in code snippet and (when I run the code in the chrome console but when I write the code in my file.js, this won't work*/
var btn = document.getElementsByTagN
我已經下載了ximpleware_2.11_c.zip(C版本的vtd-xml),當我在linux下試圖編譯它時我已經以下錯誤消息: In file included from vtdNav.c:19:
vtdNav.h:82: error: expected declaration specifiers or ‘...’ before ‘FILE’
vtdNav.h:506: error: