Corporate Services Other Services
Private Instruction Invest in China
Curriculum FAQ
Business Culture Health Education
Textbooks Our Staff
Hours and Location Contact Us
��

Synchronized Multimedia Integration Language (SMIL) 1.0 Specification

�ѱ� ������

  • �� ������ ���� URL�� http://www.w3.org/TR/1998/REC-smil-19980615�̸�, ������̵������ҽþ�(W3C)�� ��Ƽ�̵�� ����ȭ �۾�����(Synchronized Multimedia Working Group)�� ���� �ۼ��Ǿ� ���� W3C�� �ǰ��� (Recommendation)���μ��� ������ ���� �ִ�. �� ���� ������ ���� ���۱��� ������̵������ҽþ��� �ִ�.
  • �� ǥ���� �������� ������ ������̵������ҽþ� ����Ʈ�� �ִ� �������̴�.
  • �������� ���� �������� �߻��� ������ ������ �� �ִ�.
  • (��)��Ż��ũ�� �����ϰ� �ִ� SMIL �ѱ����� ������ � ǥ�ذ��ñⱸ�͵� ������ ����.
  • (��)��Ż��ũ�� �����ϰ� �ִ� SMIL �ѱ����� ���۱��� ������̵������ҽþ��� �������۱� �� ���� ���� ������ ������.


W3C REC-smil-19980615


��

����ȭ ��Ƽ�̵�� ���� ��� (SMIL) 1.0 ������

W3C �ǰ��� 1998��-6��-15��

��

�� ��(����):
http://www.w3.org/TR/1998/REC-smil-19980615
�ֽ� ��(����):
http://www.w3.org/TR/REC-smil
���� ��(����):
http://www.w3.org/TR/1998/PR-smil-19980409
��

Copyright © 1998 W3C (MIT, INRIA, Keio), ��� �Ǹ��� ���ѵǾ� �ִ�. W3C�� å��, ��ϻ�ǥ, ���� ��� �׸��� ����Ʈ���� ����(lincense) ������ ����ȴ�. �� ����Ʈ���� ��ȣȰ���� �츮�� ���� �׸��� ȸ�� ����������ȣ�� ���� ��޿� ������.

�� ������ ���Ͽ�

�� ������ ������̵��� ���ҽþ��� ��Ƽ�̵�� ����ȭ �۾�����(WG)�� �ۼ��Ͽ���. �۾������� ������ ������ �����Ѵ�:

  • Stephan Bugaj, Lucent/Bell Labs
  • Dick Bulterman, CWI
  • Bruce Butterfield, RealNetworks
  • Wo Chang, NIST
  • Guy Fouquet, Alcatel
  • Christian Gran, GMD
  • Mark Hakkinen, The Productivity Works
  • Lynda Hardman, CWI
  • Peter Hoddie, Apple
  • Klaus Hofrichter, GMD
  • Philipp Hoschka, W3C
  • Jack Jansen, CWI
  • George Kerscher, DAISY Consortium
  • Rob Lanphier, RealNetworks
  • Nabil Layaïa, INRIA
  • Stephanie Leif, RealNetworks
  • Sjoerd Mullender, CWI
  • Didier Pillet, CNET/DSM
  • Anup Rao, Netscape
  • Lloyd Rutledge, CWI
  • Patrick Soquet, Havas
  • Warner ten Kate, Philips
  • Jacco van Ossenbruggen, CWI
  • Michael Vernick, Lucent/Bell Labs
  • Jin Yu, DEC

������ ��: �۾������� ȸ���� ���Ҿ� ������ ������� SMIL�� ���� �����Ͽ���: Bert Bos (W3C), Dan Connolly (W3C), Patrick Deunhouwer (Philips), Martin Düst (W3C), Al  Gilman, Håkon Lie (W3C), Chris Lilley (W3C), Curtis Reynolds (RealNetworks), Michael Riesman, Curtis Reynolds (RealNetworks), Henning Schulzrinne (Columbia University) and Koga Youichirou (W3C).

������: Philipp Hoschka, W3C (hoschka@w3.org)

����

�� ������ ����ȭ ��Ƽ�̵�� ���� ��� (SMIL 1.0, "smile"�� �����Ѵ�.) �� 1���� �����ϰ� �ִ�. SMIL�� �Ϸ��� ������ ��Ƽ�̵�� ��ü�� ����ȭ�� ��Ƽ�̵�� ǥ��(presentaion)���� ������ �� �ֵ��� �Ѵ�. SMIL�� ����Ͽ� ������ �� �� �ִ�.

  1. ǥ���� �ð��� �ൿ�� ����Ѵ�.
  2. ȭ��󿡼� ǥ���� ��ġ�� ����Ѵ�.
  3. �����۸�ũ�� �̵�� ��ü�� �����Ѵ�.

�� �������� ������ ������ ����: 1���� �������� ���ٹ���� ��Ÿ����. 2���� "smil" ���Ҹ� �����Ѵ�. 3���� SMIL ������ �Ӹ����� ������ �� �ִ� ���ҵ��� �����Ѵ�. 4���� SMIL ������ ������ ������ �� �ִ� ���ҵ��� �����Ѵ�. Ư�� �� �������� SMIL���� ����ϴ� �ð� ���� �����Ѵ�. 5���� SMIL DTD�� �����Ѵ�.

�� ������ ����

�� ������ W3C�� �ǰ������μ� W3C ȸ���� �� ���谡 �ִ� �ٸ� ���ӵ��� �����Ͽ���, �����ڰ� ��õ�ϴ� ���̴�. �̰��� ������ ���� �����̰�, �ٸ� �������� �����ϰų� ǥ������ ������ �ο��� �� �ִ�. �ǰ����� ���ۿ��� W3C�� ������ �������� ���� ������ ����� �װ��� ���� Ȯ���� ���� �ϴ� ���̴�. �̰��� ���� ��ɼ��� ��ȣ��뼺�� ���δ�.

�� �ǰ��ȿ� ���� ���� ���� ���ϸ� ����Ʈ www-smil@w3.org�� ���� �� �ִ�.

�̿��� �� �ִ� ���

�� �������� �����Ǹ��� ǥ�����̴�. ������, �ٸ� ���� ������ �Ϸ��� http://www.w3.org/AudioVideo/SMIL/translations �� ����.

����

�� �������� �˷��� ���� ����� http://www.w3.org/AudioVideo/SMIL/errata �� �ִ�.

����

1 ������ ���ٹ��

SMIL ������ XML 1.0 �����̴� [XML10]. ���ڴ� XML 1.0�� ������ ����� �� �ͼ��� �ʿ䰡 �ִ�.

�� �������� URN�� ����Ͽ� ǥ���� �� ���� ���ɼ��� �ִ� URL�� ���ǵ� Ư���� Ư¡�� �������� �ʴ´�. ����, ������ ��ü�� ���� �� �Ϲ����� ��� URI [URI] �� ����Ѵ�.

SMIL ������ ������ 5.2���� DTD�� ���ǵǾ� �ִ�. DTD ������ ����Ͽ� ������ �� ���� �Ӽ� ����, �� ���� ������ �� �ִ� �Ӽ��� ����ϴ� ù ���ҿ� �Բ� �����Ѵ�. �׷��� �Ӽ� ���� XML 1.0 �������� ���ǵ� Extentded Backus-Naur Form(EBNF)�� ����Ͽ� �����Ѵ�.

���� ������ ������ ������ ����: ù°, ������ ��� �Ӽ��� ���ĺ� ������ �����Ѵ�. �Ӽ��� ������ ���� �����Ѵ�: �Ӽ��� �������� � ���ҿ��� ó�� ���Ǿ��ٸ�, �� ������ �ǹ̴� ���ǵȴ�. �� �Ӽ��� �̹� �ٸ� ���ҿ��� ���Ǿ��ٸ�, �������� �װ��� ����ϴ� ������ ���ҿ� �ִ� �� �Ӽ��� ���Ǹ� �����Ѵ�. ���� �Ӽ��� ���� �������� DTD ������ ����Ͽ� ������ ������ �� ���� ��� �Ӽ� ���� ���ǰ� �´�. ���� ������ ������ ���� ������ ������ ������.

2 smil ����

���� �Ӽ�

"smil" ���Ҵ� ������ �Ӽ��� ���� �� �ִ�:

id
�� �Ӽ��� �������� ���Ҹ� �����ϰ� �ĺ��Ѵ�. �̰��� ���� XML �ĺ����̴�.

���� ����

"smil" ���Ҵ� ������ �ڽ��� ���� �� �ִ�:

body
4.1������ ���ǵ�
head
3.1������ ���ǵ�

3 ������ �Ӹ���

3.1 head ����

"head" ���Ҵ� ǥ���� �ð��� ���۰� ������ ���� ������ ���´�.

���� �Ӽ�

"head" ���Ҵ� ������ �Ӽ��� ���� �� �ִ�:

id
2������ ���ǵ�

���� ����

"head" ���Ҵ� ������ �ڽ��� ���� �� �ִ�:

layout
3.2������ ���ǵ�
meta
3.4���� ���ǵ�
switch
4.3���� ���ǵ�

"head" ���Ҵ� "meta" ���Ҹ� ���������� ������ �� �ְ�, "layout" ���ҿ� "switch" ������ �ϳ��� ������ �� �ִ�.

3.2layout ����

"layout" ���Ҵ� ������ ������ �ִ� ���ҵ��� ��� �߻��� ��� ǥ�� (�ð��� �Ǵ� û����)�� ��ġ�� ���ΰ��� �����Ѵ�.

���� ������ layout ���Ҹ� ���� ���� �ʴٸ�, ���� ������ ��ġ�� ���� �����̴�.

SMIL ������ "switch" ���� ( 4.3������ ���ǵ�)���� ��� layout ���ҷ� �ѷ��� ��ü ������ �ټ��� ��ġ�� ������ �� �ִ�. �̰��� �ٸ� ��ġ �� ����ϴ�, ������ ��ġ�� �����ϴ� ���ø� ���� ����� �� �ִ�.

������ ���� CSS2�� ��� SMIL �⺻ ��ġ ��� ( 3.3���� ���ǵ�) �� ��ü�ϴ� ���� �����ش�:

<smil>
  <head>
    <switch>
     <layout type="text/css">
        [region="r"] { top: 20px; left: 20px }
     </layout>
     <layout>
       <region id="r" top="20" left="20" />
     </layout>
   </switch>
   </head>
   <body>
     <seq>
       <img region="r" src="http://www.w3.org/test" dur="10s" />
     </seq>
   </body>
</smil>

(�� ������, �� ��ġ�� ���� ��ġ ����� ���ٴ� �Ϳ� �����϶�)

���� �Ӽ�

id
2���� ���ǵ�
type
�� �Ӽ��� layout ���ҿ��� ��� ��ġ �� ����� �������� ��Ÿ����. ���� ����Ⱑ �� �� �������� ���Ѵٸ�, ������ ���� "</layout>" �±װ� ��Ÿ�� ������ ��� ������ �dzʶپ�� �Ѵ�. type �Ӽ��� �⺻���� "text/smil-bisic-layout"�̴�.

���� ����

���� layout ������ type �Ӽ��� "text/smil-basic-layout" ���� ������, �װ��� ������ ���Ҹ� ������ �� �ִ�:

region
3.3.1���� ���ǵ�
root-layout
3.3.2���� ���ǵ�

���� "layout" ������ type �Ӽ��� �ٸ� ���� ���� �ٸ�, ���Ҵ� ���� �����͸� �����Ѵ�.

3.3 SMIL �⺻ ��ġ ���

�� ���� SMIL�� �⺻��ġ�� �����Ѵ�. SMIL �⺻��ġ���� CSS2�� ���ǵ� �ð��� ��� �𵨰� ��ġ�ϰ�, CSS2 �������� �����ϴ� ���� Ư���� �����ϸ�, ���Ӱ� "fit" �Ӽ��� �����Ͽ���[CSS2]. ���ڴ� CSS2�� ������ ����� �� �ͼ��� �ʿ䰡 �ִ�.

SML �⺻��ġ�� ��ü ��ü ���� (4.2.3���� ���ǵ�)�� ��ġ���� �����Ѵ�. SMIL �⺻��ġ�� SMIL�� �ٸ� ���ҿ� ����ϴ� ���� ������ �ʴ´�.

SMIL �⺻��ġ�� �� �ĺ��ڴ� "text/smil-basic-layout"�̴�.

������ Ư�� ��

������ ��Ÿ�Ͻ�Ʈ�� SMIL �⺻��ġ���� ��ȿ�� CSS2 Ư���� "display"�� "position"�� �����Ѵ�. �� Ư�� ���� �����Ǿ� �ִ�:

a           {display:block}
anchor      {display:block}
animation   {display: block;
             position: absolute}
body        {display: block}
head        {display: none}
img         {display: block;
             position: absolute}
layout      {display: none}  
meta        {display: none}
par         {display: block}
region      {display: none}
ref         {display: block;
             position: absolute}
root-layout {display: none}
seq         {display: block}
smil        {display: block}
switch      {display:block}
text        {display: block;
             position: absolute}
textstream  {display: block;
             position: absolute}
video       {display: block;
             position: absolute}

