<?xml version="1.0"?>
<!DOCTYPE TEI.2 SYSTEM "../dtd/jardin.dtd"[
<!NOTATION URL SYSTEM "pathname">
<!ENTITY transform.gif SYSTEM "transform.gif" NDATA URL>
<!ENTITY inverttransform.gif SYSTEM "inverttransform.gif" NDATA
URL>
]>
<TEI.2>
 <teiHeader date.created="11-11-2003">
  <fileDesc>
   <titleStmt>
    <title>Le Jardin de Fran&#x00E7;ois</title>
   </titleStmt>
   <publicationStmt>
    <pubPlace>Toronto</pubPlace> 
   </publicationStmt>
   <sourceDesc>
    <p>Authored in TEI by 
     <persName>
      <foreName>Fran&#231;ois</foreName>
      <surname>Lachance</surname>
     </persName>
    </p>
   </sourceDesc>
  </fileDesc>
 </teiHeader>

 <text>

  <group>
   <anchor id="note_group"/>

   <text>

    <front id="front1">     
     
     <div>

      <note corresp="note_group" type="BlogTEI" place="anchored">
       A blog cluster can be modelled as a group of texts. A cluster
       of blogs? Yes, like a series of notebooks. 
      </note>
            
     </div>
    
     <div type="blog">
      <head>
       <note type="blogTEI">The head of a div allows for nesting of a
	container for a figure, a container the name of the blog, a
	container for ancillary information such as links to
	statements of purpose or biographic notes.</note>

       <title><w next="MetaM" id="HyperM">HyperMnemonics</w> <c id="dash"
	exclude="plus">-</c><c exclude="dash" id="plus">+</c> <w
	 prev="HyperM" id="MetaM">MetaMimetics</w></title>

<!-- note use of w element attribute -->
<!-- to be able to reverse display of -->
<!-- HyperM and MetaM -->
<!-- the next and previous attributes on w element -->
<!--  do the trick -->

<!-- use this title for the TEIblog -->
<!-- MetaMimetics + HyperMnemonics -->

<!-- use this title for the blogTEI -->
<!-- HyperMnemonics - MetaMimetics -->
      
      </head>
      
      <note type="blogTEI">Byline is separate from head element.</note>
      <byline>

       <ref target="home">Scholar-at-large</ref>
 tackles <w>TEI</w> and <w>blogging</w></byline>
    
      <epigraph>
<!-- determine what other bibliographic information might be needed for this -->
<!-- quotation from a posting to the TEI discussion list -->
       <cit>
	<quote>[T]he TEI model of text: it is a model in which tow
	distinct structural axes -- depth and sequence -- are
	explicitly represented.</quote>
	<bibl><name>Lou Burnard</name></bibl>
       </cit>
      </epigraph>
     </div>
 
    </front>
    

    <body>
     <note type="BlogTEI">
An entry is modelled by a div element within a body element. 
A comment is modelled by a div element nested within div element of type entry. 
     </note>     
   
     <div type="entry">
      
      <head>
       
       <title>Labels, Spots &amp; Chains</title>

       <label ana="category">modeling</label>
      
       <label ana="keywords">
	<w>alternation</w>
	<w>concatenation</w>
       </label>

       <num type="accession">107</num>

       <num type="die_roll">3</num>

       <ptr targType="list" target="sig_lachance"/>
       
      </head>


      <p>
       <ref target="e105" type="jardin">Elsewhere</ref> I have suggested that        <persName><foreName>Kari</foreName>
	<surname>Kraus</surname></persName>'s musings on <ref target="kraus">accidentals and substantives</ref> led me to contemplate using an ID/IDREF mechanism to assist an XSLT transformtion in selecting which of two different characters would appear at a specific spot.  The <ref target="tei">Text Encoding Initiative</ref> Guidelines provide the author with the possibility of using the value of the "exclude" attribute on the &lt;c&gt; element (the attribute is also available for other elements). A fine mechanism for exclusive alteration. Great for providing a use case for the teaching a module of XSLT relating to the application of the xsl:if element using a test on an attribute value.</p>

      <p>When I encountered another use case, it became interesting to consider inclusive alternation as again, the appearance (or not) of the content of an element in a specific spot. I was rather pleased to be able to consider inclusive alternation in relation to position. Again the ID/IDREF mechanism assists in expressing a relation in XML markup that can then be transformed in XSLT.

       <quote>
