-2
我正在讀作爲一個巨大的xml文檔(1.7克)的icecat表,我用的是xmlnodereader。我怎樣才能從xmlnodereader得到一個xmlnode
如何逐個節點讀取它。我知道,通常情況下,你不會這麼做,但結構看起來像
<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
}