�� ������ �����, ���������� �ڸ����� ��� ���Ҵ� �ϳ��� ������ �����ȿ� ���ԵǸ�, �� ������ �Ѹ� ����(smil)�� ���� �׵θ��� ���ǵȴ�.

�⺻ ��

SMIL �⺻��ġ�� ��� ��ġ���� �Ӽ��� ���� �⺻ ���� �����Ѵ�. �̰��� CSS2�� �ִ� �����ϴ� Ư���� �ʱ� ���� ��ġ�Ѵ�.

���� �����ڰ� ������ ��� ��ü ��ü ���ҿ� ���� �⺻ ��ġ ���� �����ϰ��� �Ѵٸ�, ������ type �Ӽ��� ���� "text/smil-basic-layout"�� �ϴ� �� layout ���Ҹ� �����Ͽ��� �Ѵ�. ���� ������ ����: :

<layout type="text/smil-basic-layout"></layout>

3.3.1 region ����

region ���Ҵ� ��ü ��ü ������ ��ġ, ũ��, ������ �����Ѵ�.

���� ������ text������ ��ġ�� ��� â�� ���� �׵θ��κ��� 5 �ȼ� ������ ���� �ȴ�:

<smil>
  <head>
    <layout>
      <region id="a" top="5" />
    </layout>
  </head>
  <body>
    <text region="a" src="text.html" dur="10s" />
  </body>
</smil>

���� �Ӽ�

"region" ���Ҵ� ������ �Ӽ��� ���� �� �ִ�:

background-color
�� �Ӽ��� ���� ���Ǵ� CSS2 �������� "background-color" Ư���� ������, SMIL �⺻��ġ���� "system color"�� ���� ������ �ʿ�� ���� �ʴ´ٴ� ���� ���ܴ�.
���� background-color �Ӽ��� ���ٸ� ����� �����Ѵ�.
fit
�� �Ӽ��� �ð��� ��ü��ü�� ������ ���̰� ���̰� "region" ������ �Ӽ��� ������ �ִ� ���̿� �����ϰ� �ٸ� ���, ���ۿ� ���� ������ �ִ�. �� �Ӽ��� CSS2 Ư���� 1-1 ���������� ������, CSS2�� �䳻�� �� �ִ�.
�� �Ӽ��� ������ ���� ���� �� �ִ�:
fill
��ü�� ���̿� ���̸� ���������� ������ �����Ͽ� ������ �ڽ��� �׵θ��� �� �µ��� �Ѵ�.
hidden
  • ���� ��ü��ü�� ������ ����(����)�� "region" ���ҿ� ���ǵ� ����(����) ���� ������, ��ü�� ����(����) �׵θ��κ��� �����Ͽ� ����ϰ� ������ ����(����)�� �������� ä���.
  • ���� ��ü��ü�� ������ ����(����)�� "region" ���ҿ� ���ǵ� ����(����) ���� ũ��, ��ü�� ����(����) �׵θ��κ��� �����Ͽ� "region" ���ҿ� ���ǵ� ����(����)�� ���� ������ ����ϰ� ����(����)�� �Ʒ�(������ �ٱ�)�κ��� �߶󳽴�.
meet
�ð��� ��ü�� �װ��� ���μ��� ������ �����ϸ鼭 ���� �Ǵ� ���̰� height �Ǵ� width �Ӽ��� ������ ���� ���� ���� ������ ������ �����Ͽ�, �߸��� ������ ������ �Ѵ�. ��ü�� ��-���� �𼭸��� �ڽ��� ��-���� ��ǥ�� �ڸ��⵵�� �ϰ�, ������ �Ǵ� ������ �� ������ �������� ä���.
scroll
�η縶�� ����� ������ ��µ� ������ �װ��� ��踦 �Ѿ �� ����Ѵ�.
slice
�ð��� ��ü��ü�� �װ��� ���μ��� ������ �����ϸ鼭 ������ �����Ͽ� �װ��� ���� �Ǵ� ���̰� height�� width �Ӽ��� ������ ���� ���� ���� ������ ������ �����Ͽ� �Ѵ�. �̶�, ������ �Ϻΰ� �߸� �����ִ�. ��Ȯ�� ���¿� ����, �ð��� ��ü��ü�� ���� �Ǵ� ���� ������ ǥ�õȴ�. �Ѿ ���̴� ��ü��ü�� ���������κ��� �߸���. �Ѿ ���̴� ��ü��ü�� �Ʒ������κ��� �߸���.

"fill"�� �⺻ ���� "hidden"�̴�.

height
�� �Ӽ��� ���� ���Ǵ� CSS2 �������� �ִ� "height" Ư���� ����. �Ӽ� ���� "percentage" ��, �׸��� CSS2�� ���ǵ� "length" ���� ������ �� �� �ִ�. "lenght" ���� ���, SMIL �⺻��ġ���� CSS2�� ���ǵ� ��ó�� �ȼ� �������� �����Ѵ�. SMIL �⺻��ġ���� "px" ���� ���ľ�� �ȼ� ���� ��� ������ �� �ִ�(CSS2������ "px" ���ľ �ʿ��ϴ�).
id
2���� ���ǵ�
region ���Ҵ�, ��ġ���� ������ ������ region �Ӽ��� region�� id ������ ���Ͽ�, ��ġ���� ������ ���ҿ� ����ȴ�.
"region" ���ҿ��� "id" �Ӽ��� �ʼ����̴�.
left
�� �Ӽ��� ���� ���Ǵ� CSS2 �������� �ִ� "left" Ư���� ����. �Ӽ� ���� "height" �Ӽ��� �Ӽ� ���� ���� ������ ���´�.
�⺻ ���� 0�̴�.
skip-content
�� �Ӽ��� SMIL(�η��� ����)�� ���� Ȯ���� ���� ���ԵǾ���. �̰��� ������ �� ��쿡�� �ؼ��ȴ�:
  • ���� SMIL�� ���ο� ���Ҹ� �����Ѵٸ�, �׸��� �� ���Ұ� SMIL 1.0 ���Ҹ� ���� ����� ����Ѵٸ�, "skip-content" �Ӽ��� �� ������ SMIL 1.0 ����Ⱑ ó�� �� ������ �׷��� ���� �������� �����Ѵ�.
  • ���� SMIL 1.0���� �� ���Ұ� ������ SMIL���� �׷��� �ʰ� �ȴٸ�, "skip-content" �Ӽ��� �� ������ SMIL 1.0 ����Ⱑ ������ ������ �׷��� ���� ������ �Ǵ� ���� ������ ����� �� �������� �����Ѵ�.

���� "skip-content" �Ӽ��� ���� "true"�̰�, ���� ����� ����� �ϳ��� ����Ǹ�, ������ ������ ���õȴ�. ���� ���� "false"�̸�, ������ ������ ó���ȴ�.
"skip-content"�� �⺻ ���� "true"�̴�.

title
�� �Ӽ��� ���ҿ� ���� �������� ������ �����Ѵ�. title �Ӽ��� ���� ����� ���α׷��� ���� �پ��� ������� ��µ� �� �ִ�. ���� ���, �ð����� �������� title�� "tool tip"(���� ��ġ�� ��ü ���� ���� ���� �� ���̴� ª�� ��)���� ǥ���� �� �ִ�.
��� "region" ���Ұ� �ǹ��ִ� ������ ������ "title" �Ӽ��� ������ �ϴ� ���� �����ϰ� ��õ�Ѵ�. ���� ������ �� �Ӽ��� ���� ���Ұ� SMIL ������ ���Ե��� �ʵ��� �ؾ��Ѵ�.
top
�� �Ӽ��� ���� ���Ǵ� CSS2 �������� �ִ� "top" Ư���� ����. �Ӽ� ���� "height" �Ӽ��� �Ӽ� ���� ���� ������ ���´�.
�⺻ ���� 0�̴�.
width
�� �Ӽ��� ���� ���Ǵ� CSS2 �������� �ִ� "width" Ư���� ����. �Ӽ� ���� "height" �Ӽ��� �Ӽ� ���� ���� ������ ���´�.
z-index
�� �Ӽ��� ���� ���Ǵ� CSS2 �������� �ִ� "z-index" Ư���� ������, ������ ���ܰ� �ִ�:
  • ���� A�� B�� ������ �� �ڽ� �� ���� ���� ���ؿ� �ִٸ�,
    1. ���� A�� ǥ�ð� ���� B�� ǥ�ú��� �ʴٸ�, A�� �ڽ��� B�� �ڽ����� ���� ���δ�(�ð��� ����).
    2. ���Ұ� ���� �ð��� ǥ�õǰ�, SMIL �������� ���� A�� ���� B���� ���߿� �ִٸ�, A�� �ڽ��� B�� �ڽ����� ���� ���δ�(CSS2�� ���ǵ� ���� Ʈ�� ����).

���� ����

"region"�� �� �����̴�.

3.3.2 root-layout ����

"root-layout" ���Ҵ� �Ѹ� ������ ��ġ Ư���� ���� �����ϸ�, ���ʷ� ����Ʈ ��, SMIL ǥ���� ��µ� â�� ũ�⸦ �����Ѵ�.

���� ������ �ϳ� �̻��� "root-layout" ���Ҹ� ���´ٸ�, �װ��� �����̸�, ������ ǥ�õ��� �ʾƾ� �Ѵ�.

���� �Ӽ�

"root-layout" ���Ҵ� ������ ���� �Ӽ��� ���� �� �ִ�:

background-color
3.3.1���� ���ǵ�
height
3.3.1�� ���ǵ�
�Ѹ� ������ ���̸� �����Ѵ�. length ���� ���ȴ�.
id
2���� ���ǵ�
skip-content
3.3.1���� ���ǵ�
title
3.3.1���� ���ǵ�
width
3.3.1���� ���ǵ�
�Ѹ� ������ ���̸� �����Ѵ�. length ���� ���ȴ�.

���� ����

"root-layout"�� �� �����̴�.

3.4 meta ����

"meta"���Ҵ� ������ Ư��(��, ����, ������, �ٽɾ� ��� ��)�� �����ϰ� �׷��� Ư���� ���� �Ҵ��ϴ� �� ����Ѵ�. �� "meta" ���Ҵ� �ϳ��� Ư��/�� ���� ��Ÿ����.

���� �Ӽ�

"meta" ���Ҵ� ������ �Ӽ��� ���� �� �ִ�:

content
�� �Ӽ��� "meta" ���ҿ� ���ǵ� Ư���� ���� ��Ÿ����.
"meta" ���ҿ��� "content" �Ӽ��� �ʼ����̴�.
id
2���� ���ǵ�
name
�� �Ӽ��� "meta" ���ҿ� ���ǵ� Ư���� ��Ÿ����.
"meta" ���ҿ��� "name" �Ӽ��� �ʼ����̴�.
skip-content
3.3.1������ ���ǵ�

Ư���� ��Ͽ��� ������ ����. �� �������� ������ ���� Ư���� �����Ѵ�:

base
�� Ư���� ���� �������� ����ϴ� ��� ����� URI�� ���� ���� URI�� �����Ѵ�.
pics-label or PICS-Label
�� Ư���� ���� ������ ����, PICS [PICS]�� ������ ��ȿ�� ��� ǥ�ø� ��Ÿ����.
title
�� Ư���� ���� ǥ���� ������ �����Ѵ�.

���� ����

"meta"�� �� �����̴�.

4 ������ �Ӹ���

4.1 body ����

"body" ���Ҵ� ������ �ð��� �׸��� ��ũ ������ ���õ� ������ �����ϰ� �ִ�. �̰��� �Ͻ������� "seq" ����(4.2.2���� ���ǵ�, "body" ������ �ð��� �ǹ̿� ���� ���ǿ� ���ؼ��� 4.2.4���� ����)�� �����Ѵ�.

���� �Ӽ�

"body" ���Ҵ� ������ ���� �Ӽ��� ���� �� �ִ�:

id
2���� ���ǵ�

���� ����

"body" ���Ҵ� ������ ���� �ڽ��� ���� �� �ִ�:

a
4.5.1���� ���ǵ�
animation
4.2.3���� ���ǵ�
audio
4.2.3���� ���ǵ�
img
4.2.3���� ���ǵ�
par
4.2.1���� ���ǵ�
ref
4.2.3���� ���ǵ�
seq
4.2.2���� ���ǵ�
switch
4.3���� ���ǵ�
text
4.2.3���� ���ǵ�
textstream
4.2.3���� ���ǵ�
video
4.2.3���� ���ǵ�

4.2 ����ȭ ����

4.2.1 par ����

par ������ �ڽĵ��� �ð����� ��ø�� �� �ִ�. par ���� ������ ���������� ���̴� ������ �ڽĵ��� ǥ�� ������ ���ؼ� �ǹ̸� ���� �ʴ´�.

���� �Ӽ�

"par" ���Ҵ� ������ ���� �Ӽ��� ���� �� �ִ�:

