Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
173 Tampilan

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
Buang
Jawaban Terbai

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
Buang
Penulis

Thanks a lot. It works fine :)

Post Terkait Replies Tampilan Aktivitas
0
Mar 25
1179
0
Jan 25
3239
1
Agu 23
14515
change password Diselesaikan
1
Agu 23
13199
1
Jul 23
10215