&lt;title&gt;<lb/>
&lt;w next="MetaM" id="HyperM"&gt;HyperMnemonics&lt;/w&gt; <lb/>
...
&lt;w
	 prev="HyperM" id="MetaM"&gt;MetaMimetics&lt;/w&gt;<lb/>
&lt;/title&gt;
       </quote>
Handy for introducing the xsl:choose element with xsl:when testing on the value of "prev" and "next" attributes and supplying an xsl:otherwise option. A yen for reversals and XPATH can make an appearance in the lesson play with the use of following::sibling and preceding::sibling to accomplish some matches.</p>

      <p>
The <ref target="tei">Text Encoding Initiative</ref> Guidelines also provide for the markup of morphemes for the hypermimetic. And for the metamnemonic there is some XSLT that concatenates the content of a &lt;num&gt; element of type "accession" with the content of a &lt;label&gt; element of type "category" to create an HTML anchor element in the output (i.e. &lt;a name="#label_num"&gt;&lt;/a&gt;). 
</p>

      <p>The memory part is about getting the correct label attached to the correct spot. Imitation, like acting, is about threading labels and spots into dismantle-able chains.</p>

      </div>

     <div type="entry">

      <head>

       <title>Style Space</title>

       <label ana="category">interfaces</label>
      
       <label ana="keywords">
	<w>Cascading Style Sheets</w>
	<w>graceful degradation</w>
	<w>modularity</w>
       </label>

       <num type="accession">106</num>

       <num type="die_roll">4</num>

       <ptr targType="list" target="sig_lachance"/>

      </head>

      <p>
       Certain rendering engines in certain versions of certain
       browsers do not implement the @import mechanism available in
       Cascading Style Sheets (CSS). Given these conditions, stylists
       have some choices: 
       <list>
	<item n="1">
	 <label>Option One</label> Maintain one set of modular
	 stylesheets for all browsers whatever the implementation;
	 rely on graceful degradation. 
	</item>
	<item n="2">
	 <label>Option Two</label> Offer two sets of stylesheets: a
	 single basic all-purpose stylesheet and a more elaborate set
	 of stylesheets (built out of @import declarations); use
	 Javascript to detect browser version and determine the
	 appropriate stylesheet to serve.
	</item>
	<item n="3">
	 <label>Option Three</label> Give up styling, let user
	 preferences determine display.
	</item>
	<item n="4">
	 <label>Option Four</label> Give up styling but implement an
	 interface where a user could generate a stylesheet of their
	 own devising.
	</item>
       </list>
      </p>

      <p>
       At present, I am tending, for the Jardin project which is
       exploring content modeling of blogs via the <ref
	target="tei">Text Encoding Initiative</ref> Guidelines, to opt
       for Option One. The modularity that I have introduced into the
       CSS files relates to the background colours of the body and the
       divs of class entry. Depending upon which CSS file gets
       imported, the colours are reversed. 
      </p>

      <p>
       Option Two appears in and of itself to be lots of work for
       little return. However, the notion of browser version and
       setting detection driving a selection of a stylesheet can be
       coupled with a command to write content. A distinctive
       combination of message and style can alert or remind users of
       the control they can exert over display. Why bother? Why not
       just serve up a document with the message "best viewed with
       browser [name]"? Because that little message assumes that the
       user has not overriden the browser settings and that the
       content pusher can always control the styling. It also assumes
       that the stylist has chosen colours that work across all
       platforms, has ensured that the colours for text, background,
       links, visited links are all set (and none left to user
       discretion), has ascertained that font families and sizes are
       appropriate to a variety of screen resolutions and user
       perceptual abilities and preferences. "Best viewed" is a very
       relative designation and browser choice alone does not
       determine its measure. So why not lean towards a single
       stylesheet for all or no stylesheet at all? There is some value
       in thinking through what could be accomplished by
       browser-version dependent stylesheets. Option Two becomes
       interesting when an HTTP refresh response can situate it as an
       introductory step to Option Four. 
      </p>

      <p>
       Option Four seems to be a route that demands HTML forms,
       cookies and other fancy stuff. End state: automation, user
       stupidity. Just thinking through a possible implementation from
       the perspective of the what the user needs to know uncovers
       some very interesting assumptions. An interesting question
       arises as to where to store the generated stylesheet (server or
       client side?). A collection of generated stylesheets could
       become accessible to others through a library housed on a
       server.  For me, this space of the collection as differentiated
       from the space of the generation also lays bare some other
       assumptions. 
      </p>

      <p>
       While authoring a stylesheet there is the desire to move
       between the declarations in the stylesheet file and a rendering
       in some display. One wants to see if one is getting what one
       wants.  HTTP is stateless protocol.  Copies of the stylesheet
       and document are fetched and cached. If users know about file
       systems, they can transfer files from cache (which gets flushed
       periodically) to less transient storage. If users know about
       how to   either override stylesheet settings with their own
       stylesheet or can modify files and create their own stylesheet
       associations, then Option Four can be implemented without any
       fancy stuff. The objective of facilitating user generation of
       stylesheets can be accomplished via text files: a simple
       listing of the elements available, an example of a stylesheet
       that can be modified, and possibly a pointer to a resource for
       more information on CSS or file systems or etc. This is in the
       great tradition of the read.me file.  No magic without
       application. 
      </p>

      <p>
       Option Three is the de facto case with browsers that do not
       implement CSS. From a rendering perspective, the glory of divs
       in HTML 4.0 is in the line breaks they cause. Always useful to
       check one's HTML output with a text-only browser. Makes for
       scrolling heaven. 
      </p>

     </div>

       <div type="entry">

      <head>

      <title>Formalist Feedback</title>

       <label ana="category">interfaces</label>
      
       <label ana="keywords">
	<w>sequencing</w>
	<w>Johari Window</w>
	<name>Kari Kraus</name>
       </label>

       <num type="accession" id="e105">105</num>
       
       <num type="die_roll">5</num>
       
       <ptr targType="list" target="sig_lachance"/>

      </head>

      <p>
       <persName><foreName>Kari</foreName>
	<surname>Kraus</surname></persName> under a rubric which
       highlights the term pixel driving launched me on a meditation
       that gave me the notion of exploring the mimetic and mnemonic
       through hyperspace and metadiscourse. Kari's blog is called
       <ref target="kraus">accidentals and substantives</ref>. A
       search string with Kari's name plus the term "pixel driving"
       will turn up a path to the November 2003 entry in question.</p>

      <p>In the spirit of paying attention to detail, Kari's pixel and
       accidental musings inspired me to develop a content model that
       allows play with a single character.  A hyphen taken as a minus
       sign leads one to contemplate the possibility of a plus.</p>

      <p>For the technically-inclined: here is the XML conforming to
       the <ref target="tei">Text Encoding Initiative</ref> Guidelines:
       <quote> 
	&lt;c id="dash" exclude="plus"&gt;-&lt;/c&gt; <lb/>
	&lt;c exclude="dash" id="plus"&gt;+&lt;/c&gt; 
       </quote>
      </p>

      <p>
       The XSLT files that handles the output to HTML use a modular
       approach. A top-level xsl:include element is used to select the
       template generating the output of one or the other character in
       a given version. Both templates could be called in a given XSLT
       file to generate, for example, a header and footer which differ
       only by a dash or a plus, or a header with both versions one
       above the other (a plus followed by a dash or a dash followed
       by a plus) or a square formed by some combo (+, -) and (-,+). A
       giddy multiplication of of Cartesian take on a Johari Window.
      </p>
 
      <p>
       Suffice it for now to mention that the exclude attribute in
       <ref target="tei">TEI</ref> takes a value that is of type
       IDREF. A value of type IDREF references a value of type ID.
       Values of attributes of type ID are unique in a given document
       instance. 
      </p>
      

      <p>
       Now I find myself asking how it is that humans create unique
       identifiers on the fly to help with memory work. The third
       house on the block before the fire last May... I find myself
       asking what sequencing might have to do before, after and
       across in reading and authoring blogs. The URL to Kari's blog
       is <ref target="kraus">http://karik.wordherders.net/</ref>.
      </p>
      
      <!-- the permalink to Kari's pixel-driving entry -->
      <!--   http://karik.wordherders.net/archives/001061.html -->

      </div>


    <div type="entry">
      
      <head>

       <title>Title Tracking</title>

       <label ana="category">modeling</label>
      
       <label ana="keywords">
	<w>content model</w>
	<w>formalist feedback</w>
       </label>

       <num type="accession">104</num>
       
       <num type="die_roll">3</num>

       <ptr targType="list" target="sig_lachance"/>

      </head>


      <p><ref type="jardin" target="e103">Elsewhere</ref>, I have
       remarked that blog authors can and do play with the serial
       potential of titles to entries and how searching and ordering
       provide alternative reading paths. Part of this observation
       comes from attempting to model the content of a blog in XML
       following the Guidelines of the <ref target="tei">Text Encoding
	Initiative</ref>. The other part came from authoring in <ref
	target="tei">TEI</ref>. Both trajectories involve encounters
       with structure.</p>

      <p>I chose to model blog entries using the &lt;div&gt;
       element. The &lt;title&gt; element appears as a child of the
       &lt;head&gt; element which is itself a child of the &lt;div&gt;
       element.</p>

      <p>Other content models are possible. Common content models mean
      predictable structure and if structures are predicatble and
      common, then processing modules such as XSLT and CSS files can
      be swapped.</p>

      <p>If several blogs and authors use the same content model, it
       becomes possible to research patterns over time.  Imagine:
       author So-and-so favoured titles consisting of adverbs
       beginning with such-and-such a letter for a run of
       such-and-such a number of entries and when the author broke the
       pattern a ripple was felt in a particular cluster of blogs.  A
       dream of formalist feedback!</p>
      
     </div>

     <div type="entry">

      <head>

       <title>Entamer</title>

       <label ana="category">nomenclature</label>
      
       <label ana="keywords">
	<w>title tracking</w>
       </label>

       <num id="e103" type="accession">103</num>

       <num type="die_roll">4</num>

       <ptr targType="list" target="sig_lachance"/>

      </head>

      
      <p>I wonder about how blog authors begin to write entries. There
       are choices in opening the composition process: they might
       begin with a title or append the title afterwards. Before the
       products of composition are published, the writers could
       shuttle between title and entry and make many many changes.</p>

      <p>I am interested in this in terms of the locus of
       compositional attention. A clue to remembering what happens in
       composition is to recall the reader. In some displays, the
       reader is afforded with a list of recent entries. Such lists
       usually pick up the titles to the entries in reverse
       chronological order. An author could play with the serial
       nature of such a listing.  To embed a palindrome. To sketch a
       run through a spectrum of colours, seasons, planets. To
       establish a formalist pattern (or disrupt an established
       pattern) by an arbitrary run through a given alphabetic or
       numeric series. Such compositional behaviour could be called
       <w>title tracking</w>.</p>

      <p>In French the semantic fields of cutting a loaf of bread and
       broaching a subject intersect through the verb <w>entamer</w>.
       So easy to imagine loaf cutting as broaching. And titles as
       serrated knives.</p> 

      </div>


    <div type="entry">

      <head>
      
       <title>Die Roll</title>

       <label ana="category">user</label>
      
       <label ana="keywords">
	<w>chance</w> 
	<w>voice</w> 
	<w>volume</w>
       </label>

       <num type="accession">102</num>
       
       <num type="die_roll">6</num>
       
       <ptr targType="list" target="sig_lachance"/>

      </head>


      <p>I rolled the die before beginning to write. Given that I know
       how the transformations work to send the entry to one of six
       alternatives, there is some chance that the knowledge of
       destination would exert some influence upon the content of the
       writing. This is espcially true of the roll of the die
       indicates that the entry would land in all the HTML (1) output
       or none (6). Three voices could emerge based on the
       partitioning of the publication space. </p>

      <p>I will roll the die after the entry is written. This may lead
       me to rework content. I could want to populate all the output
       possibilities with a piece of content and the workings of
       chance may not favour the result that I seek. A game of
       variations could ensue.</p>

      <p>Interesting how voice is connected with a projection into
       space. Also interesting that the degree of volume or
       amplification is the result of the encounter between a
       resistence and a desire.</p>

     </div>


     <div type="entry">
      
      <head>

       <title>Beginning with Beta</title>

       <note type="blogTEI">
	some consideration of limiting labels or
	categories to four as a writing guide or
	impetus... constricted writing something fun based on 4
	categories - create 4 separate html files.
	Comment on the consideration that label element does
	not take "type" attribute. use ana with idref to interp
	element. Why label element? What other elements are possible
	in the head of a div?
	e.g. index?  </note>