abstract
���ҿ� ���Ե� ���뿡 ���� ������ ����.
author
���ҿ� ���Ե� ������ ���� �̸�.
begin
�� �Ӽ��� ������ ������ ���ۿ� ���� �ð��� ��Ÿ����. �̰��� �ǹ̷п� ���ؼ��� 4.2.4���� ����.
�� �Ӽ��� ���� �ΰ��� ������ ���� ���� �� �ִ�:
delay-value
�������� ǥ�� �ð��� �����ϴ� clock-value�̴�. ǥ�� �ð��� ǥ���� �ӵ��� ���ư���. �̰��� ��������ũ�� ����⿡ �ִ� �ð�ǥ��ó�� �ൿ�Ѵ�. �̰��� ������� �����̳� ����� ��ü�� ���� ���߰ų�, �پ��ų� �þ �� �ִ�.
�������� �ǹ̴� �� ������ ���� ������ ù��° ����ȭ ����(��, "a" �Ǵ� "switch" ������ ������ �����Ѵ�)�� �����Ѵ�:
  • ���� ������ "par" ���Ҷ��, �������� �� ������ �����������κ����� ������ �����Ѵ�(�׸� 4.1�� ����).
  • ���� ������ "seq" ����( 4.2.2���� ���ǵ�)���, �������� ����ȭ ������ ù��° �������� ���������κ����� ������ �����Ѵ�.(�׸� 4.2�� ����).
event-value
� ����� �߻��ϸ� ���Ұ� �����Ѵ�(�׸� 4.3�� ����). �̰��� ���� element-event(�Ʒ� ���Ǹ� ����)�̴�.
����� �߻���Ű�� ���Ҵ� �ݵ�� "in scope"�̾�� �Ѵ�. "in scope" ������ ���� S�� ������ ���� �����ȴ�:
  1. ������ ������ ù��° ����ȭ ���ҿ��� �װ��� ��� �ڽ��� ���ؼ� S�� ���Ѵ�.
  2. ��� "a"�� "switch" ���Ҹ� S���� �����Ѵ�. ��� "a" ������ �ڽ��� S�� ���ϵ�, "switch" ���Ҵ� �����Ѵ�.

����� ����� ���� S�� "in scope" ������ �����̴�.

��


<par>
  <audio id="a" begin="6s" src="audio" />
</par>

delay in 'par' element D

��


�׸� 4.1: "par" ���ҿ��� ���� ���� ���


<seq>
  <audio src="audio1" />
  <audio begin="5s" src="audio2" />
</seq>

delay in 'seq' element D


�׸� 4.2: "seq" ���ҿ��� ���� ���� ���


<par>
  <audio id="a" begin="6s" ... />
  <img  begin="id(a)(4s)" ... />
</par>

element with event value D

��


�׸� 4.3: ���� ��� ���� ���� ����ȭ �Ӽ�

copyright
���ҿ� ���Ե� ������ ���۱� ����.
dur
�� �Ӽ��� ������ ������ ������ ��Ÿ����. �̰��� �ǹ̷п� ���� ���Ǵ� 4.2.4���� ����. �� �Ӽ��� ���� clock value �Ǵ� ���ڿ� "indefinite"�̴�.
end
�� �Ӽ��� ������ ������ ���� ��Ÿ����. �̰��� �ǹ̷п� ���� ���Ǵ� 4.2.4���� ����. �� �Ӽ��� "begin" �Ӽ��� ���� ������ �Ӽ����� ���� �� �ִ�.
endsync
�� �Ӽ��� �ǹ̷п� ���� ���Ǵ� 4.2.4���� ����. �� �Ӽ��� ������ ���� ���� �� �ִ�:
  • first
    �� ���� �ǹ̷п� ���� ���Ǵ� 4.2.4���� ����.
  • id-ref
    �� �Ӽ� ���� ������ ������ ���´�:

    id-ref ::= "id(" id-value ")"
    "id-value"�� ������ XML �ĺ����̾�� �Ѵ�.
    �� ���� �ǹ̷п� ���� ���Ǵ� 4.2.4���� ����.
  • last
    �� ���� �ǹ̷п� ���� ���Ǵ� 4.2.4���� ����.

"endsync"�� �⺻ ���� "last"�̴�.

id
2���� ���ǵ�
region
�� �Ӽ��� ������ ��ġ �κп� ���ǵ� �߻��� ��� ǥ��(�ð��� �Ǵ� û����)�� ��Ÿ����. �̰��� ���� �ݵ�� XML �ĺ����̾�� �Ѵ�. ���� �� id�� ���� �߻��� ǥ���� ��ġ �κп� ���ǵǾ� ���� ������, �� ������ ���� Ư�� ���� �⺻ ��ġ�� �����ȴ�.
"par" ������ "region" �Ӽ��� �� �������� ���ǵ� SMIL�� ���� �⺻��ġ���� ����� �� ����. �̰��� �ٸ� ��ġ���� �ʿ��� ���� �ֱ� ������, �ϰἺ�� �������� �߰��ȴ�.
repeat
�� �Ӽ��� �ǹ̷п� ���� ���Ǵ� 4.2.4���� ����. �Ӽ� ���� �����ų� ���ڿ� "indefinite"�� �� �ִ�. �⺻���� 1�̴�.
system-bitrate
4.4���� ���ǵ�
system-captions
4.4���� ���ǵ�
system-language
4.4���� ���ǵ�
system-overdub-or-caption
4.4���� ���ǵ�
system-required
4.4���� ���ǵ�
system-screen-size
4.4���� ���ǵ�
system-screen-depth
4.4���� ���ǵ�
title
3.3.1���� ���ǵ�
��� "par" ���Ұ� �ǹ��ִ� ������ ������ "title" �Ӽ��� ������ �ϴ� ���� �����ϰ� ��õ�Ѵ�. ���� ������ �� �Ӽ��� ���� ���Ұ� SMIL ������ ���Ե��� �ʵ��� �ؾ��Ѵ�.

�ڽİ� ����ȭ�� ���� ���� ����

������ ���ܼӿ� �ִ� �ڽİ� ����ȭ�� ��Ȯ���� �����ϱ� �����̴�. ����� �����ǰ� �ִ� ��Ȳ���� ����ȭ ��, "par" ���Ұ� �� �̻��� ���� �Ǵ� ȭ���� ������ ��ü ������ �����ϰ� �ְ�, �װ͵��� �ϳ��� �����ǰ� ���� ��, ������ ��������.
������ ������ ����ȭ ������ ���� �� �ִ�:

������ ����ȭ
������ "par" ������ �ڽĵ��� ������ �ð�� ����ȭ�Ѵ�(�׸� 4.4 a)�� ����).
������ ����ȭ
"par" ������ �� �ڽ��� �ڽ��� �ð踦 ����, "par" ���ҳ��� �ٸ� �ڽĵ��� �ð迡 �����ϰ� �����Ѵ�(�׸� 4.4 b)�� ����).

��


hard synchronization D

a) ������ ����ȭ: ȭ�󿡼��� ����: ���� ���� �����ǰų�, ȭ���� �������� �Ϻΰ� ��������. ��Ȯ�� ������ ���� �����̴�.

soft synchronization D

b) ������ ����ȭ

��


�׸� 4.4: ����Ⱑ ���� �ٸ� ����ȭ ��å�� ����� ���, ��� ������ ������ ��ġ�� ����

�Ӽ� ��

clock value
clock value�� ������ ������ ���´�:
Clock-val             ::= Full-clock-val | Partial-clock-val | Timecount-val
Full-clock-val        ::= Hours ":" Minutes ":" Seconds ("." Fraction)?
Partial-clock-val     ::= Minutes ":" Seconds ("." Fraction)?
Timecount-val         ::= Timecount ("." Fraction)?
                          ("h" | "min" | "s" | "ms")? ; �⺻�� "s"
Hours                 ::= 2DIGIT; ��� ���
Minutes               ::= 2DIGIT; 00���� 59 ����
Seconds               ::= 2DIGIT; 00���� 59 ����
Fraction              ::= DIGIT+
Timecount             ::= DIGIT+
2DIGIT                ::= DIGIT DIGIT
DIGIT                 ::= [0-9]

������ ������ clock value�� ���̴�:

  • ������ clock value: 02:30:03 = 2 �ð� 30 �� 3 ��
  • �κ��� clock value: 02:33 = 2 �� 33��
  • �ð���� ��:
    3h = 3 �ð�
    45min = 45 ��
    30s = 30 ��
    5ms = 5 �������


�м� x���� n �ڸ����� ���� ���� ��Ÿ����:

x * 1/10**n

��:

00.5s = 5 * 1/10 �� = 500 �������
00:00.005 = 5 * 1/1000 �� = 5 �������

element-event value
element event value�� Ư���� ����ȭ ������ ����� ��Ÿ����.
element event�� ������ ������ ���´�:
��
Element-event     ::= "id(" Event-source ")(" Event ")"
Event-source      ::= Id-value
Event             ::= "begin" | Clock-val | "end"

������ ����� ���ǵǾ� �ִ�:
begin
�� ����� ������ ���� ���ۿ��� �߻��Ѵ�.
��뿹: begin="id(x)(begin)"
clock-val
�� ����� � ���ҿ� ������ �ð谡 � ���� �������� �� �߻��Ѵ�. �ð�� ������ ���� ���� ������ 0���� �Ͽ� �����Ѵ�. "par"�� "seq" ���ҿ���, �ð�� ������ ���� �������κ��� ����� ǥ�� �ð��� ��Ÿ����. ��ü ��ü ���ҿ� ����, �̰��� �ǹ̷��� �����ϱ� �����̴�. �ð�� ���� �������κ��� ����� ǥ�� �ð��� ��Ÿ�� ���� �ְ�, ��ü�� ��ü �ð��� ��Ÿ�� ���� �ִ�. ���ڴ� ��� �Ǵ� ȸ���� ��ü�� �Ͽ�, ��ü�� ǥ�õDZ� ������ �������κ��� ����� ǥ�� �ð����� �ٸ� ���� ������, ��õ�ϴ� ���� ����̴�.
����� �߻���Ű�� ������ ���� ���ӱⰣ ���� �ʰ��� clock value�� ����ϴ� ���� �����̴�.

��� ��: begin="id(x)(45s)"

end
�� ����� ������ ���� ������ �߻��Ѵ�.
��� ��: begin="id(x)(end)"

���� ����

par ���Ҵ� ������ �ڽ��� ���� �� �ִ�:

a
4.5.1���� ���ǵ�
animation
4.2.3���� ���ǵ�
audio
4.2.3���� ���ǵ�
img
4.2.3���� ���ǵ�
par
4.2.1���� ���ǵ�
ref
4.2.3���� ���ǵ�
seq
4.2.2���� ���ǵ�
switch
4.3���� ���ǵ�
text
4.2.3���� ���ǵ�
textstream
4.2.3���� ���ǵ�
video
4.2.3���� ���ǵ�

�� ��� ���Ҵ� par ������ ������ �ڽ����� ������ ��Ÿ�� �� �ִ�.

4.2.2 seq ����

"seq" ������ �ڽ��� �ð��� ������ �����Ѵ�.

�Ӽ�

seq ���Ҵ� ������ �Ӽ��� ���� �� �ִ�:

abstract
4.2.1���� ���ǵ�
author
4.2.1���� ���ǵ�
begin
4.2.1���� ���ǵ�
copyright
4.2.1���� ���ǵ�
dur
4.2.1���� ���ǵ�
end
4.2.1���� ���ǵ�
id
2���� ���ǵ�
region
4.2.1���� ���ǵ�
"seq" ������ region �Ӽ��� �� �������� ���ǵ� SMIL�� ���� �⺻��ġ���� ����� �� ����. �̰��� �ٸ� ��ġ���� �ʿ��� ���� �ֱ� ������, �ϰἺ�� �������� �߰��ȴ�.
repeat
4.2.1���� ���ǵ�
system-bitrate
4.4���� ���ǵ�
system-captions
4.4���� ���ǵ�
system-language
4.4���� ���ǵ�
system-overdub-or-caption
4.4���� ���ǵ�
system-required
4.4���� ���ǵ�
system-screen-size
4.4���� ���ǵ�
system-screen-depth
4.4���� ���ǵ�
title
3.3.1���� ���ǵ�
��� "seq" ���Ұ� �ǹ��ִ� ������ ������ "title" �Ӽ��� ������ �ϴ� ���� �����ϰ� ��õ�Ѵ�. ���� ������ �� �Ӽ��� ���� ���Ұ� SMIL ������ ���Ե��� �ʵ��� �ؾ��Ѵ�.

���� ����

seq ���Ҵ� ������ �ڽ��� ���� �� �ִ�:

a
4.5.1���� ���ǵ�
animation
4.2.3���� ���ǵ�
audio
4.2.3���� ���ǵ�
img
4.2.3���� ���ǵ�
par
4.2.1���� ���ǵ�
ref
4.2.3���� ���ǵ�
seq
4.2.2���� ���ǵ�
switch
4.3���� ���ǵ�
text
4.2.3���� ���ǵ�
textstream
4.2.3���� ���ǵ�
video
4.2.3���� ���ǵ�

4.2.3 ��ü ��ü ����: ref, animation, audio,img, video,text, textstream ����

��ü ��ü ���Ҵ� SMIL ǥ���� ��ü ��ü�� ������ �� �ֵ��� �Ѵ�. ��ü ��ü�� ����(URI�� ���)�� ���� ���Եȴ�.

