Many characters require special treatment if included as part of a string in XML files. The following table lists the characters that require special treatment in a batch file:
Character |
Character Name |
Character as Used in XML Files |
---|---|---|
& |
ampersand |
& |
< |
Less than |
< |
> |
Greater than |
> |
" |
Quotation mark |
" |
' |
Apostrophe |
' |
Example:
The following is an invalid use of the ampersand (&) character in an XML string:
<Organization>Discovery & Auditing</Organization>
The following is a valid use of the ampersand (&) character in an XML string:
<Organization>Discovery & Auditing</Organization>
Copyright © 2014 CA.
All rights reserved.
|
|