yafaray xml export

Hi,
How do we create an xml file from the new yaf(a)ray from inside blender?
I guess the python export script does not create an xml file but it directly sends the data to yafaray.
The renderer option requires recompilation of blender. I did that but I am getting “error loading yafray plugin” error and no xml file is created.
I am working in linux.
How can i fix this problem. Is there another way to create an xml file for yafaray?

Second, are the old xml files created for yafray no longer compatible with the new yaf(a)ray? I am getting “unrecognized tag element”

Thanks

On the output ‘Settings’ panel there is an ‘Output to XML’ button.