Strange attribute error

When testing out the WriteXML() function, I keep getting this error. It seems the node type name is too long, or something like that. Any way to resolve?

The WriteXML method is not exposed on the Python interface because it is for internal use only (to be able to save the scene). If you want to write the content of a node to XML then you can save the scene.