XML header aas variable

Hi
I trying to write to a XML file using applescript. The XML file looks something like this:

<?xml version="1.0" encoding="iso-8859-1"?> Picture1.jpg MyCatRefA actresses/q-r/tara quinn_lap1029 True Picture2.jpg MyCatRefB actresses/q-r/tara quinn_lap1030 False

I can complete most of the script but I can’t set the XML header as variable.

set xmlHeader to "<?xml version="1.0" encoding="iso-8859-1"?>
<import>"

As you can see it errors out.
ANy help would be appreciated

You have to escape the quotes:

set xmlHeader to "<?xml version=\"1.0\" encoding=\"iso-8859-1\"?>
<import>"

Thanks Bruce

Still learning…