��ü ��ü���� �ΰ��� ������ �ִ�: ������ ����(���� ���, ������, ����)�� ���� ��ü ��ü("������ ��ü"����� �Ѵ�)�� ������ ����(���� ���, ����, ȭ��)�� ���� �ʴ� ��ü ��ü("�ҿ����� ��ü"����� �Ѵ�)�� �ִ�.

�ð��� ��ü ��ü ��, �ð��� �߻� ��� ǥ�鿡 ��µǴ� ��ü ��ü���� anchor�� link�� ������ �� �ִ�.

��ü�� ����� ��, ������ ��ü ��ü�� ��Ȯ�� ������ ��ü ��ü ������ �̸����� �߷��ؼ��� �ȵȴ�. ���, �װ��� ���� "type" �Ӽ��� ���Ե� ���� ������, ���� �Ǵ� �ü������ ����� ���� ���� �������� ���Ŀ� ���� �ٸ� ��õ�� �����ؾ� �Ѵ�.

�׷���, �����ڴ� ��ü ��ü�� ���ϴ� ����(animation, audio, img, video, text �Ǵ� textstream)�� ������ �̸��� Ȯ���ϰ� �ݿ��ǵ��� �ؾ� �Ѵ�. �̰��� SMIL ������ �������� ���̱� �����̴�. � ��ü ��ü�� ���ܿ� �ǽ��� �� ���, �����ڴ� �Ϲ����� "ref" ���Ҹ� ����ؾ� �Ѵ�.

���� �Ӽ�

��ü ��ü ���Ҵ� ������ �Ӽ��� ���� �� �ִ�:

abstract
4.2.1���� ���ǵ�
alt
Ư���� ��ü-��ü�� ǥ���� �� ���� ����� ���๰�� ����, �� �Ӽ��� ��ü�� �� �ִ� ���� ������ ��Ÿ����. ��� ��ü ��ü ���Ұ� �ǹ��ִ� ������ ������ "alt" �Ӽ��� ������ �ϴ� ���� �����ϰ� ��õ�Ѵ�. ���� ������ �� �Ӽ��� ���� ���Ұ� SMIL ������ ���Ե��� �ʵ��� �ؾ��Ѵ�.
author
4.2.1���� ���ǵ�
begin
4.2.1���� ���ǵ�
clip-begin
clip-begin �Ӽ��� ������ ��ü ��ü�� sub-clip ������ �� ��ü ��ü�� �������κ��� ����Ͽ� ��Ÿ����.
clip-begin �Ӽ��� ���� ������ ������ ���´�:
Clip-time-value   ::= Metric "=" ( Clock-val | Smpte-val )
Metric            ::= Smpte-type | "npt"
Smpte-type        ::= "smpte" | "smpte-30-drop" | "smpte-25"
Smpte-val         ::= Hours ":" Minutes ":" Seconds 
                      [ ":" Frames [ "." Subframes ]]
Hours             ::= 2DIGIT
Minutes           ::= 2DIGIT
Seconds           ::= 2DIGIT
Frames            ::= 2DIGIT
Subframes         ::= 2DIGIT

�� �Ӽ��� ���� ���͹� �ĺ��ڿ� �װͿ� ���� ������ �ǹ̰� �����Ǵ� �ð� ������ �����ȴ�. ������ ������ ���ȴ�:

SMPTE Timestamp
SMPTE �ð� �ڵ�[SMPTE]�� ������-������ ���� ��Ȯ���� ���� ����� �� �ִ�. ���͹� �ĺ��ڴ� ������ ���� ���� �� �ִ�:
smpte
smpte-30-drop
�� ���� �ʴ� 29.97 �������� ���� "SMPTE 30 drop" ������ ����� ��Ÿ����. �ð� ���� "frame" �κ��� 0���� 29�� ���̶�� �����Ѵ�. �ʴ� 30�� 29.97 �������� ���̴� �� 10���� ������, �� 1�и��� ó�� �� ������(00�� 01 ��)�� �����Ͽ� ó���Ѵ�.
smpte-25
�ð� ���� "frame" �κ��� 0���� 24�� ���̶�� �����Ѵ�.

�ð� ���� hours:minutes:seconds:frames.subframes�� ������ ���´�. ���� ������ ���� 0�̸�, �װ��� �����ȴ�. subframe�� 100���� 1 ���������� �����ȴ�.
��:
clip-begin="smpte=10:12:33:20"

Normal Play Time
Normal Play Time�� �ð��� SMIL �ð� ������ ǥ���Ѵ�. ���͹� �ĺ��ڴ� "npt"�̰�, �ð� ���� ������ SMIL �ð� ���� ������ ����.
��:
clip-begin="npt=123.45s"
clip-begin="npt=12:05:35.3
"
clip-end
clip-end �Ӽ��� ����Ǿ�� �� ������ ��ü(����, ������ �Ǵ� �ٸ� ǥ������)�� sub-clip ���� ��Ÿ����. �̰��� clip-begin �Ӽ��� ���� �Ӽ� �� ������ ����Ѵ�.
���� "clip-end" �Ӽ��� ���� ��ü ��ü�� ������ �ʰ��ϸ�, �� ���� ���õǰ�, clip-end�� ��ü ��ü�� ���� ���� ������ �����ȴ�.
copyright
4.2.1���� ���ǵ�
dur
4.2.1���� ���ǵ�
end
4.2.1���� ���ǵ�
fill
�� �Ӽ��� ���ǿ� �ǹ̿� ���ؼ��� 4.2.4���� ����. �� �Ӽ��� "remove"�� "freeze" ���� ���� �� �ִ�.
id
2���� ���ǵ�
longdesc
�� �Ӽ��� ��ü ��ü�� �� ������ ���� ��ũ(URI)�� ��Ÿ����. �� ������ alt �Ӽ��� ����Ͽ� �����ϴ� ª�� ������ �����ؾ� �Ѵ�. ��ü-��ü�� ��Ŀ�� ���յǾ� ���� ��, �� �Ӽ��� ��Ŀ�� �ÿ信 ���� ������ �����ؾ� �Ѵ�.
region
4.2.1���� ���ǵ�
src
src �Ӽ��� ���� ��ü ��ü�� URI�̴�.
system-bitrate
4.4���� ���ǵ�
system-captions
4.4���� ���ǵ�
system-language
4.4���� ���ǵ�
system-overdub-or-caption
4.4���� ���ǵ�
system-required
4.4���� ���ǵ�
system-screen-size
4.4���� ���ǵ�
system-screen-depth
4.4���� ���ǵ�
title
3.3.1���� ���ǵ�
��� ��ü ��ü ���Ұ� �ǹ��ִ� ������ ������ "title" �Ӽ��� ������ �� ���� �����ϰ� ��õ�Ѵ�. ���� ������ �� �Ӽ��� ���� ���Ұ� SMIL ������ ���Ե��� �ʵ��� �ؾ��Ѵ�.
type
"src" �Ӽ��� �����ϰ� �ִ� ��ü ��ü�� MIME ����.

���� ����

��ü ��ü ���Ҵ� ������ ���Ҹ� ������ �� �ִ�:

anchor
4.5.2���� ���ǵ�

4.2.4 SMIL �ð� ��

4.2.4.1 �ð� �� ��

������ ���ǿ���, "����"��� ���� ���� ����ȭ ���Ҹ��� ����ϴ� ���̴�.

�� ���ҿ� ���Ͽ�, �Ͻõ�, ���õ�, �䱸��, ���� ����, ����, ���� �����Ѵ�.

���� ����/����/���� ������ ���ڰ� �����ϴ� ���� ��Ÿ����.

�Ͻõ�, ���õ�, �䱸�� ���� ���� ���� �����ϱ� ���� �������� ���̴�.

SMIL 1.0�� ���ǵ�, ���ҿ� ���� �̰͵� ������ ���� ���ϴ� ��Ģ�� ���� ���� ����Ǿ� �ִ�.

  1. SMIL�� �� ���Ҵ� �Ͻõ� ������ ���´�.
  2. �� ���ҿ� ������ "begin" �Ӽ��� �߰��Ͽ� ���õ� ������ �ο��� �� �ִ�:

    begin = "���õ�-������ ��"

    ������ ���õ� ������ �װ��� �Ͻõ� ���ۺ��� ���� ���� �����̴�.

  3. SMIL�� �� ���Ҵ� �Ͻõ� ���� ���´�.
  4. �� ���ҿ� ������ "end" �Ӽ��� �߰��Ͽ� ���õ� ���� �ο��� �� �ִ�:

    end = "���õ�-���� ��"

  5. ������ �Ͻõ� ������ ���õ� ���� ���õ� ������ ���̴�.
  6. �� ���ҿ� ������ "dur" �Ӽ��� �߰��Ͽ� ���õ� ������ �ο��� �� �ִ�:

    dur = "���õ�-������ ��"

  7. ������ �䱸�� ������ ���õ� ������ �ִٸ� �װ��̰�, �׷��� �ʴٸ� �Ͻõ� ���۰� ����.
  8. �� ���Ҵ� �䱸�� ���� ���´�.
  9. ������ �䱸�� ������ �䱸�� ���� �䱸�� ������ ���̴�.
  10. �� ���Ҵ� ���� ������ ���´�.
  11. �� ���Ҵ� ���� ���� ���´�. (����: �ڽ� ������ ���� ���� ����� �� �θ� ������ ���� ������ ���� �� ����.)
  12. ������ ���� ������ ���� ���� ���� ������ ���̴�.
4.2.4.2 SMIL 1.0 ���ҿ� ���� �ð� �� ���� ����

�� ���� 4.2.4.1���� ��Ģ���� �ٷ������ ���� ���, ��� SMIL 1.0 ����ȭ ������ �ð� �� ���� �����ϴ� ���� �����Ѵ�.

������ �Ͻ��� ���� ����

  • "body" ������ ù �ڽ��� �Ͻ��� ������ ������ ����DZ� ������ ���̴�. �̶��� ������ ���� �ٱ��̴�.
  • "par" ������ �ڽ��� �Ͻ��� ������ "par" ������ ���� ���۰� ����.
  • "seq" ������ ù��° �ڽ��� �Ͻ��� ������ "seq" ������ ���� ���۰� ����.
  • "seq" ������ �ٸ� �ڽĵ��� �Ͻ��� ������ "seq" ������ ���� �ڽ��� �䱸�� �� �ð��� ����.

������ �Ͻ��� �� ����

���ҿ� �´� ù��° ����� ����ȴ�:

  • "repeat" �Ӽ��� ���� "indefinite"�� ������ �Ͻ��� ���� �װ��� ���� ���� �����̴�.
  • "repeat" �Ӽ��� ���� "indefinite"�� �ƴ� ������ �Ͻ��� ����, �� ���Ҹ� "repeat" �Ӽ����� ��޵� ����ŭ �ڽ����� ���� seq ������ �Ͻ��� ���� ����.
  • ������ ��ü ��ü�� �����ϴ� ��ü ��ü ������ �Ͻ��� ���� �װ��� ���� ���۰� �� ��ü ��ü�� ������ ������ ���̴�.
  • ���ڳ� ȭ���� �ҿ����� ��ü ��ü�� �����ϴ� ��ü ��ü ������ �Ͻ��� ���� �װ��� ���� ���� �����̴�.
  • "seq" ������ �Ͻ��� ���� �װ��� ������ �ڽ��� �䱸�� ���� ����.
  • "par" ������ �Ͻ��� ���� "endsync" �Ӽ��� ���� ���� �ٸ���. �Ͻ��� ���� "par" ������ ���� ���۰� �Ͻ��� ������ ���ε�, �Ͻ��� ������ ������ ���� �߷еȴ�:
    • ���� "endsync" �Ӽ��� ���� "last"�̰ų�, "endsync" �Ӽ��� ������, "par" ������ �Ͻ��� ������ �ڽ��� �䱸�� ������ �ִ밪�̴�.
    • ���� "endsync" �Ӽ��� "first"�̸�, "par" ������ �Ͻ��� ������ �ڽ��� �䱸�� ������ �ּҰ��̴�.
    • ���� "endsync" �Ӽ��� ���� id-ref�̸�, "par" ������ �Ͻ��� ������ "id-ref"�� �����ϰ� �ִ� �ڽ��� �䱸�� ���Ӱ� ����.

������ �䱸�� �� ����

  • ���� ���Ұ� ������ ���Ӱ� ������ ���� ���� ������, �䱸�� ���� ������ �ּҰ��̴�:
    • �䱸�� ���۰� ������ ������ ��; �׸���
    • ������ ��.
  • ���� ���Ұ� ������ ������ ���� ������ ������ ���� ���� ���� �ʴٸ�, �䱸�� ���� �䱸�� ���۰� ������ ������ ���̴�.
  • ���� ���Ұ� ������ ���� ���� ������ ������ ������ ���� ���� �ʴٸ�, �䱸�� ���� ������ ���� ����.
  • �׷��� ������, �䱸�� ���� �Ͻ��� ���� ����.

������ �䱸�� ���� ����

������ �䱸�� ������ 4.2.4.1���� �ִ� ��Ģ 7�� ����Ͽ� �����Ѵ�.

������ ������ ���� ����

������ ������ ������ �θ� ������ ������ ���� �� �ð����� �������� �ʴٸ�, ������ �䱸�� ���۰� ����.

