<?xml version="1.0" encoding="utf-8" standalone="no"?>
<!DOCTYPE document PUBLIC "-//CNX//DTD CNXML 0.5//EN" "http://cnx.rice.edu/cnxml/0.5/DTD/cnxml_plain.dtd">
<document xmlns="http://cnx.rice.edu/cnxml" xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="m9007">

  <name>The Advanced CNXML (日本語 - Japanese)</name>

  <metadata>
  <md:version>2.22</md:version>
  <md:created>2005/08/25 14:49:00.083 GMT-5</md:created>
  <md:revised>2005/08/25 14:49:44.888 GMT-5</md:revised>
  <md:authorlist>
      <md:author id="rars">
      <md:firstname>Ricardo</md:firstname>
      <md:othername>Anthony</md:othername>
      <md:surname>Radaelli-Sanchez</md:surname>
      <md:email>ricky@alumni.rice.edu</md:email>
    </md:author>
      <md:author id="takaryo">
      <md:firstname>Hironori</md:firstname>
      
      <md:surname>Takaryo</md:surname>
      <md:email>s043105@ishikawa-nct.ac.jp</md:email>
    </md:author>
  </md:authorlist>

  <md:maintainerlist>
    <md:maintainer id="takaryo">
      <md:firstname>Hironori</md:firstname>
      
      <md:surname>Takaryo</md:surname>
      <md:email>s043105@ishikawa-nct.ac.jp</md:email>
    </md:maintainer>
  </md:maintainerlist>
  
  <md:keywordlist>
    <md:keyword>categories</md:keyword>
    <md:keyword>category</md:keyword>
    <md:keyword>definition</md:keyword>
    <md:keyword>elem</md:keyword>
    <md:keyword>example</md:keyword>
    <md:keyword>exercise</md:keyword>
    <md:keyword>group</md:keyword>
    <md:keyword>meaning</md:keyword>
    <md:keyword>problem</md:keyword>
    <md:keyword>proof</md:keyword>
    <md:keyword>rule</md:keyword>
    <md:keyword>solution</md:keyword>
    <md:keyword>statement</md:keyword>
    <md:keyword>table</md:keyword>
    <md:keyword>term</md:keyword>
  </md:keywordlist>

  <md:abstract>This is the final installment of my three
  part tutorial on the CNXML language.  It is currently valid for the
  most recent
  release of the 0.3 language.  The keywords contain a list of the
  tags described in this tutorial.  Along with the example code in
  this module there is also an example module that has been growing
  throughout the tutorial.</md:abstract>
</metadata>

  <content>
    <section id="code">
      <name>Code</name>
      <para id="codelp1">　<code>code</code>タグは、パラグラフ内にインラインテキストとしてか、ブロックテキストとして使用されます。どんなタグが含まれるかは<link src="http://cnx.rice.edu/technology/cnxml/0.5/spec">CNXML
	Spec</link>に相談してください。<code>code</code>タグには2種類の値が入る<code>type</code>属性があります。

	<list id="code_list">
	<item>
		<code>inline</code> (ディフォルト) - インラインテキストの指定</item>
	<item>
		<code>block</code> - ブロックテキストの指定</item>
