Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
266 Lượt xem

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


Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Tác giả

Thanks a lot. It works fine :)

Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 3 25
1440
0
thg 1 25
3569
1
thg 8 23
14919
change password Đã xử lý
1
thg 8 23
13583
1
thg 7 23
10549