������ ���� �� ����

  • body ������ ������ �ڽ��� ������ ���� ����� �����̴�. ������ ���� �ּ��� �䱸�� �����ٴ� �ʾ�� ������, �װ��� �󸶳� ���� ���� ���� �����̴�.
  • "par" ������ �ڽ��� ������ ���� ������ ���� �߷еȴ�.
    • ���� �ڽ��� "fill" �Ӽ��� ����, "fill" �Ӽ��� ���� "freeze"���, �ڽ� ������ ������ ���� �� �θ��� ������ ���� ����.
      �� ������ ȭ�� �󿡼� ������ ���´� �� ������ ������ ������ ���ӵȴ�.
    • ���� �ڽ��� "fill" �Ӽ��� ����, "fill" �Ӽ��� ���� "remove"���, �ڽ� ������ ������ ���� �θ��� ������ ���� �� ������ �䱸�� ���� �ּҰ��̴�.
    • ���� �ڽ��� "fill" �Ӽ��� ���� �ʰ� �ִٸ�, �� �ڽ� ������ ������ ���� �� �ڽ��� ������ �����̳� ���� ���� �ִ��� �ƴ����� ���� �����ȴ�.
      • ���� �ڽ��� ������ �����̳� ���� ���� �ִٸ�, ������ ���� �� ���Ұ� "fill" �Ӽ��� "remove" ���� ���� ��ó�� �����ȴ�.
      • ���� �ڽ��� ������ �����̳� ������ ���� ���� ���� �ʴٸ�, ������ ���� �� ���Ұ� "fill" �Ӽ��� "freeze" ���� ���� ��ó�� �����ȴ�.
  • "seq" ������ ������ �ڽ��� ������ ���� "par" ������ �ڽ��� ������ ���� ���� ������� �߷еȴ�.
  • "seq" ������ �ٸ� �ڽĵ��� ������ ���� ������ ���� �߷еȴ�:
    • ���� �ڽ��� "fill" �Ӽ��� ����, "fill" �Ӽ��� ���� "freseze"���, �� �ڽ� ������ ������ ���� ���� ������ ������ ������ ����.
    • ���� �ڽ��� "fill" �Ӽ��� ����, "fill" �Ӽ��� ���� "remove"���, �� �ڽ� ������ ������ ���� ���� ������ ������ ���۰� ���� �ڽ� ������ �䱸�� ���� �ּҰ��̴�.
    • ���� �ڽ� ���Ұ� "fill" �Ӽ��� ���� ������, �� �ڽ� ������ ������ ���� �� �ڽ��� ������ �����̳� ���� ���� �ִ��� �ƴ����� ���� �����ȴ�.
      • ���� �ڽ��� ������ �����̳� ���� ���� �ִٸ�, ������ ���� �� ���Ұ� "fill" �Ӽ��� "remove" ���� ���� ��ó�� �����ȴ�.
      • ���� �ڽ��� ������ �����̳� ������ ���� ���� ���� �ʴٸ�, ������ ���� �� ���Ұ� "fill" �Ӽ��� "freeze" ���� ���� ��ó�� �����ȴ�.

4.3 switch ����

switch ���Ҵ� �����ڰ�, �ϳ��� ���밡���� ���Ҹ��� ������ �� �ִ�, ���� ������ ���ҵ��� ������ ���� �� �ֵ��� �Ѵ�. ���Ұ� SMIL 1.0�̰�, ��ü-������ �ص� �����ϰ�, ������ ��� �˻�-�Ӽ�(4.4���� ����)�� "true"�̸� �� ���Ҵ� ����ȴ�.

���Ҵ� ������ ���� ���õȴ�: ������ switch ���ҳ����� ��Ÿ���� ������� ���ҵ��� ���Ѵ�. ù��° ���� ������ ���Ұ� ���õǰ� switch���� �ٸ� ���ҵ��� ���ܵȴ�.

����, �����ڴ� ���� ������ ����, ���� ������ �����κ��� �׷��� ���� ���� ������ �����ؾ� �Ѵ�. ������, �����ڴ� (���������� �̷��� ���� �ʿ���� ���� �ƴ϶��)��������� ���������� ���� ����� <switch>�� ������ �׸����� �ξ�, switch ������ �ּ��� �ϳ��� �׸��� ���õ� �� �ֵ��� �ؾ��Ѵ�. ��� �˻�-�Ӽ��� �������� �� ������ <switch>������ ���������� �ϳ��� ��ü�� �����ؼ��� �ȵȴ�.

� ��쿡����, ����-������ ���� �����Ǵ� http URI�� "switch" ����� ����� ���� �ִٴ� �Ϳ� �����϶�

�Ӽ�

switch ���Ҵ� ������ �Ӽ��� ���� �� �ִ�:

id
2���� ���ǵ�
title
3.3.1���� ���ǵ�
��� switch ���Ұ� �ǹ��ִ� ������ ������ "title" �Ӽ��� ������ �� ���� �����ϰ� ��õ�Ѵ�. ���� ������ �� �Ӽ��� ���� ���Ұ� SMIL ������ ���Ե��� �ʵ��� �ؾ��Ѵ�

���� ����

���� "switch" ���Ұ� "body" ������ ������ �Ǵ� ������ �ڽ����� ���ȴٸ�, �װ��� ������ �ڽ��� ���� �� �ִ�:

a
4.5.1���� ���ǵ�
animation
4.2.3���� ���ǵ�
audio
4.2.3���� ���ǵ�
img
4.2.3���� ���ǵ�
par
Defined in 4.2.1���� ���ǵ�
ref
4.2.3���� ���ǵ�
seq
4.2.2���� ���ǵ�
switch
Defined in 4.3���� ���ǵ�
text
4.2.3���� ���ǵ�
textstream
4.2.3���� ���ǵ�
video
4.2.3���� ���ǵ�

�� ��� ���Ҵ� "switch" ������ �ڽ����� ���� �� ��Ÿ�� �� �ִ�.

���� "switch" ���Ұ� "head" ���ҳ����� ���ȴٸ�, �װ��� ������ �ڽ��� ���� �� �ִ�:

layout
3.2���� ���ǵ�
���� layout ���Ұ� switch ���ҳ��� ��Ÿ�� �� �ִ�.

4.4 �˻� �Ӽ�

�� �������� ��� ����ȭ ���ҿ� ���ٿ��� �ý����� ���ɰ� ������ �˻��� �� �ִ� �Ϸ��� �˻� �Ӽ��� �����Ѵ�. ���������� �� �˻� �Ӽ��� �ο� �˻縦 ��Ÿ����. � ���ҿ� ���� �˻� �Ӽ����� �ϳ��� "false"�� �򰡵ȴٸ�, �� �Ӽ��� �����ϰ� �ִ� ���Ҵ� ���õȴ�.

�Ʒ��� ��Ͽ���, "����� ����"�̶�� ������ ���� ���� �ִ�. ����� ������ ���� ��� �������� ���� ��ȭ���ڸ� ���Ͽ� ����������, �� �������� ����ڿ� SMIL ����Ⱑ ��� �׷��� ������ ����� �������� ���ؼ��� � ���ѵ� ������ �ʴ´�.

������ �˻� �Ӽ��� SMIL 1.0�� ���ǵǾ� �ִ�:

system-bitrate
�� �Ӽ��� �ý��ۿ��� ��� ������ �뷫�� �뿪���� �ʴ� ��Ʈ���� ��Ÿ����. �뿪���� ������, �ܸ��� ������ ������ ���� ��� �Ǵ� ����ڿ� ���� ����Ǵ� �ܼ��ϰ� ������ ����� ����� �� �����Ƿ� ���븶�� Ư���� �� �ִ�. ������ ��� �̰��� ���� ���, ������� ��Ʈ��ũ ���ῡ �ٰ��� ���ÿ� ����� �� �ִ�. �� ������� ��� 14400, 28800, 56000 ��Ʈ/�� ���� �������� ���̴�. ����� �� �ִ� �ý����� ��Ʈ���� �־��� ���� ���ų� ũ��, "true"�� �ȴ�. ����� �� �ִ� �ý����� ��Ʈ���� �־��� ������ ������ "false"�� �ȴ�.
�� �Ӽ��� 0���� ū �������� �����Ѵ�. ���� �� ���� ������ ���ǵ� �ִ� �뿪���� �ʰ��ϸ�, �Ӽ��� �׻� "false"�� �ȴ�.
system-captions
�� �Ӽ��� �����ڰ� ǥ���� ���� �κп� ���� ������ ���� ����(û������ڳ� �� ������ �ʿ��� ������� ���� ��)�� �Ϲ� ��û�ڸ� ���� ���� ������ ������ �� �ֵ��� �Ѵ�. ���� ����ڰ� �� ������ ���⸦ ���ϴ� ������ �����ϸ� �� �Ӽ��� "on"�� ������ ����, �׷��� ������ "off" ���� ���´�. ���� "on"�̸� "true"�� �ǰ�, ���� "off"�̸� "false"�� �ȴ�.
system-language
�� �Ӽ� ���� [RFC1766]�� ���ǵ� ��� �̸���, ��ǥ�� �и��� ����̴�.

���� ������� �������� ������ ������� �ϳ���, �� �μ��� ������ �־��� ����� �ϳ��� ��Ȯ�� ��ġ�ϰų�,

������� �������� ������ ������� �ϳ���, �� �μ��� ������ �־��� ����� ���λ�-- ���λ縦 �ڵ����� �±��� ù ���ڰ� "-"�� �׷��� ���λ�--�� �ϳ��� ��Ȯ�� ��ġ�ϸ� "true"�� �ȴ�.

�׷��� ������ "false"�� �ȴ�.

����: �� ���λ� ��ġ ��Ģ�� ��� �±װ� ��, ����ڰ� � ��ũ�� ���� � �� �����Ѵٸ�, �� ����ڴ� ���� �� �±װ� ���λ�� ���� ��� �� �����ϴ� ���� �׻� ���̵Ǵ�, ������� �Ҵ�Ǿ��ٴ� ���� �ǹ����� �ʴ´�.

���λ� ��Ģ�� �ܼ��� ���λ� �±װ� ������ ���, �װ��� ����� �� �ֵ��� �Ѵ�.

�������� ����: ����ڰ� ����� �� �ִ� �� �����ϵ��� �� ��, �����ڴ�, ����ڰ� ���� ����� ��� ��ġ�� ������ ���׿� �ͼ����� �ʴٴ� �Ͱ� ������ �ȳ��� �����ؾ� �Ѵٴ� ����� �����ؾ� �Ѵ�. ���� ���, ����ڰ� "en-gb"�� �����Ѵٸ�, ���� ��� ����� �� ���� ��, � ������ ���� ������ ������ ���̴�. ����� ������ �����ϴ� ����� ȯ����, ������ ��ġ�� ���� �� �ֵ��� �ϱ� ���� ����ڰ� "en"�� �߰��ϵ��� �ȳ��ؾ� �Ѵ�.

������ û���ڸ� ������ ���뿡 ���ؼ��� ������ �� ������ ���� �ִ�. ���� ���, "Waitangi ����"�� ������ ����� ����� ���ÿ� ��Ÿ���� ����� ������ ����:

��

            <audio src="foo.rm" system-language="mi, en"/>

�׷���, ��ü���� system-language �˻� �Ӽ��� ��ġ�� ������ �� ��Ÿ�� �ִ� ����, �װ��� ���� ����� û���ڸ� ���� ���̶�� ���� �ǹ������� �ʴ´�. �� ���� "��ƾ�� ù ����" ���� �ʺ��ڿ� �Թ�����, �и��� ����-��� û���ڸ� ���� ���̴�. �� ��� system-language �˻� �Ӽ��� "en"���� �����Ͽ��� �Ѵ�.

���ۻ��� ����: �����ڴ� ���� "switch" �ȿ� �� ���� ���� ������ ��� ��ü�� �ְ�, �� �� ��� �͵� ��ġ���� ���� ���, ��ȭ���� �������� ���� �� �ִ� �׷� ��Ȳ�� �߻��� �� �ִٴ� ���� �˾ƾ� �Ѵ�. ����, �׷��� switch�� ���� ��� ��쿡�� ������ �� �ִ� "��������" ������ ������ ���� ��õ�Ѵ�.

