my ($caname) = $node->findnodes('./extendedAttributes/attribute'); print $nodename->to_literal, "\n", "\t", $caname->to_literal, "\t", "\n"