<!-- XSLT talk -->
<!-- html fragment identifiers created from  -->
<!-- concat of label@ana='category' and num  -->

       <label ana="category">modeling</label>
<!-- The four categories are: modeling, nomenclature, interfaces, user -->
       <label ana="keywords">
	<w>beta</w> 
	<w>beginning</w>
       </label>
<!-- Number of keywords averages from one to four -->

<!-- interp element (see back) necessary because of ana attribute is declared as
       type IDREFS -->
<!-- the question arises why not have the four categories as values of
       the interp element -->


<!-- accession number serves purpose of time stamp in a blog -->

       <num type="accession">101</num>
       
<!-- cast of the die : a number for processing purposes -->
<!-- number from 1 to 6 -->
<!-- 1 goes to all four html files -->
<!-- 2 goes to one html file -->
<!-- 3 goes to second html file -->
<!-- 4 goes to third html file -->
<!-- 5 goes to fourth html file -->
<!-- 6 stays in the XML file -->

       <num type="die_roll">1</num>

       <ptr targType="list" target="sig_lachance"/>

      </head>

      <p>test entry para</p>
      <p>There is an unfolding about.</p>

<!-- Examining the blog genre, to capture and model: -->
<!-- the category [attaches to the entry] -->
<!-- the signature [name, url, email] -->
<!-- accension number - could be in the form of a date -->
<!-- accession number - one each for comment and entry -->
<!-- trackback - to entries; to comments -->
     
      <div type="comment"><p>my test comment paragraph</p>

      </div>

     </div>

    </body>
 


    <back>

     <interp id="category" type="category" value="category"/>
     <interp id="keywords" type="keywords" value="keywords"/>

     <div>

      <head>Signature blocks</head>


