problemas con el código
Publicado por carolina (2 intervenciones) el 07/05/2010 22:16:30
Hola, a ver si alguien me puede decir que error hay en el código este, por que al acceder a través de internet al link que va exactamente a ese xml me sales este mensaje:
Error de lectura XML: declaración de texto o XML en un lugar distinto del principio de la entidad
Ubicación: http://www.etc-studio.es/xml/menu/config.xml
Número de línea 10, columna 1:<?xml version="1.0"?>
^
Y el código del xml que debe cargar bién es:
<!--
This is the configuration section for the main menu. Save and then publish the
flash movie (_source/menu/menu.fla) to see changes.
Colors are just hex values with the # replaced by 0x (standard flash color value)
-->
<?xml version="1.0"?>
<config>
<!--GENERAL-->
<!-- _x positon of menu. this if relative to the menu fla only -->
<mainX>80</mainX>
<!-- _x positon of menu. this if relative to the menu fla only -->
<mainY>24</mainY>
<!-- Amount of spacing between each button -->
<mainSpacing>-2</mainSpacing>
<!-- BUTTONS -->
<!-- Text Color -->
<btnTextColor>0xB4B4B4</btnTextColor>
<!-- Amount of alpha | 0-100 -->
<normalAlpha>80</normalAlpha>
<!-- Amount of alpha on mouseover and active state | 0-100 -->
<overAlpha>85</overAlpha>
<!-- Color of glow -->
<glowColor>0xB4B4B4</glowColor>
<!-- amount of glow for normal state -->
<normalGlowAlpha>0</normalGlowAlpha>
<!-- amount of glow for over and active state -->
<overGlowAlpha>0.3</overGlowAlpha>
<!-- time taken to fade in glow -->
<glowInTime>2</glowInTime>
<!-- time taken to fade out glow -->
<glowOutTime>3</glowOutTime>
</config>
A ver si alguien me puede decir por que no va bien, y por culpa de eso no me carga unas imágenes en la web.
Gracias
Error de lectura XML: declaración de texto o XML en un lugar distinto del principio de la entidad
Ubicación: http://www.etc-studio.es/xml/menu/config.xml
Número de línea 10, columna 1:<?xml version="1.0"?>
^
Y el código del xml que debe cargar bién es:
<!--
This is the configuration section for the main menu. Save and then publish the
flash movie (_source/menu/menu.fla) to see changes.
Colors are just hex values with the # replaced by 0x (standard flash color value)
-->
<?xml version="1.0"?>
<config>
<!--GENERAL-->
<!-- _x positon of menu. this if relative to the menu fla only -->
<mainX>80</mainX>
<!-- _x positon of menu. this if relative to the menu fla only -->
<mainY>24</mainY>
<!-- Amount of spacing between each button -->
<mainSpacing>-2</mainSpacing>
<!-- BUTTONS -->
<!-- Text Color -->
<btnTextColor>0xB4B4B4</btnTextColor>
<!-- Amount of alpha | 0-100 -->
<normalAlpha>80</normalAlpha>
<!-- Amount of alpha on mouseover and active state | 0-100 -->
<overAlpha>85</overAlpha>
<!-- Color of glow -->
<glowColor>0xB4B4B4</glowColor>
<!-- amount of glow for normal state -->
<normalGlowAlpha>0</normalGlowAlpha>
<!-- amount of glow for over and active state -->
<overGlowAlpha>0.3</overGlowAlpha>
<!-- time taken to fade in glow -->
<glowInTime>2</glowInTime>
<!-- time taken to fade out glow -->
<glowOutTime>3</glowOutTime>
</config>
A ver si alguien me puede decir por que no va bien, y por culpa de eso no me carga unas imágenes en la web.
Gracias
Valora esta pregunta


0