Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
274 Visualizzazioni

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
Abbandona
Risposta migliore

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
Abbandona
Autore

Thanks a lot. It works fine :)

Post correlati Risposte Visualizzazioni Attività
0
mar 25
1440
0
gen 25
3569
1
ago 23
14919
1
ago 23
13583
1
lug 23
10550