Testing if a node node name is a number when writing the namespace in xml format