Handling Common Special Characters in cXML
Below is a table that displays how common special characters should be handled when using cXML. For example, if item name contains &
, then that character needs to be passed as &
in the cXML.
If you notice an error that displays one of these characters as invalid, please contact the supplier and point them to this topic on how special characters need to be handled in standard cXML message.
Character | Entity Reference | Character Reference |
---|---|---|
Ampersand | & |
& |
Left angle bracket | < |
< |
Right angle bracket | > |
> |
Straight quotation mark | " |
" |
Apostrophe | ' |
' |
The following characters are not supported; suppliers need to enter them as text:
Character | Entity Reference | Character Reference |
---|---|---|
Trademark symbol | (TM) | ™ |
Registered trademark symbol | (R) | ® |
Copyright symbol | (C) | © |