Warning. (2019.1) REXML ã¯, æ¨æºæ·»ä»ã§ãã, å質ã»é度ã®ä¸¡é¢ã§ãã¾ãããããã¾ãããNokogiri (é¸) ãã¡ã¸ã£ã¼ã§ãé·ããæ¨æºã®å°ä½ã§ä½¿ããã¦ãã¾ããREXML ã®3åéãã æè¿ã¯, å¤§é¸ (ãã) ã®äººæ°ãé«ããã¹ã¬ããã»ã¼ããé«éãæ©è½æ§ããããYorick Peterse / oga · GitLab REXMLã®ç¹å¾´ REXMLã¯ã XML 1.0ã«æºæ ãããé«éãªXMLãã¼ãµã§ãDOMããªã¼ãçæããããXMLææ¸ãèªã¿ãªããã³ã¼ã«ããã¯ããã (SAX2ã¹ããªã¼ã ãã¼ãµ) ãã¨ãã§ããã XPathã®å®è£ ãå«ã¿ãæ¤ç´¢å¼ã«ãã£ã¦DOMããªã¼ã®å¥½ããªè¦ç´ ãåãåºããã¨ãã§ããã Ruby 1.8.5ã«ã¯REXML 3.1.4ãæ·»ä»ããã¦ããããã¥ã¼ããªã¢ã«ãAPIãªãã¡ã¬ã³ã¹ã¯ä¸è¨ã§è¦ããããããAPIãªãã¡ã¬ã³ã¹ã®ã»ãã¯ä¸ååãã¤èª¤ããããã
ãã®ãªãã¡ã¬ã³ã¹ã«ã¤ã㦠ããã¯ãæ¸ç±ãRuby de XMLã å ã«æ²è¼ããã¦ããXPathã®é¢æ°ãªãã¡ã¬ã³ã¹ããã¼ã¹ã¨ãã¦ãã¾ããä¸é¨ã æ¬æ¸ã§ã®è¨è¿°ã¨ç°ãªãé¨åãããã¾ãã (注1) ãæ¬ è³ªçã«ã¯åããã®ã§ãã®ã§ãäºæ¿ä¸ããã (注1) æ¸ç±å ã§ã¯ç´é¢ã®é½åã«ããä¸èª ç¶ãªæãè¿ããé²ãããã«ä¸å¿ è¦ãªå¤æ°ãå°å ¥ããã¦ããããã¾ãã ã¯ããã« XPathã®é¢æ°ã¯ä»¥ä¸ã®åã¤ã«åé¡ããã¦ããã ãã¼ãã»ããé¢æ°ï¼node set functionï¼ æååé¢æ°ï¼string functionï¼ ãã¼ãªã¢ã³é¢æ°ï¼boolean functionï¼ æ°å¤é¢æ°ï¼number functionï¼ é¢æ°ã®ä¸ã«ã¯ãã¤ãã³ï¼-ï¼ãå«ããã®ãããããREXMLã§ã¯ããã¤ãã³ ãã¢ã³ãã¼ãã¼ï¼_ï¼ã«å¤æ´ããé¢æ°ãç¨æãã¦ãããä¾ãã°ã a-b() ã¨ããé¢æ°ããã£ãããa-b()ã§ãå¼ã³åºãããã a_b
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}