<< 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 golfer on a fairway is 70 m away from the green, which sits below the level of the fairway by 20 m. If the golfer hits the ball at an angle of 40° with an initial speed of 20 m/s, how close to the green does she come?
Aislinn Reply
cm
tijani
what is titration
John Reply
what is physics
Siyaka Reply
A mouse of mass 200 g falls 100 m down a vertical mine shaft and lands at the bottom with a speed of 8.0 m/s. During its fall, how much work is done on the mouse by air resistance
Jude Reply
Can you compute that for me. Ty
Jude
what is the dimension formula of energy?
David Reply
what is viscosity?
David
what is inorganic
emma Reply
what is chemistry
Youesf Reply
what is inorganic
emma
Chemistry is a branch of science that deals with the study of matter,it composition,it structure and the changes it undergoes
Adjei
please, I'm a physics student and I need help in physics
Adjanou
chemistry could also be understood like the sexual attraction/repulsion of the male and female elements. the reaction varies depending on the energy differences of each given gender. + masculine -female.
Pedro
A ball is thrown straight up.it passes a 2.0m high window 7.50 m off the ground on it path up and takes 1.30 s to go past the window.what was the ball initial velocity
Krampah Reply
2. A sled plus passenger with total mass 50 kg is pulled 20 m across the snow (0.20) at constant velocity by a force directed 25° above the horizontal. Calculate (a) the work of the applied force, (b) the work of friction, and (c) the total work.
Sahid Reply
you have been hired as an espert witness in a court case involving an automobile accident. the accident involved car A of mass 1500kg which crashed into stationary car B of mass 1100kg. the driver of car A applied his brakes 15 m before he skidded and crashed into car B. after the collision, car A s
Samuel Reply
can someone explain to me, an ignorant high school student, why the trend of the graph doesn't follow the fact that the higher frequency a sound wave is, the more power it is, hence, making me think the phons output would follow this general trend?
Joseph Reply
Nevermind i just realied that the graph is the phons output for a person with normal hearing and not just the phons output of the sound waves power, I should read the entire thing next time
Joseph
Follow up question, does anyone know where I can find a graph that accuretly depicts the actual relative "power" output of sound over its frequency instead of just humans hearing
Joseph
"Generation of electrical energy from sound energy | IEEE Conference Publication | IEEE Xplore" ***ieeexplore.ieee.org/document/7150687?reload=true
Ryan
what's motion
Maurice Reply
what are the types of wave
Maurice
answer
Magreth
progressive wave
Magreth
hello friend how are you
Muhammad Reply
fine, how about you?
Mohammed
hi
Mujahid
A string is 3.00 m long with a mass of 5.00 g. The string is held taut with a tension of 500.00 N applied to the string. A pulse is sent down the string. How long does it take the pulse to travel the 3.00 m of the string?
yasuo Reply
Who can show me the full solution in this problem?
Reofrir Reply
Got questions? Join the online conversation and get instant answers!
Jobilize.com Reply

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




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