<< Chapter < Page Chapter >> Page >
This is the final installment of my three part tutorial on the CNXML language. It is currently valid for themost recent release of the 0.3 language. The keywords contain a list of thetags described in this tutorial. Along with the example code in this module there is also an example module that has been growingthroughout the tutorial.

This module contains Connexions documentation which is out-of-date. The contents of this module are provided here for historical purposes only and should not be considered accurate for the current version of the Connexions website. The current (English-language) version of this module can be located at (External Link) . If you have any additional questions or cannot find the answer to your question, please contact techsupport@cnx.org and we will be happy to assist in any way we can.

If you would like to assist Connexions by helping us update this module with an appropriate translation from the current English version, please contact us at cnx@cnx.org as we would appreciate your help with improving our support for non-English-speaking users.

Code

  code タグは、パラグラフ内にインラインテキストとしてか、ブロックテキストとして使用されます。どんなタグが含まれるかは CNXML Spec に相談してください。 code タグには2種類の値が入る type 属性があります。

  • inline (ディフォルト) - インラインテキストの指定
  • block - ブロックテキストの指定

<para id='copy'>In a unix terminal the command to copy a file is<code type='inline'>cp original copy</code>.</para>

In a unix terminal the command to copy a file is cp original copy

Exercise

  exercise タグは作者に対して、彼らのドキュメントに練習問題を追加するタグを提供します。 exercise タグは id 属性(必須)と problem solution の2つの子要素を持ちます。 problem タグと solution タグは属性を持ちません。

 多項選択式などの複雑な答えを作成するため、QML(Questions Markup Language)はproblemタグやsolutionタグのところで使用されるでしょう。詳しくは QML を見てください。

<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>

For food safety, a steak should be cooked to a minimum temperature of what?

160° F or until the juices run clear and the meat is no longer pink

Cals table

 CNXMLはCNXMLドキュメントにテーブルを含めるために、Industry Standardの CALS Table Model を使用しています。以下に示すのは、CALSタグ、それらの属性、そして子要素の簡単な解説です。より詳しい情報については、 CALS Table Spec に相談してください。

Table

  table タグは表の始まりを示します。任意の子要素 name を持ち、1つ以上の tgroup タグを持っています。tableタグはまた多くの属性を持っています。詳しくは CALS Table Spec に相談してください。

Tgroup

  tgroup タグは table の始まりを示します。列数を表す必須の属性 cols を持ちます。その子属性のタグは、0か1以上の colspecspanspec と、0か1以上の theadtfoot 、そして1つの tbody タグです。

Colspec

The colspec tag is an empty tag that specificies the column of a table or entrytbl . The names and numbers specified as attributes are used for referencing by othertags.

Spanspec

The spanspec tag is an empty tag that identifies a horizontal span of columns and associatedattributes that can subsequently be referenced by its spanname for repeated use in entry or entrytbl in different rows .

Thead

  thead タグは tgroupentrytbl のヘッダーの row を特定します。 thead タグは0か1以上の colspec タグ、および1以上の row を持つことができます。

Tfoot

  tfoot タグは、 tbody タグの後に表示されるフッター情報の rows を特定します。 tfoot タグは0か1以上の colspec タグ、および1つ以上の row を持つことができます。

Tbody

  tbody タグは tgroupentrytbl の中身を特定します。 tbody タグには、1つ以上の row タグがなければなりません。

Row

  row タグは、 theadtbody 、もしくは tfoot の中の情報の行を特定します。 row タグは1つ以上の entryentrytbl がなければなりません。

Entrytbl

  entrytbl タグは entry の代理を行いますが、 tgrouptbody一行 に収まります。 The content model is thesame as that of a tgroup except that tfoot is ommitted and entrytbl is self-excluding. Its children tags are zero, one, or more colspec or spanspec , zero or one thead or tfoot , and one tbody tag.

Entry

  entry タグは row 内の入力を特定します。 entry タグはASCIIを含んでおり、0か1以上の citetermcnxnlinkcodeemphasis もしくは media を含んでいます。

Using cals tables

 少し複雑に聞こえるかもしれませんが、 [link] を見ることで表について理解できると思います。より詳しい情報は CALS Table SpecCNXML Spec に相談してください。

<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>
Steak cooking temperatures
Temperature (°F) Description
140 Rare
150 Medium Rare
160 Medium
165 Medium Well
170 Well

まとめ

 これでCNXMLチュートリアルは終わりです。2つの役立つリソースは The CNXML Language Specthe example document です。

Questions & Answers

a perfect square v²+2v+_
Dearan Reply
kkk nice
Abdirahman Reply
algebra 2 Inequalities:If equation 2 = 0 it is an open set?
Kim Reply
y=10×
Embra Reply
if |A| not equal to 0 and order of A is n prove that adj (adj A = |A|
Nancy Reply
rolling four fair dice and getting an even number an all four dice
ramon Reply
Kristine 2*2*2=8
Bridget Reply
Differences Between Laspeyres and Paasche Indices
Emedobi Reply
No. 7x -4y is simplified from 4x + (3y + 3x) -7y
Mary Reply
is it 3×y ?
Joan Reply
J, combine like terms 7x-4y
Bridget Reply
im not good at math so would this help me
Rachael Reply
how did I we'll learn this
Noor Reply
f(x)= 2|x+5| find f(-6)
Prince Reply
f(n)= 2n + 1
Samantha Reply
Need to simplify the expresin. 3/7 (x+y)-1/7 (x-1)=
Crystal Reply
. After 3 months on a diet, Lisa had lost 12% of her original weight. She lost 21 pounds. What was Lisa's original weight?
Chris Reply
preparation of nanomaterial
Victor Reply
Yes, Nanotechnology has a very fast field of applications and their is always something new to do with it...
Himanshu Reply
can nanotechnology change the direction of the face of the world
Prasenjit Reply
At high concentrations (>0.01 M), the relation between absorptivity coefficient and absorbance is no longer linear. This is due to the electrostatic interactions between the quantum dots in close proximity. If the concentration of the solution is high, another effect that is seen is the scattering of light from the large number of quantum dots. This assumption only works at low concentrations of the analyte. Presence of stray light.
Ali Reply
the Beer law works very well for dilute solutions but fails for very high concentrations. why?
bamidele Reply
how did you get the value of 2000N.What calculations are needed to arrive at it
Smarajit Reply
Got questions? Join the online conversation and get instant answers!
QuizOver.com Reply

Get the best Algebra and trigonometry course in your pocket!





Source:  OpenStax, Connexions tutorial and reference (japanese version). OpenStax CNX. Aug 26, 2005 Download for free at http://cnx.org/content/col10298/1.9
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Connexions tutorial and reference (japanese version)' conversation and receive update notifications?

Ask