콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
1 회신
278 화면

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
1440
0
1월 25
3569
1
8월 23
14919
change password 해결 완료
1
8월 23
13583
1
7월 23
10550