</list>
</para>

      <example id="codelexamp">
	<code type="block">
	  <![CDATA[
<para id='copy'>
  In a unix terminal the command to copy a file is <code
  type='inline'>cp original copy</code>.
</para>
	  ]]>
	</code>
	<para id="copy">
	  In a unix terminal the command to copy a file is <code type="inline">cp original copy</code>
	</para>
      </example>
    </section>

    <section id="exercise">
      <name>Exercise</name>
      <para id="exercisep1">　<code>exercise</code>タグは作者に対して、彼らのドキュメントに練習問題を追加するタグを提供します。<code>exercise</code>タグは<code>id</code>属性（必須）と<code>problem</code>と<code>solution</code>の2つの子要素を持ちます。<code>problem</code>タグと<code>solution</code>タグは属性を持ちません。
      </para>
      <para id="qml">　多項選択式などの複雑な答えを作成するため、QML(Questions Markup Language)はproblemタグやsolutionタグのところで使用されるでしょう。詳しくは<link src="http://cnx.rice.edu/qml/intro/qml.xml">QML</link>を見てください。    </para>
      <example id="exerexam">
	<code type="block">
	  <![CDATA[
<exercise id='grilltest'>
  <problem>
    <para id='grilltestp1'>
      For food safety, a steak should be cooked to a minimum
      temperature of what?
    </para>
  </problem>
  <solution>
    <para id='sol1p1'>
      160&deg; F or until the juices run clear and the meat is no
      longer pink.
    </para>
  </solution>
</exercise>
	  ]]>
	</code>
	<exercise id="grilltest">
	  <problem>
	    <para id="grilltestp1">
	      For food safety, a steak should be cooked to a minimum
	      temperature of what?
	    </para>
	  </problem>
	  <solution>
	    <para id="sol1p1">
	      160° F or until the juices run clear and the meat is
	      no longer pink
	    </para>
	  </solution>
	</exercise>
      </example>
    </section>

    <section id="calstable">
      <name>CALS Table</name>
      <para id="calsp1">　CNXMLはCNXMLドキュメントにテーブルを含めるために、Industry Standardの<link src="http://www.oasis-open.org/specs/a502.htm">CALS Table
	  Model</link>を使用しています。以下に示すのは、CALSタグ、それらの属性、そして子要素の簡単な解説です。より詳しい情報については、<link src="http://www.oasis-open.org/specs/a502.htm">CALS Table
	  Spec</link>に相談してください。
      </para>

      <section id="tablesec">
	<name>table</name>
	<para id="table">　<code>table</code>タグは表の始まりを示します。任意の子要素<cnxn target="name" document="m9000">name</cnxn>を持ち、1つ以上の<cnxn target="tgroup">tgroup</cnxn>タグを持っています。tableタグはまた多くの属性を持っています。詳しくは<link src="http://www.oasis-open.org/specs/a502.htm">CALS Table
	  Spec</link>に相談してください。

	</para>
      </section>

      <section id="tgroupsec">
	<name>tgroup</name>
	<para id="tgroup">　<code>tgroup</code>タグは<cnxn target="table">table</cnxn>の始まりを示します。列数を表す必須の属性<code>cols</code>を持ちます。その子属性のタグは、0か1以上の<cnxn target="colspec">colspec</cnxn>か<cnxn target="spanspec">spanspec</cnxn>と、0か1以上の<cnxn target="thead">thead</cnxn>か<cnxn target="tfoot">tfoot</cnxn>、そして1つの<cnxn target="tbody">tbody</cnxn>タグです。
</para>
      </section>

      <section id="colspecsec">
	<name>colspec</name>
	<para id="colspec">
	  The <code>colspec</code> tag is an <term>empty tag</term>
	  that specificies the column of a <cnxn target="table">table</cnxn> or <cnxn target="entrytbl">entrytbl</cnxn>.  The names and numbers
	  specified as attributes are used for referencing by other
	  tags.
	</para>
      </section>

      <section id="spanspecsec">
	<name>spanspec</name>
	<para id="spanspec">
	  The <code>spanspec</code> tag is an empty tag that
	  identifies a horizontal span of columns and associated
	  attributes that can subsequently be referenced by its
	  spanname for repeated use in <cnxn target="entry">entry</cnxn> or <cnxn target="entrytbl">entrytbl</cnxn> in different <cnxn target="row">rows</cnxn>.
	</para>
      </section>

      <section id="theadsec">
	<name>thead</name>
	<para id="thead">　<code>thead</code>タグは<cnxn target="tgroup">tgroup</cnxn>か<cnxn target="entrytbl">entrytbl</cnxn>のヘッダーの<cnxn target="row">row</cnxn>を特定します。<code>thead</code>タグは0か1以上の<cnxn target="colspec">colspec</cnxn>タグ、および1以上の<cnxn target="row">row</cnxn>を持つことができます。
</para>
      </section>

      <section id="tfootsec">
	<name>tfoot</name>
	<para id="tfoot">　<code>tfoot</code>タグは、<cnxn target="tbody">tbody</cnxn>タグの後に表示されるフッター情報の<cnxn target="row">rows</cnxn>を特定します。<code>tfoot</code>タグは0か1以上の<cnxn target="colspec">colspec</cnxn>タグ、および1つ以上の<cnxn target="row">row</cnxn>を持つことができます。
