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.
Wednesday, January 11, 2006 ãã XML è¨èªãéçºãã㪠Donât Invent XML Languages by Tim Bray (Updated: 2006/01/09) XML ã® X ã¯ãæ¡å¼µå¯è½(Extensible)ãã¨ããæå³ã ãèªåã®åé¡ã«å¿ãã¦èªåã® XML è¨èªãéçºã§ãããã¨ãã¦ãªã«ãã¦ãããã§ããåã¯éå» 2 ã3 å¹´ã®çµé¨ããããããã¹ãã§ã¯ãªããã¨ãæã£ããæ¬å½ã«å¿ è¦ãªæ以å¤ã¯ããä»ããããã説æãããããã¦ãããæ¬å½ã«å¿ è¦ãªæãããã°ãé¢é£ææ¸ã®On XML Language Design ãèªãã§æ¬²ããã åã¯æè¿ãã XML è¨èªã®éçºãæä¼ã£ã¦ããã®ã ããã©ãã©ãã話ååã§èãã¦æ¬²ãããåã¯è¨èªãã¶ã¤ã³ãã¡ã¤ã³ã§ãã£ã¦ããããã§ã¯ãªãããåãããå°éæè¡ã§ãªã«ãè¨ãããã¨ãããã¨ããã°ãããã¯ä¸»ã¨ãã¦ããããã®ç°ãªã X
ä»åããæ°ããå§ã¾ã£ãããã¾ããèããªããªããã¯ã©ã¤ã¢ã³ãæè¡ãã·ãªã¼ãºãæ¯å1ã¤ã®ãªããã¯ã©ã¤ã¢ã³ãç¨èªã»æè¡ãåãä¸ãã¦è§£èª¬ããã¾ããã¬ãã«ã¨ãã¦ã¯åå¿è ããä¸ç´è ãæ³å®ãã¦ããã®ã§ãæ°è»½ã«èªãã§ãã ãããã è¨å¿µãã¹ã第1åã¯ãWeb2.0æ代ã®ãXMLãã«ã¤ãã¦ã§ããçãããä¸åº¦ã¯ãã®ç¨èªãèãããã¨ãããã¨æãã¾ããXMLã¯ã©ããªæè¡ãªã®ãï¼ XMLã使ãã¨ä½ãããã®ãï¼ è¦ã¦ããã¾ãããã ãããã®ä¸çã¯XMLã ãã ã¾ãXMLã¯ã©ããªã¨ããã§ä½¿ããã¦ããã®ã§ãããããXMLããã¼ã¹ã¨ãªã£ã¦ããä¸çªãªãã¿ãæ·±ããµã¼ãã¹ã¯ããµã¤ãã®æ´æ°æ å ±ãä¼ãããRSSãã§ãã
XML.ObjTree ã¯ã©ã¹ã¯ãPerl ç¨ã® XML::TreePP ã¢ã¸ã¥ã¼ã«ã® JavaScript çã§ãã XML ãã¡ã¤ã«ã¨ JavaScript ãªãã¸ã§ã¯ãï¼é£æ³é åï¼éã®ç¸äºå¤æãè¡ãã¾ãã prototype.js ã¾ã㯠JSAN ã® HTTP.Request ã¯ã©ã¹ã¨ä½µç¨ãããã¨ã§ã JKL.ParseXML ã® å¾ç¶ ã¨ãã¦ãå©ç¨ã§ãã¾ãã ECMA-357 ã®æ®åãå¾ ããã«ã ECMAScript for XML (E4X) 風ã®XMLã®ãªãã¸ã§ã¯ãå©ç¨ãå¯è½ã«ãªãã¾ãã Intel Mac çã® Safari ã§ã DOMParser ãªãã¸ã§ã¯ãã® async ããããã£ã read-only ã¨ãªãç¹ã«ã対å¿ãã¦ãã¾ãã IE ã§ï¼ãµã¼ãä¸ã§ãªãï¼ãã¼ã«ã«ã®XMLãã¡ã¤ã«ãéãããããªãã¾ãããï¼2006/08/14ï¼ ãªã³ã©ã¤ã³DEMO DEMOï¼ã試
Introduction Examples Notes Download the source Contact me History Introduction Face it, XML is a pain. This simple library tries to make it much less painful. It allows you to easily parse XML into a PHP data structure, and it allows you to serialize PHP data structures into XML. Many other programming languages have easy-to-use XML interfaces (Python's is particularly nice, AFAIK. Lots of
Microsoftã¯22æ¥ãXMLã¨ãã£ã¿ãXML Notepad 2007ãããªãªã¼ã¹ãããå社ã®Webãµã¤ãããç¡åã§ãã¦ã³ãã¼ããããã¨ãã§ããã ãã®ã¨ãã£ã¿ã¯XMLãããªã¼ã§è¡¨ç¤ºã§ãããã¤ã³ã¨ãå®éã®å¤ã表示ã»ç·¨éã§ãããã¤ã³ãããªããè¦ç´ ãå±æ§ã®è¿½å ãã³ãã¼ãåé¤ã¨ãã£ãåºæ¬çãªç·¨éãè¦è¦çã«è¡ããã¨ãã§ããã»ããããªã¼ãã¥ã¼ã®ã¢ã¤ã³ã³ããã©ãã°ï¼ãããããããã¨ã§è¦ç´ ã®ç§»åããããã¨ãã§ããã ã¾ããXSLTãé©ç¨ããéã®ãã¬ãã¥ã¼ã¿ããç¨æããã¦ãããXMLã«ã¾ã¤ããéçºã«ãããå¼·åãªãã¼ã«ã«ãªãããã ãXML Notepad 2007ã¯ãWindows Server 2003ãWindows XPãWindows Vistaã«å¯¾å¿ãã¦ããã.NET Framework 2.0ãå¿ è¦ã¨ãªãã Microsoftï¼XML Notepad 2007
第3åãXML::Simpleã§ããããXMLææ¸ãæçããï¼ä½ã£ã¦å¦ã¶ãä»ã©ãã®Webãµã¼ãã¹ï¼1/2 ãã¼ã¸ï¼ RSSã«ãããXML::RSSã®ããã«ãå°ç¨ã®ã¢ã¸ã¥ã¼ã«ãããå ´åã«ã¯ããã使ãã°ããã®ã§ãããããã§ãªãå ´åã¯æ±ç¨ã®XMLãã¼ãµã¼ã¢ã¸ã¥ã¼ã«ã使ã£ã¦ãã¼ã¹ãããã¨ã«ãªãã¾ããä»åã¯ãXML::Simpleã使ã£ã¦ããããXMLææ¸ãæçã§ããããã«ãã¦ã¿ã¾ãã ååã¾ã§ã§XML::RSSã«ããRSSã®æçæ¹æ³ã¯åãã£ãã¨ãã¦ãã§ã¯RSS以å¤ã®XMLææ¸ãæçããå ´åã«ã¯ã©ããããããã®ã§ãããï¼ãRSSã«ãããXML::RSSã®ããã«ãå°ç¨ã®ã¢ã¸ã¥ã¼ã«ãããå ´åã«ã¯ããã使ãã°ããã®ã§ãããããã§ãªãå ´åã¯æ±ç¨ã®XMLãã¼ãµã¼ã¢ã¸ã¥ã¼ã«*ã使ã£ã¦ãã¼ã¹ãããã¨ã«ãªãã¾ãã XMLææ¸ããPerlã®ãã¼ã¿æ§é ãä½ãXML::Simple Perlã®ä»£è¡¨çãªXMLãã¼ãµã¼ã§ãã
ActionScriptã§XMLå½¢å¼ã®ãã¡ã¤ã«ãèªã¿è¾¼ãã§å©ç¨ããéã«ï¼ãã²ç¥ã£ã¦ããããã®ããXPathAPIã¯ã©ã¹ãã§ããXPathAPIã¯ã©ã¹ãå©ç¨ãããã¨ã§ï¼ç®çã®ãã¼ã¿ã«ç°¡åã«ã¢ã¯ã»ã¹ã§ããããã«ãªãã¾ãã XMLãã¡ã¤ã«ã®ãã¼ã¿ãæ½åº å³1ã¯XMLãã¼ã¿ã®ä¸ããï¼æå®ãããã®ã ããæ½åºãã¦è¡¨ç¤ºããã ã¼ãã¼ã§ãããã®ã ã¼ãã¼ã§èªã¿è¾¼ãã§ããXMLãã¡ã¤ã«ã¯ï¼å³2ã®ãããªãã¡ã¤ã«ã§ãã å³1ï¼XMLãã¼ã¿ãæ½åºããã ã¼ãã¼ï¼ã¯ãªãã¯ããã¨ã ã¼ãã¼ã表示ãã¾ãï¼ ï¼ãµã³ãã«ã»ãã¡ã¤ã«ã®ãã¦ã³ãã¼ãã¯ãã¡ãï¼ å³2ï¼èªã¿è¾¼ãã§ããXMLãã¡ã¤ã«ï¼ã¯ãªãã¯ããã¨æ¡å¤§è¡¨ç¤ºãã¾ãï¼ ãã®ããã«XMLãã¡ã¤ã«ããæå®ãããã¼ã¿ãåãåºãããå ´åã«ã¯ï¼ãXPathAPIã¯ã©ã¹ãã便å©ã§ãã XPathå¼ã使ã£ã¦ç®çã®ãã¼ã¿ãæå®ãã å³3ã¯ååãèªã¿è¾¼ã¿ç¨ã«ä½¿ç¨ããXMLãã¡ã¤ã«ã§ãããã®XML
ããã°æ¥è¨ãï¼ã¯ã¦ãªãã¤ã¢ãªã¼ã§ä½æããã¦ããæ¹ãå¤ããã¨æãã¾ããã¯ã¦ãªãã¤ã¢ãªã¼ã«ã¯ï¼ã¯ã¦ãªã§æ¸ãããæ¥è¨ãä»ã«ç§»è¡ããããã®ã¨ã¯ã¹ãã¼ãæ©è½ãåãã£ã¦ãã¾ãããã®ã¨ã¯ã¹ãã¼ãæ©è½ãå®è¡ããã¨ï¼æ¬¡ã®ãããªXMLãã¼ã¿ãåºåããã¾ããä»åã¯ï¼ãã®ã¯ã¦ãªãã¤ã¢ãªã¼ã®ã¨ã¯ã¹ãã¼ãæ©è½ã§åºåãããXMLãã¼ã¿ãé¡æã«ãã¦ï¼XMLã®åºæ¬æ§æãå¦ç¿ãã¦ããããã¨æãã¾ãã ä¾1ï¼ã¯ã¦ãªãã¤ã¢ãªã¼ã§ã¨ã¯ã¹ãã¼ããããXMLææ¸ <?xml version="1.0" encoding="UTF-8"?> <diary> <day date="2006-08-30" title="ããããXML Schemaã®åå¼·éå§" > <body>ä»æ¥XML Schemaã®åå¼·ãéå§ãã¾ãããçµæ§é£ããã»ã»ã»</body> </day> <day date="2006-08-31" title="ã¯ãããXML
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}