File:  [mozdev] / celtx / www / script.html
Revision 1.4: download - view: text, annotated - select for diffs - revision graph
Tue Jun 1 18:35:00 2004 UTC (13 years, 4 months ago) by chadh
Branches: MAIN
CVS tags: HEAD
Me makinmg silly errors, requiring more minor updates to the bleedin' HTML pages.


<!-- ***************** INFO/NEWS *************** -->
<div id="infoTabs">
<div class="infoTab" id="whats-new">
<h5 class="infoHeader">End User Docs</h5>
<ul>
<li><a href="http://celtx.com/">celtx.com</a></li>
<li><a href="http://celtx.com/walkthru">Three Minute Walk-thru</a></li>
<li><a href="http://www.celtx.com/guide">Celtx User Guide</a></li>
</ul>
</div>

<div class="infoTab" id="other-stuff">
<h5 class="infoHeader">Developer Info</h5>
<ul>
<li><a href="reports.html">Creating Reports</a></li>
<li><a href="script.html">XML Script Format</a></li>
</ul>
</div>

<!-- alternative image/table base tab works better in NS4 -->
<!--
<div class="infoTab" id="whats-new-image">
<h5 class="infoHeader"><img src="http://www.mozdev.org/sharedimages/whatsnew_top.gif" width="154" alt="What's New"></h5>
<div class="infoItems">
<div>News item goes here</div>
<div>More news item goes here</div>
<div><a href="http://mozdev.org/">mozdev.org</a></div>
</div>
</div>
-->
</div>
<!-- ***************** INFO/NEWS *************** -->

<!-- MAIN CONTENT -->
<h5 class="page-header">XML Script Format</h5>
<p>A film script in celtx is stored as an XML document. The components of the script (eg. action) are stored as XML elements within the document.</p>

<p>When a script is imported, celtx attempts to convert the script to an XML document. celtx uses the script layout to match the correct XML element with the associated script text. Below is an abbreviated example of a celtx XML script.</p>

<pre>
&lt;?xml-stylesheet type="text/css" href="chrome://celtx/content/script.css"?&gt;
&lt;scriptdoc&gt;
&nbsp;&nbsp;&lt;scene ref="http://celtx.com/project/2stMhd/scene/cbVLDx"&gt;
&nbsp;&nbsp;&nbsp;&nbsp;&lt;sceneheading&gt;INT. HOUSE - BEDROOM - DAY&lt;/sceneheading&gt;
&nbsp;&nbsp;&nbsp;&nbsp;&lt;action&gt;CLOSE ON: A digital alarm clock flashing "12:00".&lt;/action&gt;
&nbsp;&nbsp;&lt;action&gt;In the bed AARON BOSTLEY, 37, sleeps soundly despite the sunlight. He stirs at the sound of a dog WHINING. A Beagle named PUDDLES jumps up and licks Aaron's face.&lt;/action&gt;
&nbsp;&nbsp;&nbsp;&nbsp;&lt;dialog&gt;
&nbsp;&nbsp;&nbsp;&nbsp;&lt;character&gt;AARON&lt;/character&gt;
&nbsp;&nbsp;&nbsp;&nbsp;&lt;dialogtext&gt;Puddles. Go to sleep. It's only...&lt;/dialogtext&gt;
&nbsp;&nbsp;&nbsp;&nbsp;&lt;/dialog&gt;
&nbsp;&nbsp;&nbsp;&nbsp;&lt;action&gt;Aaron glares at the clock.&lt;/action&gt;
&nbsp;&nbsp;&nbsp;&nbsp;&lt;dialog&gt;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;character&gt;AARON&lt;/character&gt;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;dialogtext&gt;...midnight.&lt;/dialogtext&gt;
&nbsp;&nbsp;&nbsp;&nbsp;&lt;/dialog&gt;
&nbsp;&nbsp;&nbsp;&nbsp;&lt;action&gt;He closes his eyes. After a moment, he opens them again.&lt;/action&gt;
&nbsp;&nbsp;&nbsp;&nbsp;&lt;action&gt;AARON'S POV: Sunlight streams in through the curtains.&lt;/action&gt;
&nbsp;&nbsp;&nbsp;&nbsp;&lt;action&gt;He leaps from bed! With Puddles underfoot, he runs out of the bedroom. There is a loud THUMP from somewhere in the hall.&lt;/action&gt;
&nbsp;&nbsp;&nbsp;&nbsp;&lt;dialog&gt;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;character&gt;AARON (O.S.)&lt;/character&gt;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;dialogtext&gt;Youch!&lt;/dialogtext&gt;
&nbsp;&nbsp;&nbsp;&nbsp;&lt;/dialog&gt;
&nbsp;&nbsp;&nbsp;&nbsp;&lt;/scene&gt;
&lt;/scriptdoc&gt;</pre>
<p>For more information about Celtx please visit <a href="http://www.celtx.com">www.celtx.com</a>.</p>

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>