</para>
      </section>

      <section id="tbodysec">
	<name>tbody</name>
	<para id="tbody">　<code>tbody</code>タグは<cnxn target="tgroup">tgroup</cnxn>か<cnxn target="entrytbl">entrytbl</cnxn>の中身を特定します。<code>tbody</code>タグには、1つ以上の<cnxn target="row">row</cnxn>タグがなければなりません。
	</para>
      </section>

      <section id="rowsec">
	<name>row</name>
	<para id="row">　<code>row</code>タグは、<cnxn target="thead">thead</cnxn>、<cnxn target="tbody">tbody</cnxn>、もしくは<cnxn target="tfoot">tfoot</cnxn>の中の情報の行を特定します。<code>row</code>タグは1つ以上の<cnxn target="entry">entry</cnxn>か<cnxn target="entrytbl">entrytbl</cnxn>がなければなりません。</para>
      </section>

      <section id="entrytblsec">
	<name>entrytbl</name>
	<para id="entrytbl">　<code>entrytbl</code>タグは<cnxn target="entry">entry</cnxn>の代理を行いますが、<cnxn target="tgroup">tgroup</cnxn>の<cnxn target="tbody">tbody</cnxn>の<cnxn target="row">一行</cnxn>に収まります。

	  The content model is the
	  same as that of a <cnxn target="tgroup">tgroup</cnxn> except
	  that <cnxn target="tfoot">tfoot</cnxn> is ommitted and
	  <code>entrytbl</code> is self-excluding.  Its children tags
	  are zero, one, or more <cnxn target="colspec">colspec</cnxn>
	  or <cnxn target="spanspec">spanspec</cnxn>, zero or one
	  <cnxn target="thead">thead</cnxn> or <cnxn target="tfoot">tfoot</cnxn>, and one <cnxn target="tbody">tbody</cnxn> tag.
	</para>
      </section>
      
      <section id="entrysec">
	<name>entry</name>
	<para id="entry">　<code>entry</code>タグは<cnxn target="row">row</cnxn>内の入力を特定します。<code>entry</code>タグはASCIIを含んでおり、0か1以上の<cnxn target="cite" document="m9000">cite</cnxn>、<cnxn target="term" document="m9000">term</cnxn>、<cnxn target="cnxn" document="m9000">cnxn</cnxn>、<cnxn target="link" document="m9000">link</cnxn>、<cnxn target="code" document="m9006">code</cnxn>、<cnxn target="emphasis" document="m9000">emphasis</cnxn>もしくは<cnxn target="media" document="m9006">media</cnxn>を含んでいます。</para>
      </section>

      <section id="using">
	<name>Using CALS Tables</name>
	<para id="tablep3">　少し複雑に聞こえるかもしれませんが、<cnxn target="tableexam"/>を見ることで表について理解できると思います。より詳しい情報は<link src="http://www.oasis-open.org/specs/a502.htm">CALS
	  Table Spec</link>か<link src="http://cnx.rice.edu/technology/cnxml/0.5/spec">CNXML
	  Spec</link>に相談してください。
</para>
	<example id="tableexam">
	  <code type="block">
	    <![CDATA[
<table id='grilltemp' frame='all'>
  <name>Steak Cooking Temperatures</name>
  <tgroup cols='2' colsep='1' rowsep='1'>
    <thead>
      <row>
        <entry>Temperature (&deg;F)</entry>
        <entry>Description</entry>
      </row>
    </thead>
    <tbody>
      <row>
        <entry align='center'>140</entry>
        <entry align='center'>Rare</entry>
      </row>
      <row>
        <entry align='center'>150</entry>
        <entry align='center'>Medium Rare</entry>
      </row> 
      <row>
        <entry align='center'>160</entry>
        <entry align='center'>Medium</entry>
      </row>
      <row>
        <entry align='center'>165</entry>
        <entry align='center'>Medium Well</entry>
      </row>
      <row>
        <entry align='center'>170</entry>
        <entry align='center'>Well</entry>
      </row>
    </tbody>
  </tgroup>
</table>
	    ]]>
	  </code>
	  <table id="grilltemp" frame="all">
	    <name>Steak Cooking Temperatures</name>
	    <tgroup cols="2" colsep="1" rowsep="1">
	      <thead>
		<row>
		  <entry>Temperature (°F)</entry>
		  <entry>Description</entry>
		</row>
	      </thead>
	      <tbody>
		<row>
		  <entry align="center">140</entry>
		  <entry align="center">Rare</entry>
		</row>
		<row>
		  <entry align="center">150</entry>
		  <entry align="center">Medium Rare</entry>
		</row> 
		<row>
		  <entry align="center">160</entry>
		  <entry align="center">Medium</entry>
		</row>
		<row>
		  <entry align="center">165</entry>
		  <entry align="center">Medium Well</entry>
		</row>
		<row>
		  <entry align="center">170</entry>
		  <entry align="center">Well</entry>
		</row>
	      </tbody>
	    </tgroup>
	  </table>
	</example>
      </section>
    </section>
  
    <section id="fin">
      <name>まとめ</name>
      <para id="end">　これでCNXMLチュートリアルは終わりです。2つの役立つリソースは<link src="http://cnx.rice.edu/technology/cnxml/0.5/spec">The
	CNXML Language Spec</link>と<cnxn document="m10281">the
	example document</cnxn>です。
      </para>
    </section>
  </content>
</document>
