" </object>"
" <menu id='edit-menu'>"
" <section>"
- " <item label='Undo' action='undo'/>"
- " <item label='Redo' action='redo'/>"
+ " <item>"
+ " <attribute name='label'>Undo</attribute>"
+ " <attribute name='action'>undo</attribute>"
+ " </item>"
+ " <item>"
+ " <attribute name='label'>Redo</attribute>"
+ " <attribute name='action'>redo</attribute>"
+ " </item>"
" </section>"
" <section></section>"
- " <section label='Copy & Paste'>"
- " <item label='Cut' action='cut'/>"
- " <item label='Copy' action='copy'/>"
- " <item label='Paste' action='paste'/>"
+ " <section>"
+ " <attribute name='label'>Copy & Paste</attribute>"
+ " <item>"
+ " <attribute name='label'>Cut</attribute>"
+ " <attribute name='action'>cut</attribute>"
+ " </item>"
+ " <item>"
+ " <attribute name='label'>Copy</attribute>"
+ " <attribute name='action'>copy</attribute>"
+ " </item>"
+ " <item>"
+ " <attribute name='label'>Paste</attribute>"
+ " <attribute name='action'>paste</attribute>"
+ " </item>"
" </section>"
" <item><link name='section' id='blargh'>"
- " <item label='Bold' action='bold'/>"
- " <submenu label='Language'>"
- " <item label='Latin' action='lang' target='latin'/>"
- " <item label='Greek' action='lang' target='greek'/>"
- " <item label='Urdu' action='lang' target='urdu'/>"
+ " <item>"
+ " <attribute name='label'>Bold</attribute>"
+ " <attribute name='action'>bold</attribute>"
+ " </item>"
+ " <submenu>"
+ " <attribute name='label'>Language</attribute>"
+ " <item>"
+ " <attribute name='label'>Latin</attribute>"
+ " <attribute name='action'>lang</attribute>"
+ " <attribute name='target'>'latin'</attribute>"
+ " </item>"
+ " <item>"
+ " <attribute name='label'>Greek</attribute>"
+ " <attribute name='action'>lang</attribute>"
+ " <attribute name='target'>'greek'</attribute>"
+ " </item>"
+ " <item>"
+ " <attribute name='label'>Urdu</attribute>"
+ " <attribute name='action'>lang</attribute>"
+ " <attribute name='target'>'urdu'</attribute>"
+ " </item>"
" </submenu>"
" </link></item>"
" </menu>"