system-overdub-or-caption
�� �Ӽ��� ���� ����ڰ� ���߳����̳� �ڸ��� �����Ͽ��� ��, �� ������ ��� ������ ���� �����ϴ� �����̴�. �� �Ӽ��� "caption"�� "overdub" ���� ���� �� �ִ�. ���� ������� ������ �� �Ӽ� ���� ��ġ�ϸ� "true"�� �ȴ�. ��ġ���� ������ "false"�� �ȴ�.
system-required
�� �Ӽ��� Ȯ�� �̸��� ��Ÿ����. ���� Ȯ���� ������ ���� �����Ǹ� "true"�� �ǰ�, �׷��� ������ "false"�� �ȴ�. ���� SMIL �����ǿ���, �� �Ӽ��� XML namespace[NAMESPACES]�� �� ���̴�.
system-screen-size
�Ӽ� ���� ������ ������ ���´�:
screen-size-val ::= screen-height"X"screen-width
�̰��� ������ �ȼ� ���̸� 0���� ū �����̾�� �Ѵ�. ����, SMIL ��� ������ �־��� ũ��� ǥ���� ǥ���� �� ������ "true"�� �ȴ�. ����, SMIL ��� ������ �� ���� ǥ������ ǥ���Ѵٸ� "false"�� �ȴ�.
system-screen-depth
�� �Ӽ��� ���� ���Ҹ� ǥ���ϱ� ���� �ʿ��� ���� �ȷ��� ���̸� ��Ʈ�� ��Ÿ����. �� ���� 0���� ū ���̾�� �Ѵ�. �������� ���� 1, 8, 24 ... �̴�. ����, SMIL ��� ������ �־��� ���� ���̷� ȭ���̳� ��ȭ���� ǥ���� �� ������ "true"�� �ȴ�. ����, SMIL ��� ������ ȭ���̳� ��ȭ���� �� ���� ���� ���̷θ� ǥ���� �� �ִٸ� "false"�� �ȴ�.

����

1) �ٸ� �뿪���� ���� ���밣�� ����

����, ������ ���ҿ� ���� "system-bitrate" ���ڸ� ���� ������ �����ϱ⸦ �ٶ���. ��ü ������ �� "����" (switch���� ����)�� �ѹ��� �ϳ��� ���Ͽ�, ��ü ������ ��ü �������� ����� ������ Ư¡�� �˰� �ִ�, �־��� �뿪������ ���밡���� ���� ã�´�.

...
<par>
  <text .../>
  <switch>
    <par system-bitrate="40000">
    ...
    </par>
    <par system-bitrate="24000">
    ...
    </par>
    <par system-bitrate="10000">
    ........
    </par>
  </switch>
</par>
...

2) �ٸ� �뿪���� ���� ���� �ڿ����� ����

switch���� ���ҵ��� ���Ұ��� ��� �����̶� �� �� �ִ�. ���� ���, �ϳ��� ���� ��ü�� �� �ִ� ���� Ʈ���� ��Ÿ����.

...
<switch>
   <audio src="joe-audio-better-quality" system-bitrate="16000" />
   <audio src="joe-audio" system-bitrate="8000" />
</switch>
...

3) �ٸ� �� ���� ���� �ڿ����� ����

������ ���, �� ���� �ڿ��� �Ҿ�� ����� ��밡���ϴ�. ����ڰ� ������ �� ���� ������ �� ���� �ڿ����� �ϳ��� ������ �� �ִ�.

...
<switch>
   <audio src="joe-audio-french" system-language="fr"/>
   <audio src="joe-audio-english" system-language="en"/>
</switch>
...

4) �ٸ� ȭ�鿡 ���� �ۼ��� ���밣�� ����

������ ������, ǥ���� �ٸ� �ػ󵵿� ��Ʈ-���̸� ���� ȭ���� ���� �����, ��ü�� �� �ִ� �κ��� �����ϰ� �ִ�. ȭ���� Ư���� Ư¡�� ����, ������ �ϳ��� ������ �� �ִ�.

...
<par>
  <text .../>
  <switch>
    <par system-screen-size="1280X1024" system-screen-depth="16">
    ........
    </par>
    <par system-screen-size="640X480" system-screen-depth="32">
    ...
    </par>
    <par system-screen-size="640X480" system-screen-depth="16">
    ...
    </par>
  </switch>
</par>
...

5) �ڸ� Ʈ���� �ֽĽü�ǥ�ñ��� ����

���� ������, �ڸ��� ����ڰ� �ڸ��� �Ӷ��� ���̰� �ȴ�.

...
<seq>
  <par>
    <audio      src="audio.rm"/>
    <video      src="video.rm"/>
    <textstream src="stockticker.rtx"/>
    <textstream src="closed-caps.rtx" system-captions="on"/>
  </par>
</seq>
...

6) ����� �������� �� �ڸ� Ʈ������ ����

������ ������, �Ҿ� ��ȭ�� ����, ���Ͼ�, �׵������� ���߳����� �ڸ� Ʈ������ ��밡���ϴ�. ������ SMIL �κ��� �̰��� ��Ÿ����, ������� ���ÿ� ���� ��ü ������ ������ ��ȯ�Ѵ�.

...
<par>
  <switch>
    <audio src="movie-aud-en.rm" system-language="en"
                system-overdub-or-caption="overdub"/>
    <audio src="movie-aud-de.rm" system-language="de"
                system-overdub-or-caption="overdub"/>
    <audio src="movie-aud-nl.rm" system-language="nl"
                system-overdub-or-caption="overdub"/>
     <!-- French for everyone else -->
     <audio src="movie-aud-fr.rm"/>
   </switch>
   <video src="movie-vid.rm"/>
   <switch>
     <textstream src="movie-caps-en.rtx" system-language="en"
                 system-overdub-or-caption="caption"/>
     <textstream src="movie-caps-de.rtx" system-language="de"
                system-overdub-or-caption="caption"/>
     <textstream src="movie-caps-nl.rtx" system-language="nl"
                 system-overdub-or-caption="caption"/>
     <!-- French captions for those that really want them -->
     <textstream src="movie-caps-fr.rtx" system-captions="on"/>
   </switch>
</par>
...

4.5 �����۸�ũ ����

link ���Ҵ� �̵��� �� �ִ� ��ü���� ������ ������ �� �ֵ��� �Ѵ�.

SMIL�� �ζ��� link ���Ҹ��� �����Ѵ�. ������ �ܹ��� ���� ����(��, ��� ������ ��Ȯ�� �ϳ��� ��õ�� �ϳ��� ���� �ڿ��� ���´�)�� ���ѵȴ�. SMIL�� ��� ������ ����ڿ� ���� �۵��Ѵ�.

���Ե� �������� ������ ó��

SMIL ������ ǥ����, �װ��� ���� Ư������ �Ͽ�, �ٸ�(SMIL�� �ƴ�) �����̳� �÷������� ������ �� �ִ�. ���� ���, SMIL �������� ���Ե� HTML ���� ǥ���ϱ� ���� HTML �÷������� ����� �� �ִ�. ����������, HTML �������� HTML �ʿ� ���Ե� SMIL ������ ǥ���ϱ� ���� SMIL �÷������� ����� �� �ִ�.

�׷��� ǥ������, ������ �ٸ� ���ؿ� �ִ� ������ ���� ���ǵ� �� �ְ�, �浹�� �Ͼ �� �ִ�. �̷��� ���, �����ϴ� ������ ���� ���ǵ� ������ ���Ե� ��ü�� ���� ���ǵ� ���Ẹ�� �켱���� ������ �Ѵ�. �̰��� �������� �÷����ΰ��� ����� �ʿ�� �ϱ� ������, SMIL ������ �� �ǰ��� ������ ���� ���� �ִٴ� �Ϳ� �����϶�.

���� ������ ���Ե� SMIL �������� ���ǵǾ� �ִٸ�, ������ �̵��� ���Ե� SMIL �������� ������ �ش�.

���� ������ SMIL ������ ���Ե� ��SMIL�������� ���ǵǾ� �ִٸ�, ������ �̵��� ���Ե� ������ ǥ������ ������ �ְ�, �����ϴ� SMIL �������� ������ ���� �ʴ´�. �� ������ SMIL ���� �ǿ��� ��ȭ�� �� �ִ�.

�ּ���Ī

SMIL�� �̸� ���� �ĺ��ڿ� "#" �����ڸ� �����Ѵ�. �̰��� SMIL�� ���� HTML���� ����ϰ� �ִ� ��ġ�����ڸ� �����Ѵٴ� ���� �ǹ��Ѵ�(��, HTML�� "http://foo.com/some/path#anchor1" ������ ��ġ�����ڸ� ����Ѵ�).

SMIL ������ ���� ����

