Skip to Content
Menú
This question has been flagged
1 Respondre
303 Vistes

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
Best Answer

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 :)

Related Posts Respostes Vistes Activitat
0
de març 25
1461
0
de gen. 25
3601
1
d’ag. 23
14958
1
d’ag. 23
13615
1
de jul. 23
10599