Adobe
9A0-127 · Question #51
What is the correct syntax for extracting an XML document from the XML object xmlObj in utf-16 format?
The correct answer is C. xmlDoc = toString(xmlObj, 'utf-16'). See the full explanation below for the reasoning.
Question
What is the correct syntax for extracting an XML document from the XML object xmlObj in utf-16 format?
Options
- AxmlDoc = xmlObj.toString();
- BxmlDoc = toString(xmlObj);
- CxmlDoc = toString(xmlObj, 'utf-16');
- DxmlDoc = xmlObj.toString('utf-16');
How the community answered
(37 responses)- A8% (3)
- B3% (1)
- C84% (31)
- D5% (2)
Community Discussion
No community discussion yet for this question.