blockquote 要素

since: 31st/Aug./2001; last modified: 12th/Sep./2001

blockquote 要素タイプはテキストモジュールに含まれており、 XHTML 1.1 の内容モデルでは、内容セット Block に含まれ、 DTD では %Block.mix; に含まれます。従って、例えば body 要素タイプの子要素として定義されています。

名前blockquote
分類Block
意味block level quotation
日本語ブロックレベル引用要素

blockquote 要素タイプは、段落の引用を意味します。他の文書の段落 (p) を引用する場合は、引用された部分を blockquote 要素の内容として表現します。

概念モジュール定義
要素 属性 最小内容モデル
blockquote Common, cite (URI) (PCDATA | Heading | Block | List)*

実装: DTD、モジュール: Block Phrasal

p 要素などの内容で文字列を引用する場合は q 要素を用います。ブロックレベルのの blockquote 要素、テキストレベルの q 要素と使い分けることになります。

内容モデル

この要素の内容には、 HTML でブロックレベルに分類されていた要素と、文字データ (PCDATA) が許されます。

(PCDATA | Heading | Block | List)*

blockquote 要素の内容は、 body 要素の内容に、文字データ (PCDATA) を追加したものです。つまり、 body 要素内の任意の要素構造を内容に含むことができます。

属性

Common
cite = URI
引用元の文書の URI を指定します。

サンプル

次のように、内容には単なる文字データを記述することができます:

<blockquote cite="http://www.w3.org/TR/xhtml11/doctype.html"
  title="[XHTML 1.1] 3. The XHTML 1.1 Document Type"
  xml:lang="en">
the XHTML 1.1 document type is a solid basis for
future document types that are targeted at varied
user agent environments.
</blockquote>

次のように、要素を含めることもできます:

<blockquote cite="http://www.w3.org/MarkUp/Guide/xhtml-m12n-tutorial/#s_terms"
  title="[XHTML Modules and Markup Languages]"
  xml:lang="en">
    <dl>
      <dt>Markup Language</dt>
      <dd>A grammar (in this case, an XML
       grammar) that can be used to structure
       information. Once structured, the information
       can be processed in the context of the
       markup language. Such processing might 
       include presentation to a user, extraction 
       of key information, transformation into other 
       forms, etc.</dd>
      <dt>Hybrid Markup Language</dt>
      <dd>A Markup Language that is made up 
      of Modules from multiple Namespaces.</dd>
      <dt>Namespace</dt>
      <dd>A namespace is a collection of names 
      that are delimited in some way. An XML Namespace 
      is a W3C-defined mechanism for delimiting XML 
      elements and attributes. XHTML-defined modules 
      are all in the XHTML Namespace. XHTML-family 
      modules are required to be in their own XML 
      Namespace. XHTML Modularization defines a mechanism 
      for declaring the XML Namespace of a module in a 
      way that is compatible with XML DTDs and permits 
      XML Validation of XHTML-family documents.</dd>
      <dt>XML Validation</dt>
      <dd>The XML Recommendation defines validation 
      ensuring that a document is well-formed and that 
      it conforms to the content model defined in the 
      document's associated DTD. XHTML family documents
      are required to be XML Valid.</dd>
      <dt>Module</dt>
      <dd>In XHTML, a module is a collection of one 
      or more files that define entities, elements, and/or 
      attributes. A module may represent a complete, 
      stand-alone markup language. It may also represent 
      a small, incremental change to some other markup 
      language or some other module. Regardless, modules 
      can be combined with other modules using the XHTML 
      Framework. With care, the elements defined by these 
      modules can be combined into a complete content model 
      for a markup language.</dd>
      <dt>DTD</dt>
      <dd>DTD is a grammar in which XML-based markup 
      languages can be defined (there are others, but right 
      now we are talking about DTDs). It is also a term 
      commonly used to refer to the file in which a markup 
      language definition can be found. In the context of 
      XHTML Modules and Markup Languages, a DTD is actually 
      a file that includes the XHTML-family modules that 
      make up the markup language (along with some other 
      helper files). In DTD parlance, this file can also 
      be called a "DTD Driver" file.</dd>
      <dt>Qualified Name</dt>
      <dd>The combination of XML and XML Namespaces 
      gives rise to a class of elements and attributes 
      that have "qualified names". A qualified name consists 
      of the element or attribute name, possibly prefixed 
      with a namespace declarator (e.g. xhtml:p for paragraph). 
      In XHTML, the qualified names for elements and 
      attributes are defined in a Qname Module.</dd>
      <dt>Qname Module</dt>
      <dd>When defining an XHTML Module, you must 
      create a sub-module in which the qualified names for 
      the module are declared, and in which some set-up 
      for XML namespaces is done. XHTML Modularization 
      calls these sub-modules Qname Modules. A complete 
      XHTML-family Module definition will include at least 
      a Qname Module and a Declaration Module.</dd>
      <dt>Declaration Module</dt>
      <dd>A Declaration Module is an XHTML Module in 
      which the elements, attributes, and possibly structure 
      of a Module are defined. The Declaration Module 
      relies upon parameter entities defined in an 
      associated Qname Module to define the actual names 
      of elements and attributes, so that these can be 
      properly qualified when XML Namespace prefixes are 
      used.</dd>
    </dl>
</blockquote>

Copyright © 2001, SUGAI, Manabu. All rights reserved. 著作権は放棄していません。
SEO [PR] ”š‘¬!–³—¿ƒuƒƒO –³—¿ƒz[ƒ€ƒy[ƒWŠJÝ –³—¿ƒ‰ƒCƒu•ú‘—