SMIL ������ ����Ű�� ��ġ�����ڴ� ���� �κ�(��, http://www.w3.org/test.smi#par1)�� ������ �� �ִ�. �� ���� �κ��� �����ǰ� �ִ� SMIL �������� �ִ� �� ������ id ���̴�. ���� ������ �ڵ����� ���� �κ��� �����ϰ� �ִٸ�, ǥ����, ����ڰ� ���� ������ ��Ÿ���� ǥ���� ������ ����Ű�� �ִ� ������ ������ ���۱��� �������⸦ �� ��ó�� �����ؾ� �Ѵ�.

������ Ư���� ��찡 �߻��� �� �ִ�:

  1. ������ ��Ī�ϴ� ���Ұ� "repeat" �Ӽ��� ���� �� �ִ�.
    1. ���� "repeat" �Ӽ��� ���� N�̶��, ���Ҵ� N��ŭ �ݺ� ����Ǿ�� �Ѵ�.
    2. ���� "repeat" �Ӽ��� ���� "indefinite"���, ����� ���� repeat ���� "indefinite"�� ��쿡 ���ǵ� ��Ģ�� ������.
  2. ������ ��Ī�ϴ� ���Ұ� "repeat" �Ӽ��� ���� �ٸ� ���ҿ� ���ԵǾ� �ִ�.
    1. ���� "repeat" �Ӽ��� ���� N�̶��, ����� ������ ��Ī�ϴ� ������ ó������ �����Ͽ�, "repeat" �Ӽ��� ���� ���Ҹ� N-1��ŭ �ݺ��Ѵ�.
    2. ����, "repeat" �Ӽ��� ���� "indefinite"���, ����� ������ ��Ī�ϴ� ������ ó������ �����Ѵ�. ����� ���� repeat ���� "indefinite"�� ��쿡 ���ǵ� ��Ģ�� ������.
  3. ������ ��Ī�ϴ� ���Ұ� "switch" ������ �����̴�: "switch" ������ ������ ���ҿ� ���� ������ �����Ǿ� �ִ�.

4.5.1 a ����

"a" ���Ҵ� HTML 4.0 [HTML40]�� "a" ���ҿ� �ſ� ������ ��ɿ��� �ſ� ����ϴ�. SMIL�� ������ ������ �� ��õ�� �ð��� ������ �����ϴ� "show" �Ӽ��� ���ٿ���. ����ȭ ������ ���� "a" ���Ҵ� �����ϴ�. ��, �װ��� �� �ڽ� ������ ����ȭ�� ������ ���� �ʴ´�. "a" ���Ҵ� ��ø�� �� ����. "a" ���Ҵ� �ݵ�� href �Ӽ��� ������ �Ѵ�.

�Ӽ�

"a" ���Ҵ� ������ �Ӽ��� ���� �� �ִ�:

id
2���� ���ǵ�
href
�� �Ӽ��� ���� �������� URI�� �����ϰ� �ִ�.
"a" ���ҿ��� "herf" �Ӽ��� �ʼ����̴�.
show
�� �Ӽ��� ������ ������ ��, ������ ������ ��õ ������ ������ �����Ѵ�. �̰��� ���� ���� �ϳ��� ���� �� �ִ�.
  • "replace": ������ ǥ���� ������ ���¿��� ���߰� ���� �ڿ����� ��ü�ȴ�. ����, ����Ⱑ �����丮 ����� �����Ѵٸ�, ����ڰ� ���� ǥ������ �ǵ��� ���� �� �װ��� �����Ǿ��� ���� ���·κ��� �簳�� �� �ִ�.
  • "new": ���� �ڿ��� ǥ���� ��õ �ڿ��� ������ ���� �ʰ� ���ο� ���ƿ��� �����Ѵ�.
  • "pause": ��õ ǥ���� ������ ���¿��� ���߰�, ���� �ڿ��� ���ο� ���ƿ��� �����Ѵ�. ���� �ڿ��� ����� ������, ��õ ǥ���� �װ��� ���Ǿ��� ���� ���·κ��� �簳�Ѵ�.

"show"�� �⺻ ���� "replace"�̴�.

title
3.3.1���� ���ǵ�
��� "a" ���Ұ� �ǹ��ִ� ������ ������ "title" �Ӽ��� ������ �ϴ� ���� �����ϰ� ��õ�Ѵ�. ���� ������ �� �Ӽ��� ���� ���Ұ� SMIL ������ ���Ե��� �ʵ��� �ؾ��Ѵ�.

Element Content

"a" ���Ҵ� ������ �ڽ��� ���� �� �ִ�:

animation
4.2.3���� ���ǵ�
audio
4.2.3���� ���ǵ�
img
4.2.3���� ���ǵ�
par
4.2.1���� ���ǵ�
ref
4.2.3���� ���ǵ�
seq
4.2.2���� ���ǵ�
switch
4.3���� ���ǵ�
text
4.2.3���� ���ǵ�
textstream
4.2.3���� ���ǵ�
video
4.2.3���� ���ǵ�

��

�� 1

������ ����ǰ� �ִ� ǥ���� ��ü�Ͽ� ���ο� ǥ���� �����ϰ� �Ѵ�.

<a href="http://www.cwi.nl/somewhereelse.smi">
     <video src="rtsp://foo.com/graph.imf" region="l_window"/>
</a>

������ �ι��� ���� ��� ��ȿ�� SMIL ǥ���� ����Ʈ���� ���� ������ ��ü�� �� �ִ�.

�� 2

������ ����ǰ� �ִ� ǥ���� ���ٿ� ���ο� ǥ���� �����ϰ� �Ѵ�.

<a href="http://www.cwi.nl/somewhereelse.smi" show="new">
     <video src="rtsp://foo.com/graph.imf" region="l_window"/>
</a>

������, �̰��� SMIL ����Ⱑ HTML �������� �����ϵ��� �� �� �ִ�.

�� 3

������ ����ǰ� �ִ� ǥ���� ���߰� ���ο� ǥ���� �����ϰ� �Ѵ�.

<a href="http://www.cwi.nl/somewhereelse.smi" show="pause">
     <video src="rtsp://foo.com/graph.imf" region="l_window"/>
</a>

�� 4

������ ����, ǥ�� A�� �� ���ҷκ��� �ٸ� ǥ��B�� �߰������� ������ �����ϰ� �ִ�. �̰��� ǥ�� B�� id "next"�� ���� ���ۿ��� �����ϵ��� �Ѵ�.

ǥ�� A:

     <a href="http://www.cwi.nl/presentationB#next">
       <video src="rtsp://foo.com/graph.imf"/>
     </a>


ǥ�� B (http://www.cwi.nl/presentation):

      ...
      <seq>
        <video src="rtsp://foo.com/graph.imf"/>
        <par>
          <video src="rtsp://foo.com/timbl.rm" region="l_window"/>
          <video id="next" src="rtsp://foo.com/v1.rm" region="r_window"/>
                 ^^^^^^^^^
          <text src="rtsp://foo.com/caption1.html" region="l_2_title"/>
          <text src="rtsp://foo.com/caption2.rtx" region="r_2_title"/>
        </par>
      </seq>
      ...

4.5.2 anchor ����

"a" ������ ������ ��ü ��ü�� ����� ������Ű�� ������ ����� ���ѵǾ� �ִ�. HTML �̹������� ��ü�� �������� �Ϻκ��� ����� ������Ű�� ���� �����ϴٴ� ���� �����ش�. anchor ���Ҵ� SMIL���� �װͰ� ������ ����� �����Ѵ�:

  1. anchor ���Ҵ� "href" �Ӽ��� ����Ͽ�, ������ �������� ��ü ��ü�� �������̰� �ð����� �Ϻκп� ������ �� �ֵ��� �Ѵ�(�̿� ����, "a" ���Ҵ� ����� ������ ��ü ��ü�� ������Ű�� �͸��� ����Ѵ�).
  2. anchor ���Ҵ� "id" �Ӽ��� �̿��Ͽ�, ��ü ��ü�� �Ϻκ��� ������ �������� ���� �� �ֵ��� �Ѵ�.
  3. anchor ���Ҵ� "coords" �Ӽ��� �̿��Ͽ�, ��ü�� �������� �κ����� ���� �� �ֵ��� �Ѵ�.
  4. anchor ���Ҵ� "begin"�� "end" �Ӽ��� �̿��Ͽ� ��ü�� �ð����� �κ����� ���� �� �ֵ��� �Ѵ�. begin�� end �Ӽ��� ���� ��ü ��ü�� ���ۿ� ������̴�.

�Ӽ�

anchor ���Ҵ� ������ ���� �Ӽ��� ���� �� �ִ�:

begin
4.2.1���� ���ǵ�
coords
�� �Ӽ��� ���� �ð��� ��ü ��ü�� ǥ�� �������� �ִ� �簢���� ��Ÿ����. �� �Ӽ��� �ǹ̿� ������ ������ �簢���� ���õǾ��� ��, HTML �̹������� coords �Ӽ��� �����ϴ�. �簢���� 4���� length ������ ��Ÿ����: ó�� �� ���� �簢���� ���� �� �𼭸��� ��ǥ�� ��Ÿ����. �ι�° �� ���� �簢���� ������ �Ʒ� �𼭸��� ��ǥ�� ��Ÿ����. ��ǥ�� �ð��� ��ü ��ü�� ���� �� �𼭸��� ��ǥ�� ������̴�(�׸� 4.5�� ����). ���� ��ǥ�� ����� ���̸�, �װ��� ��ü ��ü ǥ�� ������ ��ü width �Ǵ� height�� ������̴�.
������ �ִ� coords ���� ���� �Ӽ��� ���õȴ�(right-x�� left-x���� �۰ų� ����, bottom-y�� top-y���� �۰ų� ����). ���� coords �Ӽ��� ������ �簢���� ��ü ��ü�� ������ �������� ũ�ٸ�, �ʰ��ϴ� height�� width�� ��ü ��ü�� ��迡�� �߷�����.
coords �Ӽ��� ���� ������ ������ ���´�:
��
coords-value ::= left-x "," top-y "," right-x "," bottom-y

��


semantics of coords attribute D

��


Figure 4.5: "coords" �Ӽ��� �ǹ�

end
4.2.1���� ���ǵ�
id
2���� ���ǵ�
show
4.5.1���� ���ǵ�
skip-content
3.3.1���� ���ǵ�
title
3.3.1���� ���ǵ�
��� anchor ���Ұ� �ǹ��ִ� ������ ������ "title" �Ӽ��� ������ �ϴ� ���� �����ϰ� ��õ�Ѵ�. ���� ������ �� �Ӽ��� ���� ���Ұ� SMIL ������ ���Ե��� �ʵ��� �ؾ��Ѵ�.

��

1) ������ ������ �κп� ������Ų��

������ ����, �������� �����ϰ� �ִ� ȭ������� �ΰ��� �κ����� ������. ���� �� �κп� ���� �ٸ� ������ �����Ǿ� �ִ�.

<video src="http://www.w3.org/CoolStuff">
  <anchor href="http://www.w3.org/AudioVideo" coords="0%,0%,50%,50%"/>
  <anchor href="http://www.w3.org/Style"      coords="50%,50%,100%,100%"/>
</video>

2) ������ �ð��� �κп� ������Ų��.

������ ����, �������� ���� �ð��� �ΰ��� �ð� �������� ������. ���� �� �ð� ���ݿ� ���� �ٸ� ������ �����Ǿ� �ִ�.

<video src="http://www.w3.org/CoolStuff">
  <anchor href="http://www.w3.org/AudioVideo" begin="0s" end="5s"/>
  <anchor href="http://www.w3.org/Style"      begin="5s" end="10s"/>
</video>

3) ��ü�� �Ϻκ����� �dzʶ�

������ ����, �� ǥ�� A�� �� ���ҿ��� �ٸ� ǥ�� B�� ���Ե� ������ ��ü�� �߰������� ������ �����ϰ� �ִ�. �̰��� ǥ�� B�� �������� 5�ʺ��� �����Ͽ� ����Ѵ�(��, ǥ���� ��ġ ����ڰ� ��ü ǥ���� "CoolStuff" �������� ������ �κб��� ���������� ��ó�� �����Ѵ�).

ǥ�� A:

<a href="http://www.cwi.nl/mm/presentationB#tim">
   <video id="graph" src="rtsp://foo.com/graph.imf" region="l_window"/>
</a>


ǥ�� B:

<video src="http://www.w3.org/CoolStuff">
  <anchor id="joe" begin="0s" end="5s"/>
  <anchor id="tim" begin="5s" end="10s"/>
</video>

4) ������ ���� �ٸ� ���� ����

������ ����, ������ ������ ���� �ٸ� ������ ��� ���յǾ� ���� �� �ִ°��� �����ش�.

ǥ�� A:

<a href="http://www.cwi.nl/mm/presentationB#tim">
  <video id="graph" src="rtsp://foo.com/graph.imf" region="l_window"/>
</a>


ǥ�� B:

<video src="http://www.w3.org/CoolStuff">
  <anchor id="joe" begin="0s" end="5s" coords="0%,0%,50%,50%"
          href="http://www.w3.org/"/>
  <anchor id="tim" begin="5s" end="10s" coords="0%,0%,50%,50%"
          href="http://www.w3.org/Tim"/>
</video>

5 SMIL DTD

5.1 XML���� ����

SMIL 1.0������ ���������� �� �������� ����ϴ� ����������(DTD)�� �����ϴ�, ������������ ������ ���� �ִ�. SMIL�� ��� ������������ ������ ���� ���� �� �ִ� (ū����ǥ�� ��������ǥ�� �ٲ� �� �ִ�):

<!DOCTYPE smil PUBLIC "-//W3C//DTD SMIL 1.0//EN"
               "http://www.w3.org/TR/REC-smil/SMIL10.dtd">

XML 1.0 �������� <!DOCTYPE> ���Ҹ� ����Ͽ�, �Ϸ��� ���ο� ����Ƽ ���Ǹ� �߰��ϴ� �� ���� DTD�� Ȯ���� �� �ִ� ����� �����Ѵ�. SMIL ������ �̰��� �������� �ʱ� ������ �����ڴ� SMIL�� �̷��� Ư¡�� ����ؼ��� �ȵȴ�.

SMIL���� ������ �������� �ʴ�:

<!DOCTYPE smil PUBLIC "-//W3C//DTD SMIL 1.0//EN"
               "http://www.w3.org/TR/REC-smil/SMIL10.dtd" [
<!ENTITY % AcmeCorpSymbols PUBLIC
     "-//Acme Corp//ENTITIES Corporate Symbols//EN"
     "http://www.acme.com/corp_symbols.xml"
>
%AcmeCorpSymbols;
]>

5.2 DTD

<!--

    �̰��� SMIL 1.0�� ���� XML ����������(DTD)�̴�.

    Date: 1998/06/15 08:56:30

    Authors: 
        Jacco van Ossenbruggen <jrvosse@cwi.nl> 
        Sjoerd Mullender       <sjoerd@cwi.nl>
        
    SMIL�� ���� �� ���� ������ ������ �ִ�:

          http://www.w3.org/AudioVideo/

-->

<!-- �Ϲ������� ������ ����Ƽ�� -->
<!ENTITY % id-attr "id ID #IMPLIED">
<!ENTITY % title-attr "title CDATA #IMPLIED">
<!ENTITY % skip-attr "skip-content (true|false) 'true'">
<!ENTITY % desc-attr "
        %title-attr;
        abstract        CDATA   #IMPLIED
        author          CDATA   #IMPLIED
        copyright       CDATA   #IMPLIED
">

<!--=================== SMIL ���� =====================================-->
<!-- ��Ʈ ������Ʈ SMIL�� �ٸ� ��� ������Ʈ�� �����Ѵ�.
-->
<!ELEMENT smil (head?,body?)>
<!ATTLIST smil
        %id-attr;
>

<!--=================== ���� �Ӹ��� =================================-->
<!ENTITY % layout-section "layout|switch">

<!ENTITY % head-element "(meta*,((%layout-section;), meta*))?">

<!ELEMENT head %head-element;>
<!ATTLIST head %id-attr;>


<!--=================== Layout ������Ʈ ====================================-->
<!--
     Layout�� smil-basic-layout �Ǵ� �ܺ� ��ġ ����� �����ϴ� �ٸ� ������Ʈ��
     ���� ���ǵ� region�� root-layout�� �����Ѵ�.
-->
<!ELEMENT layout ANY>
<!ATTLIST layout
        %id-attr;
        type CDATA      "text/smil-basic-layout"
>


<!--=================== Region ������Ʈ ===================================-->
<!ENTITY % viewport-attrs "
        height              CDATA    #IMPLIED
        width               CDATA    #IMPLIED
        background-color    CDATA    #IMPLIED
">

<!ELEMENT region EMPTY>
<!ATTLIST region
        %id-attr;
        %title-attr;
        %viewport-attrs;
        left                CDATA    "0"
        top                 CDATA    "0"
        z-index             CDATA    "0"
        fit                 (hidden|fill|meet|scroll|slice)    "hidden"
        %skip-attr;
>

<!--=================== Root-layout ������Ʈ ================================-->
<!ELEMENT root-layout EMPTY>
<!ATTLIST root-layout
        %id-attr;
        %title-attr;
        %viewport-attrs;
        %skip-attr;
>


<!--=================== Meta ������Ʈ =======================================-->
<!ELEMENT meta EMPTY>
<!ATTLIST meta
        name    NMTOKEN #REQUIRED
        content CDATA   #REQUIRED
        %skip-attr;
>

<!--=================== ���� ���� =================================-->
<!ENTITY % media-object "audio|video|text|img|animation|textstream|ref">
<!ENTITY % schedule "par|seq|(%media-object;)">
<!ENTITY % inline-link "a">
<!ENTITY % assoc-link "anchor">
<!ENTITY % link "%inline-link;">
<!ENTITY % container-content "(%schedule;)|switch|(%link;)">
<!ENTITY % body-content "(%container-content;)">

<!ELEMENT body (%body-content;)*>
<!ATTLIST body %id-attr;>

<!--=================== ����ȭ ��Ʈ����Ʈ ========================-->
<!ENTITY % sync-attributes "
        begin   CDATA   #IMPLIED
        end     CDATA   #IMPLIED
">

<!--=================== ��ȯ ���� ��Ʈ����Ʈ =======================-->
<!ENTITY % system-attribute "
        system-bitrate             CDATA                #IMPLIED
        system-language            CDATA                #IMPLIED
        system-required            NMTOKEN              #IMPLIED
        system-screen-size         CDATA                #IMPLIED
        system-screen-depth        CDATA                #IMPLIED
        system-captions            (on|off)             #IMPLIED
        system-overdub-or-caption  (caption|overdub)    #IMPLIED
