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)- A3% (1)
- B8% (3)
- C83% (30)
- D6% (2)
Community Discussion
No community discussion yet for this question.