跳至内容
菜单
此问题已终结
1 回复
293 查看

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

相关帖文 回复 查看 活动
0
3月 25
1442
0
1月 25
3576
1
8月 23
14927
1
8月 23
13595
1
7月 23
10572