Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
285 มุมมอง

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
14922
change password แก้ไขแล้ว
1
ส.ค. 23
13586
1
ก.ค. 23
10562