Hi everybody,
I have strange problem when I write in a file with perl.
I want to create a XML file and when I make for exemple this code :
<--iw_ostream file_val="/xmlFile.xml">
<--iw_perl><--![CDATA[
#Create feed basic nodes
$xmlProlog = "<--?xml version='1.0' encoding='utf-8' ?>\n";
$siteMapOpen = '<--siteMap enableLocalization="true" xmlns="
http://schemas.microsoft.com/AspNet/SiteMap-File-1.0" >';
$siteMapClose = "\n<--/siteMap>";
iwpt_output("$xmlProlog");
iwpt_output("$siteMapOpen");
iwpt_output("$siteMapClose");
]]>
<--/iw_perl>
<--/iw_ostream>
My file has been created but in the begin of my file, I have some spacing..
How to delete these spacing ?
Thanks