Parent Directory
|
Revision Log
by remote user 'guest'
| 1 | apache | 1.7 | #pattern |
| 2 | <span class=secno>* </span>Parsing HTML documents | ||
| 3 | apache | 1.4 | #ja |
| 4 | apache | 1.7 | <span class=secno>$1 </span>HTML 文書の構文解析 |
| 5 | apache | 1.4 | |
| 6 | #en | ||
| 7 | <em>This section only applies to user agents, data mining tools, and | ||
| 8 | conformance checkers.</em> | ||
| 9 | #ja | ||
| 10 | <em>この節は利用者エージェント、データ・マイニング・ツール、 | ||
| 11 | 適合性検査器のみに適用されます。</em> | ||
| 12 | |||
| 13 | #en | ||
| 14 | wakaba | 1.59 | The rules for parsing <a href=#xml-documents>XML documents</a> (and |
| 15 | thus <a href=#xhtml5>XHTML</a> documents) into DOM trees are covered by | ||
| 16 | apache | 1.4 | the XML and Namespaces in XML specifications, and are out of scope of this |
| 17 | wakaba | 1.59 | specification. <a href=#refsXML>[XML]</a> <a |
| 18 | href=#refsXMLNS>[XMLNS]</a> <!-- XXX refs --> | ||
| 19 | apache | 1.4 | #ja |
| 20 | wakaba | 1.59 | <a href=#xml-documents>XML 文書</a> (や <a href=#xhtml5>XHTML</a> 文書) |
| 21 | apache | 1.4 | を構文解析して DOM 木を得るための規則は XML や XML 名前空間の仕様書で扱われており、 |
| 22 | wakaba | 1.59 | この仕様書の適用範囲外です。 <a href=#refsXML>[XML]</a> <a |
| 23 | apache | 1.4 | |
| 24 | #en | ||
| 25 | wakaba | 1.59 | For <a href=#html-documents>HTML documents</a>, user agents must use the |
| 26 | apache | 1.4 | parsing rules described in this section to generate the DOM trees. |
| 27 | Together, these rules define what is referred to as the <dfn | ||
| 28 | wakaba | 1.59 | id=html-parser>HTML parser</dfn>. |
| 29 | apache | 1.4 | #ja |
| 30 | wakaba | 1.59 | <a href=#html-documents>HTML 文書</a>については、利用者エージェントは、 DOM |
| 31 | apache | 1.4 | 木を生成するためにこの節で説明する構文解析規則を使用しなければ[[MUST:なりません]]。 |
| 32 | また、この規則は<dfn | ||
| 33 | wakaba | 1.59 | id=html-parser>HTML 構文解析器</dfn>と呼ばれるものを定義します。 |
| 34 | apache | 1.4 | |
| 35 | #en | ||
| 36 | While the HTML form of HTML5 bears a close resemblance to SGML and XML, | ||
| 37 | it is a separate language with its own parsing rules. | ||
| 38 | #ja | ||
| 39 | HTML5 の HTML 形式は SGML や XML によく似ていますが、 | ||
| 40 | 独自の構文解析規則を持つ別の言語です。 | ||
| 41 | |||
| 42 | #en | ||
| 43 | Some earlier versions of HTML (in particular from HTML2 to HTML4) were | ||
| 44 | based on SGML and used SGML parsing rules. However, few (if any) web | ||
| 45 | browsers ever implemented true SGML parsing for HTML docum |