å ã»ã©ãã¢ãããã¼ãããchromeã®æ¡å¼µæ©è½ã®ä¸ã§XMLã®ãã¼ãã®ã½ã¼ããã大æåå°æåãåºå¥ããªãã½ã¼ããªã©ãããå¿ è¦ããã£ã¦ãæå¤ã¨ç°¡åã ã£ããã ãã©ããã¡ããã¡ã¢ã DOMãã¼ãã®ã½ã¼ã XMLã®DOMè¦ç´ ãããã®åãã¼ãã®å¤ã®æååé ã§ã½ã¼ãããã ï¼å¤§æåå°æåã¯ç¡è¦ãããï¼ ä»¥ä¸ã¯ã<bookmark>è¦ç´ ã®ä¸ã®<title>è¦ç´ ã®å¤ã§ã<bookmark>è¦ç´ ã並ã¹æ¿ãããã var bookmarks = $('bookmark', data).sort(function(a, b){ a = $('title', a).text().toLowerCase(); b = $('title', b).text().toLowerCase(); if(a > b) return 1; if(a < b) return -1; return 0; }); jQueryã使ã£ã¦
{{#tags}}- {{label}}
{{/tags}}