我正在将 icecat 表作为一个巨大的 xml 文档(1.7g)阅读,并且我正在使用 xmlnodereader。
如何逐个节点读取它。我知道,通常情况下,你不会这样做,但结构看起来像
<file attr=value>...</file>
<file attr=value>...</file>
<file attr=value>...</file>
<file attr=value>...</file>
<file attr=value>...</file>
这是一些现有的代码供参考:
foreach (BackgroundWorker worker in Pool)
{
if (worker.IsBusy)
continue;
//read xmlnode and pass it to the worker
}