@main[] $xdoc[^xdoc::create{ ПИФ^taint[&] P«^;AF B }] ^if(^xdoc.firstChild.hasChildNodes[]){y;n} ^if(^xdoc.firstChild.nextSibling.hasChildNodes[]){y;n} #should have dtd for this to work $Element[^xdoc.getElementById[2]] # ^show_xnode1[$Element] #