<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<?xml-stylesheet href="/wikid/docs/xsl/mwCollections/CollectionWikiPages/display.xsl" type="text/xsl"?>

<!--
This resource container holds the product of the resolution request
-->
<resource xmlns:config="info:sid/localhost:CollectionSimpleSchemas:config" xmlns:explain="http://explain.z3950.org/dtd/2.0/" xmlns:srw="http://www.loc.gov/zing/srw/" xmlns:wiki="info:sid/localhost:CollectionSimpleSchemas:wiki" xmlns:wr="http://errol.oclc.org/oai:xmlregistry.oclc.org:errol/WikiRepository" xmlns:xlink="http://www.w3.org/TR/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<!--
This is an echo of the request information this stylesheet used to produce the resolution product
-->
<uri-context>
<srwIdentifier>info:sid/localhost:CollectionWikiPages:TextFormattingExamples</srwIdentifier>
<collectionURI>info:sid/localhost:CollectionWikiPages</collectionURI>
<repository-identifier>CollectionWikiPages</repository-identifier>
<srwURL>http://alcme.oclc.org:80/wikid/search/WikiDb.localhost</srwURL>
<local-identifier>TextFormattingExamples</local-identifier>
<action>display</action>
</uri-context>
<!--
This is the collection configuration record
-->
<record xmlns="info:sid/localhost:CollectionSimpleSchemas:config" xsi:schemaLocation="info:sid/localhost:CollectionSimpleSchemas:config http://alcme.oclc.org/metawiki/raw/info:sid/localhost:CollectionSimpleSchemas:config.xsd">
<repositoryName>Wiki Pages</repositoryName>
<localIdentifierType>userAssigned</localIdentifierType>
<adminEmail>mailto:jyoung@oclc.org</adminEmail>
<defaultXSL>no</defaultXSL>
<schemaURI recordPrefix="wiki">info:sid/localhost:CollectionSimpleSchemas:wiki</schemaURI>
<crosswalkSchemaURI recordPrefix="xhtml">info:sid/localhost:CollectionExternalSchemas:xhtml</crosswalkSchemaURI>
<defaultSchemaURI>info:sid/localhost:CollectionExternalSchemas:xhtml</defaultSchemaURI>
</record>
<!--
There is a local-identifier, so this URI must identify an item in a collection
-->
<!--
This is the searchRetrieveResponse for the item's Deposit record
-->
<content>
<searchRetrieveResponse xmlns="http://www.loc.gov/zing/srw/">
<version>1.1</version>
<numberOfRecords>1</numberOfRecords>
<resultSetId>0fdw0c</resultSetId>
<resultSetIdleTime>300</resultSetIdleTime>
<records xmlns:ns1="http://www.loc.gov/zing/srw/">
<record>
<recordSchema>http://www.oclc.org/schemas/WikiRepository</recordSchema>
<recordPacking>xml</recordPacking>
<recordData>
<wr:Deposit xmlns="http://www.w3.org/TR/xhtml1/strict">
<wr:browserPath>http://alcme.oclc.org:80/wikid/docs/WikiRepository</wr:browserPath>
<wr:refID>info:sid/localhost:CollectionWikiPages:TextFormattingExamples</wr:refID>
<wr:refIDPrefix/>
<wr:userName>SomeBody</wr:userName>
<wr:collection>CollectionWikiPages</wr:collection>
<wr:relativePath>2005/05/27/21</wr:relativePath>
<wr:fullRefID>inf_3asid_2flocalhost_3aCollectionWikiPages_3aTextFormattingExamples_5f20050527212057519</wr:fullRefID>
<wr:mimeType>text/xml</wr:mimeType>
<wr:sort>TextFormattingExamples</wr:sort>
<wr:dateCreated>2005-05-27</wr:dateCreated>
<wr:datestamp>2005-05-27</wr:datestamp>
<wr:oldDate/>
</wr:Deposit>
</recordData>
<recordPosition>1</recordPosition>
</record>
</records>
<echoedSearchRetrieveRequest xmlns:ns2="http://www.loc.gov/zing/srw/">
<version>1.1</version>
<query>repos.hasDate = "hasdate" and oai.identifier exact "info:sid/localhost:CollectionWikiPages:TextFormattingExamples"</query>
<xQuery>
<ns3:searchClause xmlns:ns3="http://www.loc.gov/zing/cql/xcql/">
<ns3:index>cql.any</ns3:index>
<ns3:relation>
<ns3:value>=</ns3:value>
</ns3:relation>
<ns3:term>huh?</ns3:term>
</ns3:searchClause>
</xQuery>
<startRecord>1</startRecord>
<maximumRecords>1</maximumRecords>
<recordPacking>xml</recordPacking>
<recordSchema>default</recordSchema>
</echoedSearchRetrieveRequest>
</searchRetrieveResponse>
<!--
This is the datestamp for the Deposit
-->
<datestamp>2005-05-27</datestamp>
<!--
This is the URL for the content
-->
<contentURL>http://alcme.oclc.org:80/wikid/docs/WikiRepository/2005/05/27/21/inf_3asid_2flocalhost_3aCollectionWikiPages_3aTextFormattingExamples_5f20050527212057519</contentURL>
<!--
Here is the record content
-->
<record>
<record xmlns="info:sid/localhost:CollectionSimpleSchemas:wiki" xsi:schemaLocation="info:sid/localhost:CollectionSimpleSchemas:wiki http://alcme.oclc.org/metawiki/raw/info:sid/localhost:CollectionSimpleSchemas:wiki.xsd">
<raw>This page was copied from http://c2.com/cgi/wiki?TextFormattingExamples to further exercise the MetaWikiParser.
----
Click on Edit''''''Text (it's ok to try, really! :) to see the formatting stuff, but please don't change the page - use WikiWikiSandbox for testing these rules.
----
'''Bold text''' - ''three single quotes'' not 'just two'

''en italique''
'' vraiment en italique - Michel Caillat''

''two single quotes'', not "double quotes"

one quote  
----
'Quoted'
'Simple quote'

''Double Quoted''
" Double quote"
----

''two single quotes''  

''''' now two single quotes followed by three single quotes (total of 5)'''''

'''Bold text''' -- '''three single quotes'''

'''''Bold italic text''''' -- two plus three single quotes
''''''Quoted bold italic maybe?''''''

----
''two quotes -- Italic'' 2 plus

'''three quotes -- BOLD''' 3 equals

'''''Italic Bold''''' 5

''''Trying four quotes''''

'''''''''''''Trying many quotes'''''''''''''

'''WikiWikiWeb'''
WikiWiki''''''Web
''''''''WikiWikiWeb''''''''

Note that "mind your ''p'''s
and ''q'''s" is awkward to produce.
----
SixSingleQuotes: Six''''''Single''''''Quotes or S''''''ixSingleQuotes

 monospace preformatted stuff begins with a space

Hello
 Hello '''Again'''

Link to FrontPage 

Horizontal line with front space:

 ---------
Horizontal lines without front space:

----
---------
	
* An unnumbered list begins with an asterisk.
* A list member
 
	1. A numbered list, which starts with a tab and any digit, is automatically numbered.
	0  It is also called an ordered list.

	* The various kinds of lists can be nested by using extra tabs.
	2. Also this way:
		1. Nested
		2. Nested too
		3. Yet one more
		4. And another one  
		5. This is not another one

	* Also the other way round:
		1. Item 1
		1. ''Item 2''
		3. 3 metI

	* And like this.
		* Nested item.
			* Even more nested item.
				* Even more nested item. Although it becomes hard to edit.
			* I've flown the coop!

	term:		definition  -- formed with Tab-Stuff-Colon-Tab
	another term:	and its buddy definition

	 :	This is a block quote. It looks like &lt;TAB&gt;&lt;SPACE&gt;:&lt;TAB&gt;text. This is because it really is a term: definition block with the term being a &lt;SPACE&gt;.

Image in this Wiki (just the URL to the image file): 

http://www.c2.com/c2.gif

----
&lt;TAB&gt;&lt;SPACE&gt;:&lt;TAB&gt;text also seems to be the best format for poems (copy-and-paste from GreatPoemsList):

'''William Shakespeare''', ''The Tempest'' act IV scene 1.

Edit (but don't change, please) this page to see the formatting stuff.

----
'single quote'
"double quote"
'''3 single quotes'''
----
ConvertSpacesToTabsNotForCode moved
----
For English.:click OfficeUk

For Dutch...:click OfficeNl

For French..:click OfficeFr

For German..:click OfficeDe

How to make sure the semicolons align one under the other ?
----
If you indent your paragraph, it will be monospaced and won't line-wrap. This is a very common mistake, but trying to rectify it by inserting new lines into the paragraph doesn't work.

Example:
 Our revels now are ended. These our actors,
 As I foretold you, were all spirits and
 Are melted into air, into thin air:
 And, like the baseless fabric of this vision,
 
 The cloud-capp'd towers, the gorgeous palaces,
 The solemn temples, the great globe itself,
 Ye all which it inherit, shall dissolve
 And, like this insubstantial pageant faded,
 Leave not a rack behind. We are such stuff
 As dreams are made on, and our little life
 Is rounded with a sheep.
----
See also TipForTypingTab
----
CategoryWikiEditing</raw>
</record>
</record>
</content>
<displayContent>
<html xmlns="http://www.w3.org/1999/xhtml">
<body>This page was copied from <a href="http://c2.com/cgi/wiki?TextFormattingExamples">http://c2.com/cgi/wiki?TextFormattingExamples</a> to further exercise the <a href="MetaWikiParser">MetaWikiParser</a>.
<hr />
Click on EditText (it's ok to try, really! :) to see the formatting stuff, but please don't change the page - use <a href="WikiWikiSandbox">WikiWikiSandbox</a> for testing these rules.
<hr />
<strong>Bold text</strong> - <em>three single quotes</em> not 'just two'<p></p>
<em>en italique</em>
<em> vraiment en italique - Michel Caillat</em><p></p>
<em>two single quotes</em>, not &quot;double quotes&quot;<p></p>
one quote  
<hr />
'Quoted'
'Simple quote'<p></p>
<em>Double Quoted</em>
&quot; Double quote&quot;
<hr /><p></p>
<em>two single quotes</em>  <p></p>
<strong><em> now two single quotes followed by three single quotes (total of 5)</em></strong><p></p>
<strong>Bold text</strong> -- <strong>three single quotes</strong><p></p>
<strong><em>Bold italic text</em></strong> -- two plus three single quotes
Quoted bold italic maybe?<p></p>
<hr />
<em>two quotes -- Italic</em> 2 plus<p></p>
<strong>three quotes -- BOLD</strong> 3 equals<p></p>
<strong><em>Italic Bold</em></strong> 5<p></p>
<strong>'Trying four quotes</strong>'<p></p>
'Trying many quotes'<p></p>
<strong><a href="WikiWikiWeb">WikiWikiWeb</a></strong>
<a href="WikiWiki">WikiWiki</a>Web
<em><a href="WikiWikiWeb">WikiWikiWeb</a></em><p></p>
Note that &quot;mind your <em>p</em>'s
and <em>q</em>'s&quot; is awkward to produce.
<hr />
<a href="SixSingleQuotes">SixSingleQuotes</a>: SixSingleQuotes or SixSingleQuotes<p></p>
<pre>
 monospace preformatted stuff begins with a space</pre>
<p></p>
Hello
<pre>
 Hello </pre>
<strong>Again</strong><p></p>
Link to <a href="FrontPage">FrontPage</a> <p></p>
Horizontal line with front space:<p></p>
<pre>
 ---------</pre>

Horizontal lines without front space:<p></p>
<hr />
<hr /><p></p>
<ul>
<li> An unnumbered list begins with an asterisk.</li>
<li> A list member</li>
</ul>
<p></p>
<ol>
<li> A numbered list, which starts with a tab and any digit, is automatically numbered.</li>
<li>  It is also called an ordered list.</li>
</ol>
<p></p>
<ul>
<li> The various kinds of lists can be nested by using extra tabs.</li>
</ul>

<ol>
<li> Also this way:
<ol>
<li> Nested</li>
<li> Nested too</li>
<li> Yet one more</li>
<li> And another one  </li>
<li> This is not another one</li>
</ol>
</li>
</ol>
<p></p>
<ul>
<li> Also the other way round:
<ol>
<li> Item 1</li>
<li> <em>Item 2</em></li>
<li> 3 metI</li>
</ol>
</li>
</ul>
<p></p>
<ul>
<li> And like this.
<ul>
<li> Nested item.
<ul>
<li> Even more nested item.
<ul>
<li> Even more nested item. Although it becomes hard to edit.</li>
</ul>
</li>
<li> I've flown the coop!</li>
</ul>
</li>
</ul>
</li>
</ul>
<p></p>
<dl>
<dt>term</dt><dd>	definition  -- formed with Tab-Stuff-Colon-Tab</dd>
<dt>another term</dt><dd>and its buddy definition</dd>
</dl>
<p></p>
<dl>
<dt> </dt><dd>This is a block quote. It looks like &lt;TAB&gt;&lt;SPACE&gt;:&lt;TAB&gt;text. This is because it really is a term: definition block with the term being a &lt;SPACE&gt;.</dd>
</dl>
<p></p>
Image in this Wiki (just the URL to the image file): <p></p>
<img src="http://www.c2.com/c2.gif" /><p></p>
<hr />
&lt;TAB&gt;&lt;SPACE&gt;:&lt;TAB&gt;text also seems to be the best format for poems (copy-and-paste from <a href="GreatPoemsList">GreatPoemsList</a>):<p></p>
<strong>William Shakespeare</strong>, <em>The Tempest</em> act IV scene 1.<p></p>
Edit (but don't change, please) this page to see the formatting stuff.<p></p>
<hr />
'single quote'
&quot;double quote&quot;
<strong>3 single quotes</strong>
<hr />
<a href="ConvertSpacesToTabsNotForCode">ConvertSpacesToTabsNotForCode</a> moved
<hr />
For English.:click <a href="OfficeUk">OfficeUk</a><p></p>
For Dutch...:click <a href="OfficeNl">OfficeNl</a><p></p>
For French..:click <a href="OfficeFr">OfficeFr</a><p></p>
For German..:click <a href="OfficeDe">OfficeDe</a><p></p>
How to make sure the semicolons align one under the other ?
<hr />
If you indent your paragraph, it will be monospaced and won't line-wrap. This is a very common mistake, but trying to rectify it by inserting new lines into the paragraph doesn't work.<p></p>
Example:
<pre>
 Our revels now are ended. These our actors,
 As I foretold you, were all spirits and
 Are melted into air, into thin air:
 And, like the baseless fabric of this vision,</pre>
<p></p>
<pre>
 The cloud-capp'd towers, the gorgeous palaces,
 The solemn temples, the great globe itself,
 Ye all which it inherit, shall dissolve
 And, like this insubstantial pageant faded,
 Leave not a rack behind. We are such stuff
 As dreams are made on, and our little life
 Is rounded with a sheep.</pre>

<hr />
See also <a href="TipForTypingTab">TipForTypingTab</a>
<hr />
<a href="CategoryWikiEditing">CategoryWikiEditing</a></body>
</html>
</displayContent>
</resource>
