Skip to content

Instantly share code, notes, and snippets.

View lpowers-typefi's full-sized avatar

Laura Powers lpowers-typefi

  • Typefi Systems Inc
View GitHub Profile
<content xmlns="http://www.typefi.com/ContentXML">
<section type="Chapter">
<p>Hello, World.</p>
</section>
</content>
<?xml version="1.0" encoding="UTF-8"?>
<tps:content xmlns:tps="http://www.typefi.com/ContentXML"
xmlns:xsl="http://www.w3.org/2001/XMLSchema-instance"
schemaVersion="3.1"
xsl:schemaLocation="http://www.typefi.com/ContentXML
http://www.typefi.com/TPS/content/3_1/ContentXML.xsd"
whiteSpaceMode="strict">
<tps:section type="Chapter" id="49937a1b-bbe9-4836-8651-670a164af8ee">
<tps:p type="Body">Hello, World.</tps:p>
</tps:section>
<section id="kzx38wtipd" type="Chapter">
<p type="First">
Some
<c type="Emphasis">character styled</c>
text.
</p>
<p type="Body">
Some
<style type="bold">bold</style>
text.
<section id="hivmq8kwct" whiteSpaceMode="strict">
<p>
And now for something
<s />
<style type="italic">completely</style>
<s />
different.
</p>
</section>
<section id="564qj28ppo" whiteSpaceMode="preserve">
<p>
It's
<style type="italic">just</style>
a
</p>
<p>
______ _ _ _
| ____| | | | | |
| |__ | | ___ ___| |__ __ _____ _ _ _ __ __| |
<section id="hs4fxh2eed" whiteSpaceMode="strict">
<p>
Five spaces:
<s />
<s />
<s />
<s />
<s />
</p>
<p>
<content>
<fieldSet name="Title" value="The Meaning of Life" />
<fieldSet name="Author" value="Monty Python" />
<section id="maa8dqdhry" type="Sketch">
<fieldSet name="ChapterTitle" value="The Miracle of Birth" />
<p>What is the meaning of life?</p>
</section>
</content>
<section id="p8evq3j4a3">
<p>
The famous depiction of galloping horses
<image ref="horses.png" comment="Horses" />
by using coconut shells
<image ref="coconut-shells.png" comment="Coconut shells" />
(a traditional radio-show sound effect)
<image ref="radio.png" comment="Radio" />
came about from the purely practical reason that the production
</p>
<section id="yt4580eqpf">
<p>We have ridden since the snows of winter covered this land,
through the kingdom of Mercia, through...</p>
<context type="Map">
<image ref="kingdom_of_mercia.png" />
<p>A map of the kingdoms of Mercia</p>
</context>
<p>Where'd you get the coconuts?</p>
<context type="Diagram">
<image ref="coconut-diagram.png" />
<section id="csk2w0t84t" type="Questions">
<condition type="US">
<p>Analyze this:</p>
</condition>
<condition type="UK">
<p>Analyse this:</p>
</condition>
<p>
1. What is your
<condition type="US">favorite color</condition>