è¦ç´ Rubyã§HTMLããTeXã¸ã®ãã©ã³ã¹ã¬ã¼ã¿ãæ¸ããã Nokogiriã®Nokogiri::XML::SAX::Documentãããã使ãã®ã便å©ããã«æããããå®éã«ããã¨ã½ã¼ã¹ã³ã¼ããå´©å£ããã SAXã§ã¯ãªãDOMãç¨ãã¦é層æ§é ãå帰ã§è¾¿ã£ãã»ãããããããã«ã¡ã¿ããã°ã©ãã³ã°ãç¨ããã¨å²ã¨ç°¡æ½ãªè¨è¿°ã«ã§ããã åå Rubyã§ã®XMLæä½ã«ã¯ããã¡ã¯ãã¹ã¿ã³ãã¼ãã¨ãªãã¤ã¤ããNokogiriã HTMLããç¹å®ã®ã¿ã°ãæ½åºãã¦â¦â¦ã®ãããªãæ軽ãã¼ã¹ã«ã¯å¤§å¤å¿«é©ãªãã§ãããXMLã®å ¨é¨ã®ã¿ã°ã«ã¢ã¯ã·ã§ã³ãèµ·ãããããªæ¬æ ¼çã«ãã¼ã¹ããã¨ãããããããã¥ããæ°ããããããããã°ã°ãã¦ããã¯ãªexampleãã§ã¦ããªã ãããããªãã®ã§è©¦è¡é¯èª¤ãã¦ãã¾ãNokogiriã®SAXã使ã£ãã SAXã¯XMLããè¦ç´ ã®å§ã¾ããããè¦ç´ ã®çµãããããããã¹ããã®3ã¤ã«ããããã
{{#tags}}- {{label}}
{{/tags}}