nerdexam
Magento

M70-301 · Question #2

You want to add additional XML ("Additional XML Declaration") to an existing layout block. Which is the proper tag for adding it?

The correct answer is C. <reference name="block.name">Additional XML Declaration</reference>. See the full explanation below for the reasoning.

Question

You want to add additional XML ("Additional XML Declaration") to an existing layout block. Which is the proper tag for adding it?

Options

  • A<reference type="block">Additional XML Declaration</ reference>
  • B<action method= "addNewBlock"><block name>Additional XML Declaration <I block name></ action>
  • C<reference name="block.name">Additional XML Declaration</reference>
  • D<method action= "setBlockContent"><xml>Additional XML Declaration</xml></method>

How the community answered

(36 responses)
  • A
    3% (1)
  • B
    8% (3)
  • C
    83% (30)
  • D
    6% (2)

Community Discussion

No community discussion yet for this question.

Full M70-301 Practice