Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
1 Відповісти
290 Переглядів

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??


Аватар
Відмінити
Найкраща відповідь

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

Аватар
Відмінити
Автор

Thanks a lot. It works fine :)

Related Posts Відповіді Переглядів Дія
0
бер. 25
1442
0
січ. 25
3573
1
серп. 23
14926
change password Вирішено
1
серп. 23
13588
1
лип. 23
10569