Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

need a little XML tutorial
 
lotusseedsD
Mentor
 
Avatar
Total Posts:  1144
Joined:  2007-08-31
 

So I spent few hours trying to catch up with the little XML knowledge I have andI have a question for the main.xml

My understanding is that element needs opening and closing tags, yet I notice Solo tags are use for some block type. I am a bit confuse, and wish someone cane tell me when and why Solo tags are needed.

Thanks!

 
Magento Community Magento Community
Magento Community
Magento Community
 
Ross
Guru
 
Avatar
Total Posts:  336
Joined:  2007-08-31
Scarborough, North Yorkshire, UK
 

A tag is self closing if there is a slash (/) at the end - this is used when the element is empty. (eg. <br /> in xhtml).  Does that help?

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top