<< Chapter < Page Chapter >> Page >
This is the second installment of the CNXML language tutorials. It is designed to give a more comprehensive look at the CNXML tags and explain some more advanced uses of the language. Includes helpful examples of CNXML tags, extending the module created in The Basic CNXML 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.

 テキストブックでよくあるように、チャプターやセクションの中に例を入れるでしょう。このため、ドキュメント内に例を含めることができるようにするタグを、CNXMLは提供しています。exampleタグは固有のid属性を持ち、子要素としてほとんどのタグを含むことができます。1番目は任意の name です。詳細が知りたいならば、 CNXML Spec に相談してください。

<example id='tboneexam'><figure id='tbonefig'><name>T-Bone Steak</name><media type='image/jpg' src='tbone.jpg'/></figure></example>


  figure タグは、ドキュメント内に図を作成するための構造を提供します。それらは2つ以上の subfigure タグか、1つの media タグ、 table タグ、 code タグを含むことができます。

  figure タグは2つの属性を持っています。

  • id - 固有のIDです。必ず必要です。
  • orient - 複数の subfigure (副図)をどのように表示するかを指定する属性です。 vertical horizontal という2つの値が入ります。ディフォルトでは horizontal が入ります。

  figure タグの任意のタグは name です。これは図のタイトルとして使用されます。

  name タグは上で述べられているどのタグにも従います。しかし、最も一般的に使用されるタグは、画像、動画、音声、Javaアプレットなどを含めるmediaタグです。mediaタグは2つの属性を持っています。

  • src - 表示されるメディアの場所
  • type - 表示されるメディアのタイプの定義。それは有効な MIME の一種であるかもしれません
    • audio/FILETYPE - audio/mp3, audio/wav, etc.
    • video/FILETYPE - video/qt, video/mov, etc.
    • image/FILETYPE - image/png, image/gif, etc.
    • application/FILETYPE - application/PostScript, application/x-java-applet, etc.

 最後のタグは任意の caption タグです。これは図の小さな見出しを追加するのに使用されます。

<figure id='tbone'><name>T-Bone Steak</name><media type='image/jpeg' src='tbone.jpg'/><caption>Upon successful completion of these documents, you should be able to grill a steak that looks just as good!</caption></figure>


  subfigure タグは、1つ以上の mediacodetable を同じ figure 内に含めたいときに使用します。

  subfigure タグの使い方は figure タグと同じです。任意の id 属性、任意の最初の子要素の name タグ、1つの mediacodetable があります。

 現在、 figureorient 属性は重要になるので、副図が横並びで表示されるか、縦に表示されるかに関わらず、 orient 属性を指定してください。

<figure orient='horizontal' id='horfig'><name>Steaks</name><subfigure id='subfigtbone1'><name>T-Bone</name><media type='image/jpeg' src='tbone.jpg'/></subfigure><subfigure id='subfingnystrip1'><name>New York Strip</name><media type='image/jpeg' src='ny_strip.gif'/></subfigure><caption>Upon successful completion of these documents, you should be able to grill a steak that looks just as good!</caption></figure> Or <figure orient='vertical' id='verfig'><name>Steaks</name><subfigure id='subfigtbone2'><name>T-Bone</name><media type='image/jpeg' src='tbone.jpg'/></subfigure><subfigure id='subfig2'><name>New York Strip</name><media type='image/jpeg' src='ny_strip.jpg'/></subfigure><caption>Upon successful completion of these documents, you should be able to grill a steak that looks just as good!</caption></figure>

Questions & Answers

anyone know any internet site where one can find nanotechnology papers?
Damian Reply
Introduction about quantum dots in nanotechnology
Praveena Reply
what does nano mean?
Anassong Reply
nano basically means 10^(-9). nanometer is a unit to measure length.
do you think it's worthwhile in the long term to study the effects and possibilities of nanotechnology on viral treatment?
Damian Reply
absolutely yes
how to know photocatalytic properties of tio2 nanoparticles...what to do now
Akash Reply
it is a goid question and i want to know the answer as well
characteristics of micro business
for teaching engĺish at school how nano technology help us
Do somebody tell me a best nano engineering book for beginners?
s. Reply
there is no specific books for beginners but there is book called principle of nanotechnology
what is fullerene does it is used to make bukky balls
Devang Reply
are you nano engineer ?
fullerene is a bucky ball aka Carbon 60 molecule. It was name by the architect Fuller. He design the geodesic dome. it resembles a soccer ball.
what is the actual application of fullerenes nowadays?
That is a great question Damian. best way to answer that question is to Google it. there are hundreds of applications for buck minister fullerenes, from medical to aerospace. you can also find plenty of research papers that will give you great detail on the potential applications of fullerenes.
what is the Synthesis, properties,and applications of carbon nano chemistry
Abhijith Reply
Mostly, they use nano carbon for electronics and for materials to be strengthened.
is Bucky paper clear?
carbon nanotubes has various application in fuel cells membrane, current research on cancer drug,and in electronics MEMS and NEMS etc
so some one know about replacing silicon atom with phosphorous in semiconductors device?
s. Reply
Yeah, it is a pain to say the least. You basically have to heat the substarte up to around 1000 degrees celcius then pass phosphene gas over top of it, which is explosive and toxic by the way, under very low pressure.
Do you know which machine is used to that process?
how to fabricate graphene ink ?
for screen printed electrodes ?
What is lattice structure?
s. Reply
of graphene you mean?
or in general
in general
Graphene has a hexagonal structure
On having this app for quite a bit time, Haven't realised there's a chat room in it.
what is biological synthesis of nanoparticles
Sanket Reply
what's the easiest and fastest way to the synthesize AgNP?
Damian Reply
types of nano material
abeetha Reply
I start with an easy one. carbon nanotubes woven into a long filament like a string
many many of nanotubes
what is the k.e before it land
what is the function of carbon nanotubes?
I'm interested in nanotube
what is nanomaterials​ and their applications of sensors.
Ramkumar Reply
Got questions? Join the online conversation and get instant answers!
Jobilize.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?