コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
283 ビュー

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
1441
0
1月 25
3573
1
8月 23
14921
1
8月 23
13585
1
7月 23
10560