Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
184 Vistas

Hi everybody!!!

Please how to put the '&' caracter in an xml view please.

Because when i put it, i have automatically an xml errir.

Who can help please??


Avatar
Descartar
Mejor respuesta

Hi Abdelwahed,

By default illegal characters are &, < and > (as well as " or ' in attributes) in XML. So you will have to change them to XML entities. Try with this:

&

This will encode the "&" to XML entities for you. You can find more about encoding here: https://en.wikipedia.org/wiki/List_of_XML_and_HTML_character_entity_references

Avatar
Descartar
Autor

Thanks a lot. It works fine :)

Publicaciones relacionadas Respuestas Vistas Actividad
0
mar 25
1212
0
ene 25
3268
1
ago 23
14568
1
ago 23
13229
1
jul 23
10230