IBM Developer is your one-stop location for getting hands-on training and learning in-demand skills on relevant technologies such as generative AI, data science, AI, and open source.
XMLé¢é£è¦æ ¼ã®ä¸ã§ããXSLTã¯æ¯è¼çæ©ãææï¼1999å¹´11æ16æ¥ï¼ã«W3Cå§åã¨ãªã£ãè¦æ ¼ã§ãããã®çç±ã¯ãç°ãªããã¼ã¿ãã©ã¼ãããï¼ããªãã¡ã¹ãã¼ãï¼ã使ãä¼æ¥éã§ãã¼ã¿äº¤æãããå ´åãªã©ãXSLTã使ã£ã¦XMLãã¼ã¿ã®æ§é å¤æãããå¿ è¦æ§ãé«ãã£ãããã§ããã§ã¯ãXSLTã¨ã¯ä½ç©ãªã®ã§ãããããã¾ããXSLTã¯ãã©ã®ããã«æ¸ãããããã®ã§ããããããã®è¨äºã¯ãXSLTã®æ¸ãæ¹ãåå¿è ã®æ¹ã«ãåãçµã¿ããã解説ãã¾ãã XMLãèªç±ã«å¤æããXSLT XMLã¯ãã¼ã¿ã®è«ççãªæ§é ãè¨è¿°ããããã®è¨èªã§ããããXMLã«ãã£ã¦è¨è¿°ãããXMLææ¸ï¼ä»¥ä¸XMLãã¼ã¿ï¼ã«ã¯ããããã©ããªä½è£ã§Webãã©ã¦ã¶ãç´ãªã©ã«è¡¨ç¤ºãããã¹ãããæ示ããã¬ã¤ã¢ã¦ãæ å ±ï¼ã¹ã¿ã¤ã«æ å ±ï¼ã¯å«ã¾ãã¦ãã¾ããããã®ãããããXMLãã¼ã¿ã表示ããããã«ã¯ã XMLãã¼ã¿ã®æ§é ããï¼Webãã©ã¦ã¶ãªã©ã®ï¼ãã©
ãã®ãã¼ã¸ã§ã¯XMLã«ã¤ãã¦ãå ¥éè ã«ãããããããããã¤ã詳細ã«æ±ã£ã¦ãã¾ãã â»åºæ¬çã«Windowsä¸ã§ç¢ºèªãåå¼·ã§ãããã¨ãåæã«è¨è¿°ãã¾ãã â»èª¤ããªã©ããã¾ãããè¨æ£è´ãã¾ãã®ã§ãé£çµ¡ä¸ããã â»å§ãã¦ã®æ¹ãå ¥éã®æ¹ã¯åãããèªãããã«ãã¦ãã ããã â»ãã¼ãµã®èªã¿æ¸ã/DOm/SAX/XHTMLã«ã¤ãã¦ã¯ä»å¾è¿½å äºå®ã§ãã â ç®æ¬¡
XPathGraph ã¨ã¯ http://xpath.kayac.com/ URL 㨠XPath ãæå®ããã¨ä¸æ¥ã«ä¸åãã® URL ãã¹ã¯ã¬ã¤ãã³ã°ã㦠XPath å¼ã示ãå¤ãã°ã©ãã«ãã¦ãããï¼ã¨ããç»æçãªãµã¼ãã¹ã§ãã ä¾ãã°ã URL 㨠XPath ãæå®ããã ãã§ä»¥ä¸ã®ãããªã°ã©ããä½ãã¦ãã¾ãã¾ãã æ¬å½ã«æ¥½ãããã¨ãåºæ¥ããã§ã¯ã¯ã¯ã¯ãã¦ã¾ãï¼ ã§ã ã¾ã XPath ãç»é²ãã¦ãã人ãæå¤ã¨å°ãªãã®ã§ããã²ãã£ã¨ãã¦ããã®ãµã¼ãã¹ã®ä½¿ãã©ãããåãããªãã®ããªãããã¨æãã¾ããã ã¨ãããã㧠XPath ã§åºæ¥ããã¨ã®ãã³ããå°ãç´¹ä»ãããã¨æãã¾ãã 足ãç®ãå¼ãç®ãããç®ãå²ãç® XPath ã§ã¯æ®éã«æ°å¤ã®æ¼ç®ãã§ãã¾ãã ãã¨ãã°ã //div[@class=counter] ã§åå¾ãã¦ãã div è¦ç´ ã 1000 ã¨ããæ°å¤ãæã£ã¦ããã¨ãã㨠2 *
æ°å¹´åãXML ãã¼ã ã¨ãè¨ããç¾è±¡ãèµ·ãã¾ããã ãã¢ããªã±ã¼ã·ã§ã³éã®ãã¼ã¿äº¤æãç°¡åããWEBæ代ã®å¿ é æè¡ããªã©ã¨ããããXMLãæè¡è éã®ç±ãæå¾ ãèè² ã£ã¦ããã¨ããããã¾ããã ãã¼ã ã¯ä¸æ®µè½ãããã¤ã¦ç¨ç±ã帯ã³ãè¨èã§èªãããªããªã£ãXMLã§ãããã§ã¯ãXMLã¯å»ãã¦ãã¾ã£ãã®ã§ããããï¼ ããã§ã¯ããã¾ããã çå®ã«ãåºç¤æè¡ãã¨ãã¦ãããããã³ã³ãã¥ã¼ã¿ã·ã¹ãã ã«å®è£ ããããã¨ãã¦ãã¾ãã ããã§ã¯ãXML, DTD, XML Schema ãªã©ã«ã¤ãã¦ã詳ãã説æãã¾ãã ãXMLé¢é£ã¢ããªã±ã¼ã·ã§ã³ãä»ããå®è£ ããªããã°ãããªããã¨ãã£ã人ã«ã¯åããªãããããã¾ããã ãXMLã®æ¬è³ªãç解ãããããXMLã«ã¤ãã¦ãåºç¤ãããã£ããä¸å¯§ã«ç¿å¾ããããã¨ãã人ã®åã«ãªãã°ãã¨æã£ã¦ãã¾ãã XML INDEX
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}