Page 1 of 1

Weird.. < becomes </

Posted: Tue Feb 17, 2004 3:36 pm
by ol4pr0
This is a small piece of what i have in my script..
almost 300 lines of these, the only differance is that the output screws up my xml document.

Code: Select all

$_xml .="\t<regi-aduero>91";$_xml .="\t</regi-aduero>\r\n";
$_xml .="\t<consol-courier-carga>5519";$_xml .="\t</consol-courier-carga>\r\n";
XML : OUTPUT ..

<puer-origen>USMIA </puer-origen>
<almac-depos>
<almac-aduero>7319 </almac-aduero>

</almac-depos>
</regi-aduero>91 </regi-aduero>
</consol-courier-carga>5519 </consol-courier-carga>
<fech-transac-operac>20031030 </fech-transac-operac>
As you might notice it has </ x2 beginning and end tag. </

300 lines and only those 2 lines makes the whole document go wild..

Did i miss something ?

Posted: Tue Feb 17, 2004 3:58 pm
by ol4pr0
Dont know why but somehow a hidden space made that go wild...

got it fixed ;-)