nerdexam
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)
  • A
    79% (26)
  • C
    12% (4)
  • D
    6% (2)
  • E
    3% (1)

Community Discussion

No community discussion yet for this question.

Full 9A0-127 Practice