@aldostools : with the shortening xmls thing. Guess what?
Turns out none of the tags really matter at all.We can shorten every one to just one letter
This:
is read exactly the same as this:Code:<?xml version="1.0" encoding="UTF-8"?> <XMBML version="1.0"> <View id="root"> <Attributes> <Table key="seg_dlna_scan"> <Pair key="focus_priority"><>4</></Pair> </Table> <Table key="seg_screenshot"> <Pair key="focus_priority"><>3</></Pair> </Table> <Table key="gameDir"> <Pair key="focus_priority"><>2</></Pair> </Table> <Table key="seg_dlna_device"> <Pair key="focus_priority"><>1</></Pair> </Table> <Table key="seg_data_device"> <Pair key="focus_priority"><>-50</></Pair> </Table> <Table key="seg_playlist_mgmt"> <Pair key="focus_priority"><>3</></Pair> </Table> <Table key="seg_hdd_contents"> <Pair key="focus_priority"><>0</></Pair> </Table> </Attributes> <Items> <Query class="type:x-xmb/folder-pixmap" key="seg_dlna_scan" attr="seg_dlna_scan" src="sel://localhost/isdlna?category_photo.xml#seg_dlna_scan" /> <Query class="type:x-xmb/folder-pixmap" key="seg_screenshot" attr="seg_screenshot" src="sel://localhost/screenshot?category_photo.xml#seg_screenshot" /> <Query class="type:x-xmb/folder-pixmap" key="seg_gameexit" src="sel://localhost/ingame?path=category_photo.xml#seg_gameexit&type=photo" /> <Query class="type:x-xmb/folder-pixmap" key="gameDir" attr="gameDir" src="xcb://localhost/query?limit=2048&table=MMS_MEDIA_TYPE_HDD&sort=+Game:Common.stat.rating+Game:Common.timeCreated&cond=Aa+Game:Common.title+Ae+Game:Game.category AP" /> <Query class="type:x-xmb/folder-pixmap" key="seg_dlna_device" attr="seg_dlna_device" src="xcb://localhost/query?table=MMS_MEDIA_TYPE_SYSTEM&genre=Photo&sort=+StorageMedia:Common.titleForSort&cond=Ae+StorageMedia:StorageMedia.type %xCB_MEDIA_TYPE_DLNA" /> <Query class="type:x-xmb/folder-pixmap" key="seg_data_device" attr="seg_data_device" src="xcb://localhost/query?table=MMS_MEDIA_TYPE_SYSTEM&genre=Photo&sort=+StorageMedia:StorageMedia.sortOrder+StorageMedia:StorageMedia.timeInserted&cond=Ae+StorageMedia:StorageMedia.stat.mediaStatus %xCB_MEDIA_INSERTED+Ae+StorageMedia:StorageMedia.mediaFormat %xCB_MEDIA_FORMAT_DATA+AGL+StorageMedia:StorageMedia.type %xCB_MEDIA_TYPE_BDROM %xCB_MEDIA_TYPE_WM" /> <Query class="type:x-xmb/folder-pixmap" key="seg_playlist_mgmt" attr="seg_playlist_mgmt" src="#seg_playlist_mgmt" /> <Query class="type:x-xmb/folder-pixmap" key="seg_hdd_contents" attr="seg_hdd_contents" src="sel://localhost/ex?root.view_selected.photo" /> </Items> </View> <View id="seg_dlna_scan"> <Attributes> <Table key="scan"> <Pair key="icon_rsc"><>item_tex_dlna_scan</></Pair> <Pair key="icon_notation"><>WNT_XmbItemMediaServerSearch</></Pair> <Pair key="title_rsc"><>msg_scan_mediaserver</></Pair> <Pair key="module_name"><>dlna_plugin</></Pair> <Pair key="module_action"><>dlna_scan</></Pair> <Pair key="bar_action"><>hide</></Pair> </Table> </Attributes> <Items> <Item class="type:x-xmb/module-action" key="scan" attr="scan" /> </Items> </View> <View id="seg_playlist_mgmt"> <Attributes> <Table key="mgmt"> <Pair key="mode"><>playlistmgmt</></Pair> <Pair key="type"><>photo</></Pair> </Table> </Attributes> <Items> <Item class="type:x-xmb/xmlplaylist" key="mgmt" attr="mgmt" /> </Items> </View> <View id="seg_playlist_mgmt_psp"> <Attributes> <Table key="mgmt"> <Pair key="mode"><>playlistmgmtpsp</></Pair> <Pair key="type"><>photo</></Pair> </Table> </Attributes> <Items> <Item class="type:x-xmb/xmlplaylist" key="mgmt" attr="mgmt" /> </Items> </View> <View id="seg_playlist_fixed_items"> <Attributes> <Table key="make_new_playlist"> <Pair key="icon_rsc"><>tex_add_playlist</></Pair> <Pair key="title_rsc"><>msg_create_new_playlist</></Pair> <Pair key="icon_notation"><>WNT_XmbItemPlaylistAdd</></Pair> <Pair key="module_name"><>playlist_plugin</></Pair> <Pair key="module_action"><>make_new_playlist_photo</></Pair> <Pair key="bar_action"><>hide</></Pair> </Table> </Attributes> <Items> <Item class="type:x-xmb/module-action" key="make_new_playlist" attr="make_new_playlist" /> </Items> </View> <View id="seg_playlist_empty"> <Attributes> <Table key="empty"> <Pair key="mode"><>playlistempty</></Pair> <Pair key="id"><></></Pair> <Pair key="path"><></></Pair> </Table> </Attributes> <Items> <Item class="type:x-xmb/xmlplaylist" key="empty" attr="empty" /> </Items> </View> <View id="seg_hakoniwa"> <Items> <Item class="type:x-xmb/xmlhakoniwa" key="hakoniwa" attr="hakoniwa" /> </Items> </View> <View id="seg_screenshot"> <Items> <Item class="type:x-xmb/xmlscreenshot" key="screenshot" /> </Items> </View> <View id="seg_gameexit"> <Items> <Item class="type:x-xmb/xmlgameexit" key="gameexit" /> </Items> </View> </XMBML>
Code:<X version="1.0"> <V id="root"> <A> <T key="seg_dlna_scan"> <P key="focus_priority"><>4</></P> </T> <T key="seg_screenshot"> <P key="focus_priority"><>3</></P> </T> <T key="gameDir"> <P key="focus_priority"><>2</></P> </T> <T key="seg_dlna_device"> <P key="focus_priority"><>1</></P> </T> <T key="seg_data_device"> <P key="focus_priority"><>-50</></P> </T> <T key="seg_playlist_mgmt"> <P key="focus_priority"><>3</></P> </T> <T key="seg_hdd_contents"> <P key="focus_priority"><>0</></P> </T> </A> <I> <Q class="type:x-xmb/folder-pixmap" key="seg_dlna_scan" attr="seg_dlna_scan" src="sel://localhost/isdlna?category_photo.xml#seg_dlna_scan" /> <Q class="type:x-xmb/folder-pixmap" key="seg_screenshot" attr="seg_screenshot" src="sel://localhost/screenshot?category_photo.xml#seg_screenshot" /> <Q class="type:x-xmb/folder-pixmap" key="seg_gameexit" src="sel://localhost/ingame?path=category_photo.xml#seg_gameexit&type=photo" /> <Q class="type:x-xmb/folder-pixmap" key="gameDir" attr="gameDir" src="xcb://localhost/query?limit=2048&table=MMS_MEDIA_TYPE_HDD&sort=+Game:Common.stat.rating+Game:Common.timeCreated&cond=Aa+Game:Common.title+Ae+Game:Game.category AP" /> <Q class="type:x-xmb/folder-pixmap" key="seg_dlna_device" attr="seg_dlna_device" src="xcb://localhost/query?table=MMS_MEDIA_TYPE_SYSTEM&genre=Photo&sort=+StorageMedia:Common.titleForSort&cond=Ae+StorageMedia:StorageMedia.type %xCB_MEDIA_TYPE_DLNA" /> <Q class="type:x-xmb/folder-pixmap" key="seg_data_device" attr="seg_data_device" src="xcb://localhost/query?table=MMS_MEDIA_TYPE_SYSTEM&genre=Photo&sort=+StorageMedia:StorageMedia.sortOrder+StorageMedia:StorageMedia.timeInserted&cond=Ae+StorageMedia:StorageMedia.stat.mediaStatus %xCB_MEDIA_INSERTED+Ae+StorageMedia:StorageMedia.mediaFormat %xCB_MEDIA_FORMAT_DATA+AGL+StorageMedia:StorageMedia.type %xCB_MEDIA_TYPE_BDROM %xCB_MEDIA_TYPE_WM" /> <Q class="type:x-xmb/folder-pixmap" key="seg_playlist_mgmt" attr="seg_playlist_mgmt" src="#seg_playlist_mgmt" /> <Q class="type:x-xmb/folder-pixmap" key="seg_hdd_contents" attr="seg_hdd_contents" src="sel://localhost/ex?root.view_selected.photo" /> </I> </V> <V id="seg_dlna_scan"> <A> <T key="scan"> <P key="icon_rsc"><>item_tex_dlna_scan</></P> <P key="icon_notation"><>WNT_XmbItemMediaServerSearch</></P> <P key="title_rsc"><>msg_scan_mediaserver</></P> <P key="module_name"><>dlna_plugin</></P> <P key="module_action"><>dlna_scan</></P> <P key="bar_action"><>hide</></P> </T> </A> <I> <I class="type:x-xmb/module-action" key="scan" attr="scan" /> </I> </V> <V id="seg_playlist_mgmt"> <A> <T key="mgmt"> <P key="mode"><>playlistmgmt</></P> <P key="type"><>photo</></P> </T> </A> <I> <I class="type:x-xmb/xmlplaylist" key="mgmt" attr="mgmt" /> </I> </V> <V id="seg_playlist_mgmt_psp"> <A> <T key="mgmt"> <P key="mode"><>playlistmgmtpsp</></P> <P key="type"><>photo</></P> </T> </A> <I> <I class="type:x-xmb/xmlplaylist" key="mgmt" attr="mgmt" /> </I> </V> <V id="seg_playlist_fixed_items"> <A> <T key="make_new_playlist"> <P key="icon_rsc"><>tex_add_playlist</></P> <P key="title_rsc"><>msg_create_new_playlist</></P> <P key="icon_notation"><>WNT_XmbItemPlaylistAdd</></P> <P key="module_name"><>playlist_plugin</></P> <P key="module_action"><>make_new_playlist_photo</></P> <P key="bar_action"><>hide</></P> </T> </A> <I> <I class="type:x-xmb/module-action" key="make_new_playlist" attr="make_new_playlist" /> </I> </V> <V id="seg_playlist_empty"> <A> <T key="empty"> <P key="mode"><>playlistempty</></P> <P key="id"><></></P> <P key="path"><></></P> </T> </A> <I> <I class="type:x-xmb/xmlplaylist" key="empty" attr="empty" /> </I> </V> <V id="seg_hakoniwa"> <I> <I class="type:x-xmb/xmlhakoniwa" key="hakoniwa" attr="hakoniwa" /> </I> </V> <V id="seg_screenshot"> <I> <I class="type:x-xmb/xmlscreenshot" key="screenshot" /> </I> </V> <V id="seg_gameexit"> <I> <I class="type:x-xmb/xmlgameexit" key="gameexit" /> </I> </V> </X>
Not only that, but every time localhost is mentioned in XMBML, we can replace it with just 0. lol.
It's a really cool news!! I was thinking about that when I found that <String> could be shortened, but I couldn't validate it.
It's very helpful to reduce the size of mygames.xml