<!-- Dec 26, 2003 moved signature block of elements from div of teyp -->
<!-- entry to to back element-->

<!-- Move is a result of developing a text file to insert entries -->
<!-- from authoring point of view signature information rather stable -->
<!-- also permits develoment of a library of personae or pseudonyms -->
<!-- furthermore allows for mix and match of psuedonyms through XSLT -->
<!-- transformations -->

<!-- question does the signature belong in the head -->
<!-- answer yes - it counts as a type of metadata -->
<!-- it can be displayed in any fashion -->
<!--  -->
<!-- problems using the signed element cuz of nesting -->
<!-- I really want nesting divs to show comment-entry relations -->
<!-- use of signed element forces closure of div -->
<!-- discovered that a signature bloc is a list -->

      <list type="signature_bloc" id="sig_lachance">
       
       <item><name>Fran&#231;ois Lachance</name></item>

       <item>
<!-- consider using postBox within address for email -->
	<address>
	 <postBox>lachance@chass.utoronto.ca</postBox>
	</address>
       </item>
<!-- consider using xref for URL -->
       <item><xref>http://www.chass.utoronto.ca/~lachance</xref></item>
      </list>
</div>

     <div>

      <head>References</head>

<!-- list makes use of idref/id relation -->
<!--  to connect url (content of the item element) -->
<!--  to ref elements -->

      <list>
       <head>URL Listing</head>
       <item id="home">http://www.chass.utoronto.ca/~lachance</item>
       <item id="tei">http://www.tei-c.org</item>
       <item id="tei_list">http://listserv.brown.edu/archives/tei-l.html</item> 
       <item id="kraus">http://karik.wordherders.net/</item>
      </list>
     </div>
     
     <div>
      <p>
       <!-- what goes in the back? blogroll etc.-->
      </p>
     </div>

    </back>
   
   </text>
  </group>
 </text>
</TEI.2>

