← Prev in month ← Prev in thread
Next in thread → Next in month →

Re: [dita-lightweight-dita] Groups - Draft DTDs for lightweight DITA (without HTML5 specializations) uploaded

From
Don R. Day <>
Date
2014-11-05T06:37:24+00:00
ID
Thread
Re: [dita-lightweight-dita] Groups - Draft DTDs for lightweight DITA (without HTML5 specializations) uploaded
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE topic PUBLIC "-//OASIS//DTD LW DITA Topic//EN"
 "topic.dtd">
<topic id="abc123">
<title>A Minimal Lightweight Topic</title>
<shortdesc>Even minimal topics should contain a shortdesc. Everybody has one. Don't you?</shortdesc>
<body>
<p>As we get into more extensive description, a topic accretes paragraphs and stuff like highlight phrases: <b>bold</b>, <i>italic</i>, <u>underscore</u>, and more.</p>
<p>Here is an object element, not fully fleshed out yet. What would represent a minimal description for an ogg movie file in HTML5?</p>
<section>
<title>LW DITA version</title>
<pre>
&lt;object width="400" &gt;
	&lt;desc&gt;Your browser does not support the video tag.&lt;/desc&gt;
	&lt;param	name="src" 
		value="images/big_buck_bunny_480p_surround-fix.avi" 
		type="mp4"/&gt;
&lt;/object&gt;
</pre>
</section>
<section>
<title>HTML5 equivalent</title>
<pre>
&lt;video width="400" controls&gt;
	&lt;source src="../Content/Lightweight_DITA/images/big_buck_bunny_480p_surround-fix.avi" type="video/mp4"&gt;
	&lt;p>Your browser does not support the video tag.&lt;/p>
&lt;/video&gt;
</pre>
</section>
<section>
<title>Actual rendered example</title>
<object width="400" >
	<desc>Your browser does not support the video tag.</desc>
	<param name="src" value="images/big_buck_bunny_480p_surround-fix.avi" type="video/mp4"/>
</object>
<p>
Video courtesy of <xref scope="external" href="http://www.bigbuckbunny.org/">Big Buck Bunny</xref>.
</p>
</section>
</body>
</topic>
← Prev in month ← Prev in thread
Next in thread → Next in month →