Welcome Guest, Not a member yet? Register   Sign In
single qouted parameters in xml which is passing to flash (making problem)
#1

[eluser]Zeeshan Rasool[/eluser]
I am facing a strange situation i am passing XML file containing images name and path to a flash gallery but some times images doesn't appear in flash when i check my xml its fine.

WHAT I FOUND
I also found that in xml there are spaces with image name : like
Code:
<image picture='8.jpg  ' thumb=' 8.jpg ' lab=''></image>

An other issue i found that in my controller i am generating XML like this

Code:
$stringData = "<image picture='".trim($rec->image_path)."' thumb='".$rec->image_path."' lab=''></image>\n";

MY QUESTION
SO my question is can single and double qoutes makes any difference in XML which is being passed to flash ?

Thanks in Advance !




Theme © iAndrew 2016 - Forum software by © MyBB