Adobe
9A0-127 · Question #50
You have read xml stored in a database column into the variable xData. Which two statements convert the variable from an XML document to an XML object? (Choose two.)
The correct answer is A. <cfset xData = xmlParse(xData)> B. <cfxml variable="xData"><cfoutput>#xData#</cfoutput></cfxml>. See the full explanation below for the reasoning.
Question
You have read xml stored in a database column into the variable xData. Which two statements convert the variable from an XML document to an XML object? (Choose two.)
Options
- A<cfset xData = xmlParse(xData)>
- B<cfxml variable="xData"><cfoutput>#xData#</cfoutput></cfxml>
- C<cfxml variable="xData">#xData#</cfxml>
- D<cfset xData = parseXML(xData)>
- E<cfsavecontent type="xml"
How the community answered
(33 responses)- A79% (26)
- C12% (4)
- D6% (2)
- E3% (1)
Community Discussion
No community discussion yet for this question.