Loadxml by URL

:cry: I Generate the code XML in the page generate.cfm

This xml is valid:

generate.cfm

<?xml version='1.0' encoding='ISO-8859-1'?>
<rows>
	<head>
		<column type='ch' width='30'>#master_checkbox</column>
		<column type='ro' width='110'>Campos</column>
		<afterInit>
			<call command='setEditable'><param>true</param></call>
			<call command='setColSorting'><param>int,int</param></call>
			<call command='setColAlign'><param>right,left</param></call>
		</afterInit>
	</head>
	<row id='A'>
		<cell>0</cell>
		<cell>A</cell>
	</row>
	<row id='B'>
		<cell>0</cell>
		<cell>B</cell>
	</row>
	<row id='C'>
		<cell>0</cell>
		<cell>C</cell>
	</row>
</rows>

Is possible load by URL?

mygrid3.loadXML(‘generate.cfm’);

The xml is ok when i try this code in:
mygrid3.loadXML(‘data.xml’);

I fix my code:

mygrid3.loadXML('generate.cfm','xml");

in my dynamic code “generate.cfm”, I add the next line:

<cfcontent type="text/xml; charset=ISO-8859-1">

And this does works!!!

Best regards.