">

<!--=================== ä��� ��Ʈ����Ʈ ====================================-->
<!ENTITY % fill-attribute "
        fill    (remove|freeze)    'remove'
">


<!--=================== ���� ������Ʈ ==============================-->
<!ENTITY % par-content "%container-content;">
<!ELEMENT par    (%par-content;)*>
<!ATTLIST par
        %id-attr;
        %desc-attr;
        endsync CDATA           "last"
        dur     CDATA           #IMPLIED
        repeat  CDATA           "1"
        region  IDREF           #IMPLIED
        %sync-attributes;
        %system-attribute;
>

<!--=================== ���� ������Ʈ ============================-->
<!ENTITY % seq-content "%container-content;">
<!ELEMENT seq    (%seq-content;)*>
<!ATTLIST seq
        %id-attr;
        %desc-attr;
        dur     CDATA           #IMPLIED
        repeat  CDATA           "1"
        region  IDREF           #IMPLIED
        %sync-attributes;
        %system-attribute;
>

<!--=================== ��ȯ ������Ʈ ================================-->
<!-- head���� switch�� layout ���Ҹ��� ������ �� �ְ�, body������
        container ������Ʈ���� ������ �� �ִ�. �׷��� �� ������ DTD(?)����
        ǥ���� �� �����Ƿ� ������ ��� ����Ѵ�:
-->
<!ENTITY % switch-content "layout|(%container-content;)">
<!ELEMENT switch (%switch-content;)*>
<!ATTLIST switch
        %id-attr;
        %title-attr;
>

<!--=================== ��ü ��ü ������Ʈ =============================-->
<!-- SMIL�� ������ �����Ѵ�. ���� ��ü ��ü�� ��ü ��ü�� src ��Ʈ����Ʈ��
        �����Ѵ�.
-->

<!-- ���Ҿ�, SMIL �������� ���ǵ� ������ ���� ��Ʈ����Ʈ�� ���´�:
-->
<!ENTITY % mo-attributes "
        %id-attr;
        %desc-attr;
        region     IDREF           #IMPLIED
        alt        CDATA           #IMPLIED
        longdesc   CDATA           #IMPLIED
        src        CDATA           #IMPLIED
        type       CDATA           #IMPLIED
        dur        CDATA           #IMPLIED
        repeat     CDATA           '1'
        %fill-attribute;
        %sync-attributes;
        %system-attribute;
">

<!--
     ��κ��� ������ ��Ʈ����Ʈ�� �ְ�, ��ü ��ü�� �� �����̰ų� ������ link
     ������Ʈ�� �����Ѵ�:
-->
<!ENTITY % mo-content "(%assoc-link;)*">
<!ENTITY % clip-attrs "
        clip-begin      CDATA   #IMPLIED
        clip-end        CDATA   #IMPLIED
">

<!ELEMENT ref           %mo-content;>
<!ELEMENT audio         %mo-content;>
<!ELEMENT img           %mo-content;>
<!ELEMENT video         %mo-content;>
<!ELEMENT text          %mo-content;>
<!ELEMENT textstream    %mo-content;>
<!ELEMENT animation     %mo-content;>

<!ATTLIST ref           %mo-attributes; %clip-attrs;>
<!ATTLIST audio         %mo-attributes; %clip-attrs;>
<!ATTLIST video         %mo-attributes; %clip-attrs;>
<!ATTLIST animation     %mo-attributes; %clip-attrs;>
<!ATTLIST textstream    %mo-attributes; %clip-attrs;>
<!ATTLIST text          %mo-attributes;>
<!ATTLIST img           %mo-attributes;>

<!--=================== ���� ������Ʈ =====================================-->

<!ENTITY % smil-link-attributes "
        %id-attr;
        %title-attr;
        href            CDATA                   #REQUIRED
        show            (replace|new|pause)     'replace'
">


<!--=================== �ζ��� ���� ������Ʈ ===============================-->
<!ELEMENT a (%schedule;|switch)*>
<!ATTLIST a
        %smil-link-attributes;
>


<!--=================== ������ ���� ������Ʈ ===========================-->
<!ELEMENT anchor EMPTY>
<!ATTLIST anchor
        %skip-attr;
        %smil-link-attributes;
        %sync-attributes;
        coords          CDATA                   #IMPLIED
>

����

[CSS2]
"Cascading Style Sheets, level 2", B. Bos, H. Lie, C. Lilley, I. Jacobs, 12 May 1998.
http://www.w3.org/TR/REC-CSS2/ ���� ���� �� �ִ�.
[HTML40]
"HTML 4.0 Specification", D. Raggett, A. Le Hors, I. Jacobs, 24 April 1998.
http://www.w3.org/TR/REC-html40 ���� ���� �� �ִ�.
[ISO/IEC 10646]
ISO (International Organization for Standardization). ISO/IEC 10646-1993 (E). Information technology -- Universal Multiple-Octet Coded Character Set (UCS) -- Part 1: Architecture and Basic Multilingual Plane. [Geneva]: International Organization for Standardization, 1993 (plus amendments AM 1 through AM 7).
[NAMESPACES]
"Namespaces in XML", T. Bray, D. Hollander, A. Layman, 27 March 1998
W3C working draft. http://www.w3.org/TR/WD-xml-names���� ���� �� �ִ�.
[PICS]
"PICS 1.1 Label Distribution -- Label Syntax and Communication Protocols", 31 October 1996, T. Krauskopf, J. Miller, P. Resnick, W. Trees
http://www.w3.org/TR/REC-PICS-labels-961031���� ���� �� �ִ�.
[RFC1738]
"Uniform Resource Locators", T. Berners-Lee, L. Masinter, and M. McCahill, December 1994.
ftp://ftp.isi.edu/in-notes/rfc1738.txt���� ���� �� �ִ�.
[RFC1766]
"Tags for the Identification of Languages", H. Alvestrand, March 1995.
ftp://ftp.isi.edu/in-notes/rfc1766.txt���� ���� �� �ִ�.
[RFC1808]
"Relative Uniform Resource Locators", R. Fielding, June 1995.
ftp://ftp.isi.edu/in-notes/rfc1808.txt���� ���� �� �ִ�.
[RFC2045]
"Multipurpose Internet Mail Extensions (MIME) Part One: Format of Internet Message Bodies", N. Freed and N. Borenstein, November 1996.
ftp://ftp.isi.edu/in-notes/rfc2045.txt���� ���� �� �ִ�. �� RFC�� RFC1521, RFC1522 �׸��� RFC1590�� ����Ѵ�.
[SMPTE]
"Time and Control Codes for 24, 25 or 30 Frame-Per-Second Motion-Picture Systems - RP 136-1995".  Society of Motion Picture & Television Engineers.
[URI]
"Uniform Resource Identifiers (URI): Generic Syntax and Semantics", T. Berners-Lee, R. Fielding, L. Masinter, 4 March 1998.
http://www.ics.uci.edu/pub/ietf/uri/draft-fielding-uri-syntax-02.txt���� ���� �� �ִ�. �� �۾��� �������̸�, [RFC1738]�� [RFC1808]�� ������ ������ ����ȴ�.
[XML10]
"Extensible Markup Language (XML) 1.0", T. Bray, J. Paoli, C.M. Sperberg-McQueen, editors, 10 February 1998.
http://www.w3.org/TR/REC-xml���� ���� �� �ִ�.

SMIL 1.0 Ȯ��

(��Թ�)

���Ŀ� SMIL 1.0�� �ٸ� 3WC �ǰ��� �Ǵ� ������ Ȯ�忡 ���� Ȯ��� �� �ִ�.

�̷��� Ȯ���� ����, ������ ��Ģ�� �ؼ��� ���� ��õ�Ѵ�:

  • Ȯ�忡�� ���Ե� ��� ������Ʈ�� �װ��� ������ SMIL 1.0 ����Ⱑ ó���� ���ɼ��� �ִٸ�, �ݵ�� "skip-content" ��Ʈ����Ʈ(3.3.1���� ���ǵ�)�� ������ �Ѵ�.
  • �������� Ȯ���� XML namespace �������� ������ ����Ͽ� �����ؾ� �Ѵ�.

SMIL 1.0 ����Ⱑ �� �� ��Ģ�� �ؼ��ϴ� Ȯ���� ������ ������ �ٷ� �� �ֵ��� �غ��� ���� �ǰ��Ѵ�.

Ȯ����, �ϴ� �׷��� ����� W3C �ǰ����� �Ǹ�, XML namespace ����� ����Ͽ� �ٷ��� �Ѵ�. ������ ������, W3C ��Ʈ[NAMESPACE]�� ���ǵ� XML namespace�� ���� ������ �ǹ̴� ���� ���ø� ���� �������θ� ���� ���̴�.

������ ���� ��찡 �Ͼ �� �ִ�:

  1. ������ �� ���λ縦 �����ϴ� SMIL 1.0 �������� ���� namespace ������ �����ϰ� �ִ�. �̷��� ���, �� SMIL 1.0 ������Ʈ�� ��Ʈ����Ʈ�� �װ͵��� XML namespace�� ����Ͽ� ����� ��쿡�� ������ ���ȴ�. ������ SMIL 1.0�� ���� ������������ �������� ���� ���� �ִ�. ���� �׷��ٸ�, �װ��� ��ȿ���� �ʴ�.
    ������ ������, ������Ʈ "new:a"�� ������ Ȯ���̴�. ������Ʈ "mytags:a"�� "b"�� XML namespace�� ����Ͽ� ������� �ʾ����Ƿ� ���� �����̴�.
    <?xml:namespace ns="http://www.acme.com/new-smil" prefix="new" ?>
    <?xml:namespace ns="http://www.w3.org/TR/PR-smil" ?>
    <smil>
      <body>
        <par>
          <new:a>
          ...
          </new:a>
          <mytags:a ... />
            ...
          </mytags:a>
          <b>
           ...
          </b>
        </par>
       </body>
     </smil>
    
  2. ������ � ���������� �������� �ʰ�, 1.0 �̻��� SMIL �ǿ� ���� ���������� �Ǵ� 1.0 �̻��� SMIL �������� ���� namespace ������ �����ϰ� �ִ�. �׷��� namespace ������ ������ �� �ִ� SMIL 1.0 ������� ���ؼ���, ���� SMIL ���� URI�� http://www.w3.org/TR/REC-smil�� �����ϰ�, ���� ���, �� ��ȣ�� �� �� �ִ� �� ���ڰ� ���� �ٵ��� �ǰ��Ѵ�.
    �̷��� ���, SMIL 1.0 ������ �װ��� 1.0 �̻��� �� ��ȣ�� ���� SMIL ������ ó���ϰ� �ִٰ� �����ؾ� �Ѵ�.
    ������ ���� ��찡 �Ͼ �� �ִ�:
    �� �� ���� ������Ʈ
    �� �� ���� ������Ʈ�� �����Ѵ�.
    �� �� ���� ������Ʈ�� SMIL 1.0 ������Ʈ�� �̷���� ������ ������ �� �ִ�. �׷��� ������ �����ϰų� ó���ϴ� ���� "skip-content" ��Ʈ����Ʈ�� ���� �޷��ִ�. ���� ��Ʈ����Ʈ�� "true"�� �����Ǿ� �ְų�, ��Ʈ����Ʈ�� ���ٸ� ������ ó������ �ʴ´�. ���� "false"�� �����Ǿ� �ִٸ�, ������ ó���Ѵ�.
    "Empty"�� ����� ������Ʈ�� ����
    ���� ���� SMIL�� SMIL 1.0���� "empty"�� ����� ������Ʈ�� ������ ���� �� �ֵ��� �� �� �ִ�.
    �� ������ �����ϰų� ó���ϴ� ���� �������� empty���� ������Ʈ�� "skip-content" ��Ʈ����Ʈ ���� �޷��ִ�. ���� "false"�� �����Ǿ��ٸ�, ������ ó���Ѵ�.
    �� �� ���� ��Ʈ����Ʈ
    �� �� ���� ��Ʈ����Ʈ�� �����Ѵ�.
    �� �� ���� ��Ʈ����Ʈ ��
    �� �� ���� ��Ʈ����Ʈ ���� ���� ��Ʈ����Ʈ�� �����Ѵ�.
  3. ������ SMIL 1.0�� ���� ������������ �����ϰ� �ִ�. �̷��� ���, XML namespace ������ �̿��Ͽ����� � ��-SMIL 1.0 ������Ʈ�� �������� ���� �� �ִ�. �̰��� �׷��� Ȯ���� ������ ��ȿ���� �ʵ��� �ϱ� �����̴�.

Ȯ�����μ� SMIL 1.0�� ���

XML namespace ����� SMIL ������Ʈ�� ��Ʈ����Ʈ�� �ٸ� XML ����� ������ �����ϱ� ���� ����� ��, ������ ���� namespace �ĺ��ڸ� ����� ���� �ǰ��Ѵ�: http://www.w3.org/TR/REC-smil

��

��
All contents copyright © Los Angeles Chinese Learning Center, unless otherwise noted. Website Hosting and Marketing