我想把这个标签放在一个 href="javascript:void(0);" onclick="function()" 在 xml 中的标签 cdata 内,但不起作用
有什么解决办法??
感谢您的帮助
这是我的代码
<Folder>
<name>
<![CDATA[Cliente Demo]]>
</name>
<Placemark>
<name>
<![CDATA[DBR132 - Geo Para el Link]]>
</name>
<Snippet>
<![CDATA[27/01/2013 12:35:09 p.m. - Vehiculo Estacionado - (Norte)]]>
</Snippet>
<description>
<![CDATA[Bogota - Britalia - Cl 163B con Kr 50 Altura:2594, Sat:4, Odom:0, Kmh: 0<div id="prueba"><br> <strong>Envio de comandos</strong><br><a href="javascript:void(0);" onclick="function();">UBICACION</a></div>]]>
</description>
<LookAt>
<longitude>-74.0514</longitude>
<latitude>4.7459</latitude>
<range>8000</range>
<tilt>55</tilt>
<heading>359</heading>
</LookAt>
<styleUrl>#icon04</styleUrl>
<Point>
<altitudeMode>relativeToGround</altitudeMode>
<coordinates>-74.0514,4.7459</coordinates>
</Point>
</Placemark>
<Placemark>
<styleUrl>#Norte1</styleUrl>
<Point>
<altitudeMode>relativeToGround</altitudeMode>
<coordinates>-74.0514,4.7459</coordinates>
</Point>
</Placemark>
</Folder>