{"id":6819,"date":"2019-06-08T23:20:16","date_gmt":"2019-06-08T14:20:16","guid":{"rendered":"http:\/\/www.code-magagine.com\/?p=6819"},"modified":"2023-05-28T08:16:20","modified_gmt":"2023-05-27T23:16:20","slug":"%e3%80%90xml%e3%80%91%e6%96%87%e6%9b%b8%e6%a7%8b%e6%88%90","status":"publish","type":"post","link":"http:\/\/www.code-magagine.com\/?p=6819","title":{"rendered":"\u3010XML\u3011\u6587\u66f8\u69cb\u6210"},"content":{"rendered":"<p>XML\u6587\u66f8\u306f\u3001\u5927\u304d\u304f\u4e0b\u8a18\u4e8c\u3064\u306e\u90e8\u5206\u306b\u5206\u3051\u3089\u308c\u307e\u3059\u3002<\/p>\n<ul>\n<li>XML\u5ba3\u8a00<\/li>\n<li>XML\u6587\u66f8\u672c\u4f53\u90e8\u5206<\/li>\n<\/ul>\n<h2>XML\u5ba3\u8a00<\/h2>\n<p>XML\u6587\u66f8\u306e\u524d\u66f8\u304d\u3068\u306a\u308b\u90e8\u5206\u3067\u3059\u3002\u4f8b\u3048\u3070\u4e0b\u8a18\u306e\u3088\u3046\u306a\u8a18\u8ff0\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<pre class=\"lang:default decode:true\">&lt;?xml version=\"1.0\" encoding=\"UTF-8\" ?&gt;<\/pre>\n<h3>\u6307\u5b9a\u3067\u304d\u308b\u5c5e\u6027<\/h3>\n<table>\n<tbody>\n<tr>\n<th>\u5c5e\u6027\u540d<\/th>\n<th>\u8aac\u660e<\/th>\n<\/tr>\n<tr>\n<td>version<\/td>\n<td><span style=\"color: #ff0000;\"><strong>XML\u306e\u30d0\u30fc\u30b8\u30e7\u30f3<\/strong><\/span>\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002\u73fe\u5728\u4e3b\u306b\u4f7f\u308f\u308c\u3066\u3044\u308b\u30d0\u30fc\u30b8\u30e7\u30f3\u306f1.0\u3067\u3059\u3002<\/td>\n<\/tr>\n<tr>\n<td>encoding<\/td>\n<td><span style=\"color: #ff0000;\"><strong>XML\u6587\u66f8\u3067\u4f7f\u308f\u308c\u3066\u3044\u308b\u6587\u5b57\u30b3\u30fc\u30c9<\/strong><\/span>\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2>XML\u6587\u66f8\u672c\u4f53\u90e8\u5206<\/h2>\n<p>XML\u6587\u66f8\u306e\u672c\u4f53\u90e8\u5206\u3067\u3059\u3002<\/p>\n<p>\u69cb\u6210\u8981\u7d20\u3068\u3057\u3066\u306f\u3001\u4e0b\u8a18\u306b\u5206\u304b\u308c\u307e\u3059\u3002<\/p>\n<h3>\u8981\u7d20(element)<\/h3>\n<p>\u4f8b\u3048\u3070\u3001\u4f55\u304b\u306e\u540d\u524d\u3092\u73fe\u3059\u8981\u7d20\u3067\u3042\u308c\u3070\u3001\u4e0b\u8a18\u306e\u3088\u3046\u306b\u6307\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"lang:default decode:true\">&lt;name&gt;\u540d\u524d&lt;\/name&gt;<\/pre>\n<h4>\u30eb\u30fc\u30c8\u8981\u7d20<\/h4>\n<p>XML\u6587\u66f8\u306e\u672c\u4f53\u90e8\u5206\u306f\u3001<span style=\"color: #ff0000;\"><strong>\u5fc5\u305a\u5358\u4e00\u306e\u30eb\u30fc\u30c8\u8981\u7d20\u306e\u4e2d\u306b\u53ce\u307e\u3063\u3066\u306a\u3051\u308c\u3070\u306a\u3089\u306a\u3044<\/strong><\/span>\u30eb\u30fc\u30eb\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<h3>\u5c5e\u6027(attribute)<\/h3>\n<p><span style=\"color: #ff0000;\"><strong>\u8981\u7d20\u306b\u4ed8\u5c5e\u3059\u308b\u30c7\u30fc\u30bf<\/strong><\/span>\u306e\u3053\u3068\u3067\u3059\u3002<\/p>\n<h2>\u305d\u306e\u4ed6\u69cb\u6210\u8981\u7d20<\/h2>\n<p>\u305d\u306e\u4ed6\u306b\u3082\u4e0b\u8a18\u306e\u3088\u3046\u306a\u69cb\u6210\u8981\u7d20\u304c\u3042\u308a\u307e\u3059\u3002\u3053\u308c\u3089\u306e\u8a18\u8ff0\u3092\u4f7f\u3046\u3053\u3068\u3067\u7279\u6b8a\u6587\u5b57\u3084\u8a18\u53f7\u7b49\u3092\u30c7\u30fc\u30bf\u306e\u4e2d\u3067\u4f7f\u7528\u3059\u308b\u3053\u3068\u304c\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<ul>\n<li>\u5b9f\u4f53\u53c2\u7167<\/li>\n<li>\u6587\u5b57\u53c2\u7167<\/li>\n<li>CDATA\u30bb\u30af\u30b7\u30e7\u30f3<\/li>\n<\/ul>\n<h3>\u5b9f\u4f53\u53c2\u7167<\/h3>\n<p><span style=\"color: #ff0000;\"><strong>\u7279\u6b8a\u306a\u8a18\u53f7\u7b49\u3092\u8868\u73fe\u3059\u308b<\/strong><\/span>\u5834\u5408\u306b\u4f7f\u3044\u307e\u3059\u3002\u7279\u6b8a\u306a\u8a18\u53f7\u3068\u306f\u5177\u4f53\u7684\u306b\u4e0b\u8a18\u306e\u3088\u3046\u306a\u8a18\u53f7\u306e\u3053\u3068\u3067\u3059\u3002<\/p>\n<table>\n<tbody>\n<tr>\n<th>\u5b9f\u4f53\u53c2\u7167<\/th>\n<th>\u8868\u3059\u8a18\u53f7<\/th>\n<\/tr>\n<tr>\n<td>&amp;lt;<\/td>\n<td>&lt;<\/td>\n<\/tr>\n<tr>\n<td>&amp;gt;<\/td>\n<td>&gt;<\/td>\n<\/tr>\n<tr>\n<td>&amp;amp;<\/td>\n<td>&amp;<\/td>\n<\/tr>\n<tr>\n<td>&amp;apos;<\/td>\n<td>'<\/td>\n<\/tr>\n<tr>\n<td>&amp;quot;<\/td>\n<td>\"<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3>\u6587\u5b57\u53c2\u7167<\/h3>\n<p><span style=\"color: #ff0000;\"><strong>\u6587\u5b57\u30b3\u30fc\u30c9\u3092\u4f7f\u7528\u3057\u3066\u6587\u5b57\u3092\u8868\u3059\u66f8\u304d\u65b9<\/strong><\/span>\u3067\u3059\u3002\u4f8b\u3068\u3057\u3066\u306f\u4e0b\u8a18\u306e\u3088\u3046\u306a\u3082\u306e\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<table>\n<tbody>\n<tr>\n<th>\u6587\u5b57\u53c2\u7167<\/th>\n<th>\u8a18\u53f7<\/th>\n<\/tr>\n<tr>\n<td>&amp;#8482;<\/td>\n<td>\u2122<\/td>\n<\/tr>\n<tr>\n<td>&amp;#169;<\/td>\n<td>\u00a9<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3>CDATA<\/h3>\n<p>\u6587\u5b57\u53c2\u7167\u3084\u3001\u5b9f\u4f53\u53c2\u7167\u3092\u4f7f\u3048\u3070\u7279\u6b8a\u8a18\u53f7\u3092\u4f7f\u7528\u3057\u305f\u5024\u3092XML\u6587\u66f8\u5185\u3067\u4f7f\u3046\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u305f\u3060\u3001<span style=\"color: #ff0000;\"><strong>\u6570\u304c\u591a\u3044\u3068\u305d\u306e\u6307\u5b9a\u3059\u3089\u3082\u7169\u308f\u3057\u304f\u306a\u3063\u3066\u304d\u3066\u3057\u307e\u3046<\/strong><\/span>\u3068\u601d\u3046\u306e\u3067\u3001\u305d\u3093\u306a\u3068\u304d\u306b\u4f7f\u3048\u308b\u306e\u304c\u300cCDATA\u300d\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<pre class=\"lang:default decode:true \">&lt;\u8aac\u660e&gt;\r\n    &lt;![CDATA[ \r\n       &lt;\u30c6\u30b9\u30c8&gt;&amp;\u7b49\u3001\u3044\u308d\u3044\u308d\u306a\u7279\u6b8a\u6587\u5b57\u3092\u4f7f\u3044\u307e\u3059\u3002\r\n        ]]&gt;\r\n&lt;\/\u8aac\u660e&gt;<\/pre>\n<h3>\u51e6\u7406\u547d\u4ee4<\/h3>\n<p>XML\u5185\u3067&lt;?\uff5e?&gt;\u3067\u56f2\u307e\u308c\u305f\u7b87\u6240\u306f<span style=\"color: #ff0000;\"><strong>\u51e6\u7406\u547d\u4ee4<\/strong><\/span>\u3068\u547c\u3073\u307e\u3059\u3002<\/p>\n<p>\u305d\u306e\u540d\u306e\u901a\u308a\u3001XML\u6587\u66f8\u304b\u3089<span style=\"color: #ff0000;\"><strong>XML\u3092\u51e6\u7406\u3059\u308b\u30a2\u30d7\u30ea(Web\u30d6\u30e9\u30a6\u30b6\u3084\u3001XML\u30d1\u30fc\u30b5\u7b49)<\/strong><strong>\u306b\u5bfe\u3057\u3066\u547d\u4ee4\u3092\u9001\u308a\u307e\u3059\u3002<\/strong><\/span><\/p>\n<p><span style=\"color: #ff0000;\"><strong>\u8981\u7d20\u3084\u3001\u30c7\u30fc\u30bf\u3092\u4f7f\u7528\u3057\u3066\u3067\u3082\u30c7\u30fc\u30bf\u3092\u6e21\u3059\u3053\u3068\u306f\u53ef\u80fd\u306a\u306e\u3067\u901a\u5e38\u306f\u3042\u307e\u308a\u4f7f\u3046\u3053\u3068\u306f\u3042\u308a\u307e\u305b\u3093<\/strong><\/span>\u304c\u3001\u305f\u307e\u306b\u696d\u52d9\u3067\u4f7f\u308f\u308c\u3066\u3044\u305f\u308a\u3059\u308b\u306e\u3067\u7406\u89e3\u3060\u3051\u306f\u3057\u3066\u304a\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"XML\u6587\u66f8\u306f\u3001\u5927\u304d\u304f\u4e0b\u8a18\u4e8c\u3064\u306e\u90e8\u5206\u306b\u5206\u3051\u3089\u308c\u307e\u3059\u3002 XML\u5ba3\u8a00 XML\u6587\u66f8\u672c\u4f53\u90e8\u5206 XML\u5ba3\u8a00 XML\u6587\u66f8\u306e\u524d\u66f8\u304d\u3068\u306a\u308b\u90e8\u5206\u3067\u3059\u3002\u4f8b\u3048\u3070\u4e0b\u8a18\u306e\u3088\u3046\u306a\u8a18\u8ff0\u306b\u306a\u308a\u307e\u3059\u3002 &lt;?xml version=\"1.0\" enco [&hellip;]","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[25],"tags":[],"_links":{"self":[{"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=\/wp\/v2\/posts\/6819"}],"collection":[{"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=6819"}],"version-history":[{"count":14,"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=\/wp\/v2\/posts\/6819\/revisions"}],"predecessor-version":[{"id":20721,"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=\/wp\/v2\/posts\/6819\/revisions\/20721"}],"wp:attachment":[{"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=6819"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=6819"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=6819"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}