<?xml version="1.0" encoding="ISO-8859-1"?>
<?xml-stylesheet type="text/xsl" href="template.xsl"?>

<!-- Article meta information:
		title = Title of this article.
		series = Name of the overall series.
		series-url = URL for series index.
		footer-text = Lead-in text for series URL at bottom
		series-url-desc = Descriptive text for series URL <a> -->
<article 
	title="A Sample Article"	
	series="Testing it Out"
	series-url="http://boodebr.org/series/myoml"	
	footer-text="Looking for the series index?"	
	series-url-desc="The main MYOML page"
	>

	<section>
		<text>
		This section doesn't have a title, so it just gets a horizontal
		line at the top.
		<p/>
		Now its time to add some titles to our containers.
		First, a code sample without a title:
			<code>
Here is a block of code.
Note that it has to be left-justified
since it will become a preformatted
section in the HTML file.</code>

		And now, with a title:
		
			<code title="Code Sample">
Here is a block of code.
Note that it has to be left-justified
since it will become a preformatted
section in the HTML file.</code>
		
		The benefit of placing the title and content inside of
		a container is that the spacing works the same regardless
		of whether or not you have a title. If the title and
		content were stand-alone entities, then the spacing
		would change.
		
		</text>
	</section>

	<section title="Section 2">	
		<text>
		Here is a new section. It has a title "Section 2".
		<p/>
		Here comes an inline code sample: <c>from parser import XML_parser</c>
		<p/>
		
		Finally, let's try out some text styles: <b>bold</b>, 
		<i>italic</i>, <b><i>bold+italic</i></b>, 
		<tt>fixed font</tt>, <tt><i>fixed-font italic</i></tt>, 
		<tt><i><b>fixed-font italic+bold</b></i></tt>.
		<p/>
		The above text shows the importance of the 
		<c>xsl:apply-templates</c> function.
		Without this, the <c>b</c>, <c>i</c>, and <c>tt</c> would not 
		automatically nest, and you'd only see the effect of the outermost tag.
		</text>
	</section>

	<section title="Section 3 - Other HTML tags">
		<text>
			Here is a link to <a href="http://www.python.org">python.org</a>
			<p/>
			Here is a list of fruits, unordered:
			<ul>
			<li>Apple</li>
			<li>Orange</li>
			<li>Banana</li>
			</ul>
			And as an ordered list:
			<ol>
			<li>Apple</li>
			<li>Orange</li>
			<li>Banana</li>
			</ol>

			Here is a note box:
			
			<note title="Important Note">
			Here is an important note about nothing. Here is some more text
			to fill the box up and make it wordwrap.
			<p/>
			Here is a second paragraph in the box.				
			</note>

			And now a warning box:
			
			<warn>
			Here is an important warning about nothing. Here is some more text
			to fill the box up and make it wordwrap.
			<p/>
			Here is a second paragraph in the box.				
			</warn>
			
		</text>
	</section>
</article>


