| № | '); $nextnode=findNode($currNode,'objects-list')->firstChild; $col=0; while ($nextnode) { if ($nextnode->nodeName=='column') { fwrite($fh, ''.$nextnode->getAttribute("d")." | "); } $nextnode = $nextnode->nextSibling; } fwrite($fh, '
| '.(++$pos).' | '); $nextnode=findNode($currNode,'objects-list')->firstChild; while ($nextnode) { if ($nextnode->nodeName=='column') { fwrite($fh, ''.$row[$nextnode->getAttribute("n")].' | '); } $nextnode = $nextnode->nextSibling; } fwrite($fh, '