<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.tei-c.org/index.php?action=history&amp;feed=atom&amp;title=Render2selector.xslt</id>
	<title>Render2selector.xslt - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.tei-c.org/index.php?action=history&amp;feed=atom&amp;title=Render2selector.xslt"/>
	<link rel="alternate" type="text/html" href="https://wiki.tei-c.org/index.php?title=Render2selector.xslt&amp;action=history"/>
	<updated>2026-04-21T17:21:18Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.32.0</generator>
	<entry>
		<id>https://wiki.tei-c.org/index.php?title=Render2selector.xslt&amp;diff=15893&amp;oldid=prev</id>
		<title>Syd at 19:40, 24 August 2017</title>
		<link rel="alternate" type="text/html" href="https://wiki.tei-c.org/index.php?title=Render2selector.xslt&amp;diff=15893&amp;oldid=prev"/>
		<updated>2017-08-24T19:40:12Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 19:40, 24 August 2017&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot; &gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;= &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Note: &lt;/del&gt;=&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;= &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Warning &lt;/ins&gt;=&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;This page is vestigal. The new home for these programs is in the [https://github.com/NEU-DSG/wwp-public-code-share/tree/master/data_curation/TEI_P5_2.8.0_to_2.9.1_default_rendition WWP code sharing repository]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;'''&lt;/ins&gt;This page is vestigal&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;'''&lt;/ins&gt;. The &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;''&lt;/ins&gt;new home&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;'' &lt;/ins&gt;for these programs is in the [https://github.com/NEU-DSG/wwp-public-code-share/tree/master/data_curation/TEI_P5_2.8.0_to_2.9.1_default_rendition WWP code sharing repository]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;= Introduction =&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;= Introduction =&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l12&quot; &gt;Line 12:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 12:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;So I have left the simple version in for those who want to puzzle through what it does and how it does it. I have left the second, more complicated version in for general use, and for XSLT programmers to puzzle through and improve.  &lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;So I have left the simple version in for those who want to puzzle through what it does and how it does it. I have left the second, more complicated version in for general use, and for XSLT programmers to puzzle through and improve.  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;WARNINGS &lt;/del&gt;==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Caveats &lt;/ins&gt;==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;1. The first version deletes &amp;lt;tt&amp;gt;&amp;amp;lt;namespace&amp;gt;&amp;lt;/tt&amp;gt; without checking to see if there is useful information in there or not. The more complex version is smarter about this. If you do not have any prose, but just counts and counts-with-ID in your &amp;lt;tt&amp;gt;&amp;amp;lt;namespace&amp;gt;&amp;lt;/tt&amp;gt;, you can easily re-generate it using [[Generate_tagsDecl_P5.xslt]]. If you actually have useful content in any of your &amp;lt;tt&amp;gt;&amp;amp;lt;tagUsage&amp;gt;&amp;lt;/tt&amp;gt; elements, '''do not''' use the first version.  &lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;1. The first version deletes &amp;lt;tt&amp;gt;&amp;amp;lt;namespace&amp;gt;&amp;lt;/tt&amp;gt; without checking to see if there is useful information in there or not. The more complex version is smarter about this. If you do not have any prose, but just counts and counts-with-ID in your &amp;lt;tt&amp;gt;&amp;amp;lt;namespace&amp;gt;&amp;lt;/tt&amp;gt;, you can easily re-generate it using [[Generate_tagsDecl_P5.xslt]]. If you actually have useful content in any of your &amp;lt;tt&amp;gt;&amp;amp;lt;tagUsage&amp;gt;&amp;lt;/tt&amp;gt; elements, '''do not''' use the first version.  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Syd</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.tei-c.org/index.php?title=Render2selector.xslt&amp;diff=15834&amp;oldid=prev</id>
		<title>Syd at 20:21, 26 May 2017</title>
		<link rel="alternate" type="text/html" href="https://wiki.tei-c.org/index.php?title=Render2selector.xslt&amp;diff=15834&amp;oldid=prev"/>
		<updated>2017-05-26T20:21:06Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 20:21, 26 May 2017&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot; &gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;= Note: =&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;This page is vestigal. The new home for these programs is in the [https://github.com/NEU-DSG/wwp-public-code-share/tree/master/data_curation/TEI_P5_2.8.0_to_2.9.1_default_rendition WWP code sharing repository]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;= Introduction =&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Some time ago the TEI-C created a new mechanism for indicating default rendition. It (the new &amp;lt;tt&amp;gt;@selector&amp;lt;/tt&amp;gt; mechanism) became available in 2.9.1, and the old (&amp;lt;tt&amp;gt;@render&amp;lt;/tt&amp;gt;) mechanism will be withdrawn in the next release (probably 3.2.0 in a month or so).&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Some time ago the TEI-C created a new mechanism for indicating default rendition. It (the new &amp;lt;tt&amp;gt;@selector&amp;lt;/tt&amp;gt; mechanism) became available in 2.9.1, and the old (&amp;lt;tt&amp;gt;@render&amp;lt;/tt&amp;gt;) mechanism will be withdrawn in the next release (probably 3.2.0 in a month or so).&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Syd</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.tei-c.org/index.php?title=Render2selector.xslt&amp;diff=15833&amp;oldid=prev</id>
		<title>Syd: improve wording in the prose introduction</title>
		<link rel="alternate" type="text/html" href="https://wiki.tei-c.org/index.php?title=Render2selector.xslt&amp;diff=15833&amp;oldid=prev"/>
		<updated>2017-05-23T15:28:31Z</updated>

		<summary type="html">&lt;p&gt;improve wording in the prose introduction&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 15:28, 23 May 2017&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot; &gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Some time ago the TEI-C created a new mechanism for indicating default rendition. It (the new &amp;lt;tt&amp;gt;@selector&amp;lt;/tt&amp;gt; mechanism) became available in 2.9.1, and the old (&amp;lt;tt&amp;gt;@render&amp;lt;/tt&amp;gt;) mechanism will be withdrawn in the next release (probably 3.2.0 in a month or so).&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Some time ago the TEI-C created a new mechanism for indicating default rendition. It (the new &amp;lt;tt&amp;gt;@selector&amp;lt;/tt&amp;gt; mechanism) became available in 2.9.1, and the old (&amp;lt;tt&amp;gt;@render&amp;lt;/tt&amp;gt;) mechanism will be withdrawn in the next release (probably 3.2.0 in a month or so).&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Here are two routines for converting from the old to the new. There is no &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;use reason &lt;/del&gt;to have two of them, the reason for separation is purely pedagogical. &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Doing &lt;/del&gt;this conversion &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;on &lt;/del&gt;a simple TEI file that has a single &amp;lt;tt&amp;gt;&amp;amp;lt;TEI&amp;gt;&amp;lt;/tt&amp;gt; element and only has default renditions for elements in the TEI namespace is ''really easy''. It only takes 2 templates (in addition to the identity transform): 1 to add &amp;lt;tt&amp;gt;@selector&amp;lt;/tt&amp;gt; to &amp;lt;tt&amp;gt;&amp;amp;lt;rendition&amp;gt;&amp;lt;/tt&amp;gt; and another to delete &amp;lt;tt&amp;gt;namespace&amp;lt;/tt&amp;gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Here are two routines for converting from the old to the new. There is no &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;need &lt;/ins&gt;to have two of them, the reason for separation is purely pedagogical. &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;The first stylesheet exists to show how easy &lt;/ins&gt;this conversion &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;can be in the simple case. For &lt;/ins&gt;a simple TEI file that has a single &amp;lt;tt&amp;gt;&amp;amp;lt;TEI&amp;gt;&amp;lt;/tt&amp;gt; element and only has default renditions for elements in the TEI namespace &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;this &lt;/ins&gt;is ''really easy''. It only takes 2 templates (in addition to the identity transform): 1 to add &amp;lt;tt&amp;gt;@selector&amp;lt;/tt&amp;gt; to &amp;lt;tt&amp;gt;&amp;amp;lt;rendition&amp;gt;&amp;lt;/tt&amp;gt; and another to delete &amp;lt;tt&amp;gt;namespace&amp;lt;/tt&amp;gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Doing this for the general case, in which there may be multiple &amp;lt;tt&amp;gt;&amp;amp;lt;TEI&amp;gt;&amp;lt;/tt&amp;gt; elements, each with multiple &amp;lt;tt&amp;gt;&amp;amp;lt;namespace&amp;gt;&amp;lt;/tt&amp;gt; elements (from various namespaces), which namespaces may or may not also be in scope turns out to be ''very hard'' (IMHO), and even then I had to concede the point that there may be a prefix definition used somewhere in the file that we can’t find.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Doing this for the general case, in which there may be multiple &amp;lt;tt&amp;gt;&amp;amp;lt;TEI&amp;gt;&amp;lt;/tt&amp;gt; elements, each with multiple &amp;lt;tt&amp;gt;&amp;amp;lt;namespace&amp;gt;&amp;lt;/tt&amp;gt; elements (from various namespaces), which namespaces may or may not also be in scope turns out to be ''very hard'' (IMHO), and even then I had to concede the point that there may be a prefix definition used somewhere in the file that we can’t find.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Syd</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.tei-c.org/index.php?title=Render2selector.xslt&amp;diff=15811&amp;oldid=prev</id>
		<title>Syd: copyleft DSG, not just WWP</title>
		<link rel="alternate" type="text/html" href="https://wiki.tei-c.org/index.php?title=Render2selector.xslt&amp;diff=15811&amp;oldid=prev"/>
		<updated>2017-04-26T22:47:34Z</updated>

		<summary type="html">&lt;p&gt;copyleft DSG, not just WWP&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 22:47, 26 April 2017&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l67&quot; &gt;Line 67:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 67:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   &amp;lt;!--&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   &amp;lt;!--&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;       render2selector.xslt&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;       render2selector.xslt&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;       Copyleft 2017 Syd Bauman and the &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Women Writers Project&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;       Copyleft 2017 Syd Bauman and the &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Digital Scholarship Group,&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;      Northeastern University Libraries&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;       Convert TEI P5 default rendition specifications from&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;       Convert TEI P5 default rendition specifications from&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Syd</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.tei-c.org/index.php?title=Render2selector.xslt&amp;diff=15810&amp;oldid=prev</id>
		<title>Syd: added another caveat</title>
		<link rel="alternate" type="text/html" href="https://wiki.tei-c.org/index.php?title=Render2selector.xslt&amp;diff=15810&amp;oldid=prev"/>
		<updated>2017-04-26T22:40:01Z</updated>

		<summary type="html">&lt;p&gt;added another caveat&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 22:40, 26 April 2017&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l7&quot; &gt;Line 7:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 7:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;So I have left the simple version in for those who want to puzzle through what it does and how it does it. I have left the second, more complicated version in for general use, and for XSLT programmers to puzzle through and improve.  &lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;So I have left the simple version in for those who want to puzzle through what it does and how it does it. I have left the second, more complicated version in for general use, and for XSLT programmers to puzzle through and improve.  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;WARNING: The first version deletes &amp;lt;tt&amp;gt;&amp;amp;lt;namespace&amp;gt;&amp;lt;/tt&amp;gt; without checking to see if there is useful information in there or not. The more complex version is smarter about this. If you do not have any prose, but just counts and counts-with-ID in your &amp;lt;tt&amp;gt;&amp;amp;lt;namespace&amp;gt;&amp;lt;/tt&amp;gt;, you can easily re-generate it using [[Generate_tagsDecl_P5.xslt]]. If you actually have useful content in any of your &amp;lt;tt&amp;gt;&amp;amp;lt;tagUsage&amp;gt;&amp;lt;/tt&amp;gt; elements, '''do not''' use the first version. &lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;== WARNINGS ==&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;NB: &lt;/del&gt;The second version tries to take into account that an &amp;lt;tt&amp;gt;@xml:id&amp;lt;/tt&amp;gt; or &amp;lt;tt&amp;gt;@gi&amp;lt;/tt&amp;gt; may have whitespace around the value; the first version does not.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;1. The first version deletes &amp;lt;tt&amp;gt;&amp;amp;lt;namespace&amp;gt;&amp;lt;/tt&amp;gt; without checking to see if there is useful information in there or not. The more complex version is smarter about this. If you do not have any prose, but just counts and counts-with-ID in your &amp;lt;tt&amp;gt;&amp;amp;lt;namespace&amp;gt;&amp;lt;/tt&amp;gt;, you can easily re-generate it using [[Generate_tagsDecl_P5.xslt]]. If you actually have useful content in any of your &amp;lt;tt&amp;gt;&amp;amp;lt;tagUsage&amp;gt;&amp;lt;/tt&amp;gt; elements, '''do not''' use the first version. &lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;2. The first version will delete any existing &amp;lt;tt&amp;gt;@selector&amp;lt;/tt&amp;gt; attributes, so '''do not''' run it on files that already use the new mechanism.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;3. &lt;/ins&gt;The second version tries to take into account that an &amp;lt;tt&amp;gt;@xml:id&amp;lt;/tt&amp;gt; or &amp;lt;tt&amp;gt;@gi&amp;lt;/tt&amp;gt; may have whitespace around the value; the first version does not.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Syd</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.tei-c.org/index.php?title=Render2selector.xslt&amp;diff=15809&amp;oldid=prev</id>
		<title>Syd: initial creation</title>
		<link rel="alternate" type="text/html" href="https://wiki.tei-c.org/index.php?title=Render2selector.xslt&amp;diff=15809&amp;oldid=prev"/>
		<updated>2017-04-26T22:35:22Z</updated>

		<summary type="html">&lt;p&gt;initial creation&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Some time ago the TEI-C created a new mechanism for indicating default rendition. It (the new &amp;lt;tt&amp;gt;@selector&amp;lt;/tt&amp;gt; mechanism) became available in 2.9.1, and the old (&amp;lt;tt&amp;gt;@render&amp;lt;/tt&amp;gt;) mechanism will be withdrawn in the next release (probably 3.2.0 in a month or so).&lt;br /&gt;
&lt;br /&gt;
Here are two routines for converting from the old to the new. There is no use reason to have two of them, the reason for separation is purely pedagogical. Doing this conversion on a simple TEI file that has a single &amp;lt;tt&amp;gt;&amp;amp;lt;TEI&amp;gt;&amp;lt;/tt&amp;gt; element and only has default renditions for elements in the TEI namespace is ''really easy''. It only takes 2 templates (in addition to the identity transform): 1 to add &amp;lt;tt&amp;gt;@selector&amp;lt;/tt&amp;gt; to &amp;lt;tt&amp;gt;&amp;amp;lt;rendition&amp;gt;&amp;lt;/tt&amp;gt; and another to delete &amp;lt;tt&amp;gt;namespace&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Doing this for the general case, in which there may be multiple &amp;lt;tt&amp;gt;&amp;amp;lt;TEI&amp;gt;&amp;lt;/tt&amp;gt; elements, each with multiple &amp;lt;tt&amp;gt;&amp;amp;lt;namespace&amp;gt;&amp;lt;/tt&amp;gt; elements (from various namespaces), which namespaces may or may not also be in scope turns out to be ''very hard'' (IMHO), and even then I had to concede the point that there may be a prefix definition used somewhere in the file that we can’t find.&lt;br /&gt;
&lt;br /&gt;
So I have left the simple version in for those who want to puzzle through what it does and how it does it. I have left the second, more complicated version in for general use, and for XSLT programmers to puzzle through and improve. &lt;br /&gt;
&lt;br /&gt;
WARNING: The first version deletes &amp;lt;tt&amp;gt;&amp;amp;lt;namespace&amp;gt;&amp;lt;/tt&amp;gt; without checking to see if there is useful information in there or not. The more complex version is smarter about this. If you do not have any prose, but just counts and counts-with-ID in your &amp;lt;tt&amp;gt;&amp;amp;lt;namespace&amp;gt;&amp;lt;/tt&amp;gt;, you can easily re-generate it using [[Generate_tagsDecl_P5.xslt]]. If you actually have useful content in any of your &amp;lt;tt&amp;gt;&amp;amp;lt;tagUsage&amp;gt;&amp;lt;/tt&amp;gt; elements, '''do not''' use the first version. &lt;br /&gt;
&lt;br /&gt;
NB: The second version tries to take into account that an &amp;lt;tt&amp;gt;@xml:id&amp;lt;/tt&amp;gt; or &amp;lt;tt&amp;gt;@gi&amp;lt;/tt&amp;gt; may have whitespace around the value; the first version does not.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;xsl:stylesheet xmlns:xsl=&amp;quot;http://www.w3.org/1999/XSL/Transform&amp;quot; exclude-result-prefixes=&amp;quot;#all&amp;quot;&lt;br /&gt;
  xpath-default-namespace=&amp;quot;http://www.tei-c.org/ns/1.0&amp;quot;&lt;br /&gt;
  xmlns=&amp;quot;http://www.tei-c.org/ns/1.0&amp;quot; version=&amp;quot;2.0&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;xsl:template match=&amp;quot;node()&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;xsl:if test=&amp;quot;not(ancestor::*)&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;xsl:text&amp;gt;&amp;amp;amp;#x0A;&amp;lt;/xsl:text&amp;gt;&lt;br /&gt;
    &amp;lt;/xsl:if&amp;gt;&lt;br /&gt;
    &amp;lt;xsl:copy&amp;gt;&lt;br /&gt;
      &amp;lt;xsl:apply-templates select=&amp;quot;@* | node()&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/xsl:copy&amp;gt;&lt;br /&gt;
  &amp;lt;/xsl:template&amp;gt;&lt;br /&gt;
  &amp;lt;xsl:template match=&amp;quot;@*&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;xsl:copy/&amp;gt;&lt;br /&gt;
  &amp;lt;/xsl:template&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;xsl:template match=&amp;quot;namespace&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;xsl:template match=&amp;quot;rendition&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;xsl:copy&amp;gt;&lt;br /&gt;
      &amp;lt;xsl:apply-templates select=&amp;quot;@*&amp;quot;/&amp;gt;&lt;br /&gt;
      &amp;lt;!-- Note: we do not add a @scheme attribute, as the default syntax&lt;br /&gt;
	   for @selector *is* CSS, but specifying a @scheme of &amp;quot;css&amp;quot;&lt;br /&gt;
	   implies the content is in CSS, which it isn't --&amp;gt;&lt;br /&gt;
      &amp;lt;xsl:attribute name=&amp;quot;selector&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;xsl:variable name=&amp;quot;id&amp;quot; select=&amp;quot;concat('#', normalize-space( @xml:id ) )&amp;quot;/&amp;gt;&lt;br /&gt;
        &amp;lt;xsl:value-of select=&amp;quot;string-join( ../namespace/tagUsage[@render eq $id]/@gi, ', ')&amp;quot;/&amp;gt;&lt;br /&gt;
      &amp;lt;/xsl:attribute&amp;gt;&lt;br /&gt;
      &amp;lt;xsl:apply-templates select=&amp;quot;node()&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/xsl:copy&amp;gt;&lt;br /&gt;
  &amp;lt;/xsl:template&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/xsl:stylesheet&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
----------&lt;br /&gt;
above: simple version, easy to read&lt;br /&gt;
&lt;br /&gt;
below: works on more complex files&lt;br /&gt;
----------&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;xsl:stylesheet xmlns:xsl=&amp;quot;http://www.w3.org/1999/XSL/Transform&amp;quot;&lt;br /&gt;
  exclude-result-prefixes=&amp;quot;#all&amp;quot;&lt;br /&gt;
  xmlns:sch=&amp;quot;http://purl.oclc.org/dsdl/schematron&amp;quot;&lt;br /&gt;
  xpath-default-namespace=&amp;quot;http://www.tei-c.org/ns/1.0&amp;quot;&lt;br /&gt;
  xmlns=&amp;quot;http://www.tei-c.org/ns/1.0&amp;quot;&lt;br /&gt;
  version=&amp;quot;2.0&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;!--&lt;br /&gt;
      render2selector.xslt&lt;br /&gt;
      Copyleft 2017 Syd Bauman and the Women Writers Project&lt;br /&gt;
&lt;br /&gt;
      Convert TEI P5 default rendition specifications from&lt;br /&gt;
      tagUsage/@render format to rendition/@selector format.&lt;br /&gt;
&lt;br /&gt;
      Read in a TEI P5 version 2.8.0 (or earlier) format file, and&lt;br /&gt;
      write out the same file with the mechanism used to indicate&lt;br /&gt;
      default values for @rend updated to the new (version 2.9.1 or&lt;br /&gt;
      later) mechnism.&lt;br /&gt;
&lt;br /&gt;
      Up to version 2.8.0 the mechanism was to specify the default&lt;br /&gt;
      rendition in a &amp;lt;rendition&amp;gt; that was pointed at by the @render of&lt;br /&gt;
      a &amp;lt;tagUsage&amp;gt; whose @gi matched the name of the element whose&lt;br /&gt;
      default rendition is being specified. I.e., to specify that the&lt;br /&gt;
      default @rend of the &amp;lt;head&amp;gt; element is &amp;quot;align(center)&amp;quot;, we could&lt;br /&gt;
      have used&lt;br /&gt;
      | &amp;lt;tagsDecl&amp;gt;&lt;br /&gt;
      |   &amp;lt;rendition xml:id=&amp;quot;rend.head&amp;quot;&amp;gt;align(center)&amp;lt;/rendition&amp;gt;&lt;br /&gt;
      |   &amp;lt;namespace name=&amp;quot;http://www.tei-c.org/ns/1.0&amp;quot;&amp;gt;&lt;br /&gt;
      |     &amp;lt;tagUsage gi=&amp;quot;head&amp;quot; render=&amp;quot;#rend.head&amp;quot;/&amp;gt;&lt;br /&gt;
      |   &amp;lt;/namespace&amp;gt;&lt;br /&gt;
      | &amp;lt;/tagsDecl&amp;gt;&lt;br /&gt;
      For versions 2.9.1 and later we would instead say&lt;br /&gt;
      | &amp;lt;tagsDecl&amp;gt;&lt;br /&gt;
      |   &amp;lt;rendition selector=&amp;quot;head&amp;quot;&amp;gt;align(center)&amp;lt;/rendition&amp;gt;&lt;br /&gt;
      | &amp;lt;/tagsDecl&amp;gt;&lt;br /&gt;
      &lt;br /&gt;
      This version of the program handles multiple &amp;lt;namespace&amp;gt; elements and multiple&lt;br /&gt;
      &amp;lt;TEI&amp;gt; elements (in a &amp;lt;teiCorpus&amp;gt;.&lt;br /&gt;
  --&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
  &amp;lt;xsl:key name=&amp;quot;namespace_elements&amp;quot; match=&amp;quot;/TEI/teiHeader/encodingDesc/tagsDecl/namespace&amp;quot; use=&amp;quot;true()&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;xsl:key name=&amp;quot;namespace_elements&amp;quot; match=&amp;quot;/teiCorpus/TEI/teiHeader/encodingDesc/tagsDecl/namespace&amp;quot; use=&amp;quot;true()&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;!--&lt;br /&gt;
    generate a sequence of &amp;lt;sch:ns&amp;gt; elements that store the prefix and associated namespace-URI&lt;br /&gt;
    for each declared namespace. We'd like to just get every namespace declared in the whole doc-&lt;br /&gt;
    ument, but that seems much harder, and might take awhile. So for now we're just picking the&lt;br /&gt;
    namespaces that are in force for the first &amp;lt;namespace&amp;gt; element.&lt;br /&gt;
  --&amp;gt;&lt;br /&gt;
  &amp;lt;xsl:variable name=&amp;quot;NSs&amp;quot; as=&amp;quot;element()+&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;xsl:variable name=&amp;quot;me&amp;quot; select=&amp;quot;key('namespace_elements', true() )[1]&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;xsl:for-each select=&amp;quot;in-scope-prefixes($me)&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;sch:ns prefix=&amp;quot;{.}&amp;quot; uri=&amp;quot;{namespace-uri-for-prefix(.,$me)}&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/xsl:for-each&amp;gt;&lt;br /&gt;
  &amp;lt;/xsl:variable&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;!-- Identity transform: --&amp;gt;&lt;br /&gt;
  &amp;lt;xsl:template match=&amp;quot;node()&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;xsl:if test=&amp;quot;not(ancestor::*)&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;xsl:text&amp;gt;&amp;amp;amp;#x0A;&amp;lt;/xsl:text&amp;gt;&lt;br /&gt;
    &amp;lt;/xsl:if&amp;gt;&lt;br /&gt;
    &amp;lt;xsl:copy&amp;gt;&lt;br /&gt;
      &amp;lt;xsl:apply-templates select=&amp;quot;@* | node()&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/xsl:copy&amp;gt;&lt;br /&gt;
  &amp;lt;/xsl:template&amp;gt;&lt;br /&gt;
  &amp;lt;xsl:template match=&amp;quot;@*&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;xsl:copy/&amp;gt;&lt;br /&gt;
  &amp;lt;/xsl:template&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;!-- Nuke any &amp;lt;namespace&amp;gt; that does not have any reason to exist other than @render --&amp;gt;&lt;br /&gt;
  &amp;lt;xsl:template match=&amp;quot;namespace[not(tagUage/@occurs | tagUsage/@withId | tagUsage/text()[not(normalize-space(.) eq '')])]&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;!-- (And the whitespace following it) --&amp;gt;&lt;br /&gt;
  &amp;lt;xsl:template match=&amp;quot;text()[ preceding-sibling::*[1][self::namespace[not(tagUage/@occurs | tagUsage/@withId | tagUsage/text()[not(normalize-space(.) eq '')])]]]&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;!-- Add a @selector to &amp;lt;rendition&amp;gt; (unless it already has one) --&amp;gt;&lt;br /&gt;
  &amp;lt;xsl:template match=&amp;quot;rendition[@xml:id][not(@selector)]&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;!-- My $idrf (IDentifier ReFerence) is like my ID (which is my @xml:id after whitespace&lt;br /&gt;
         normalization), but it has a '#' in front, just as references to me do. --&amp;gt;&lt;br /&gt;
    &amp;lt;xsl:variable name=&amp;quot;idrf&amp;quot; select=&amp;quot;concat('#', normalize-space(@xml:id))&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;!-- Collect all the values of @gi for all the &amp;lt;tagUsage&amp;gt; elements for elements in the&lt;br /&gt;
         TEI namespace that point to this &amp;lt;rendition&amp;gt; --&amp;gt;&lt;br /&gt;
    &amp;lt;xsl:variable name=&amp;quot;TEI_gis&amp;quot; as=&amp;quot;item()*&amp;quot;&lt;br /&gt;
      select=&amp;quot;key('namespace_elements', true() )[normalize-space(@name) eq 'http://www.tei-c.org/ns/1.0']/tagUsage[normalize-space(@render) eq $idrf]/@gi/normalize-space()&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;!-- Collect all the values of @gi for all the &amp;lt;tagUsage&amp;gt; elements for elements *not* in the&lt;br /&gt;
         TEI namespace that point to this &amp;lt;rendition&amp;gt; --&amp;gt;&lt;br /&gt;
    &amp;lt;xsl:variable name=&amp;quot;other_gis&amp;quot; as=&amp;quot;item()*&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;xsl:for-each select=&amp;quot;key('namespace_elements', true() )[normalize-space(@name) ne 'http://www.tei-c.org/ns/1.0']&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;xsl:variable name=&amp;quot;nsuri&amp;quot; select=&amp;quot;normalize-space(@name)&amp;quot;/&amp;gt;&lt;br /&gt;
        &amp;lt;xsl:for-each select=&amp;quot;tagUsage[normalize-space(@render) eq $idrf]&amp;quot;&amp;gt;&lt;br /&gt;
          &amp;lt;!-- If we have a prefix for this URI, use it; if not, generate a prefix and warn user --&amp;gt;&lt;br /&gt;
          &amp;lt;xsl:variable name=&amp;quot;prefix&amp;quot;&amp;gt;&lt;br /&gt;
            &amp;lt;xsl:choose&amp;gt;&lt;br /&gt;
              &amp;lt;xsl:when test=&amp;quot;($NSs)[@uri eq $nsuri]&amp;quot;&amp;gt;&lt;br /&gt;
                &amp;lt;!-- Select the @prefix of the 1st &amp;lt;sch:ns&amp;gt; that has the right @uri (as there&lt;br /&gt;
                     might be more than one). --&amp;gt;&lt;br /&gt;
                &amp;lt;xsl:value-of select=&amp;quot;($NSs)[@uri eq $nsuri][1]/@prefix&amp;quot;/&amp;gt;&lt;br /&gt;
              &amp;lt;/xsl:when&amp;gt;&lt;br /&gt;
              &amp;lt;xsl:otherwise&amp;gt;&lt;br /&gt;
                &amp;lt;xsl:variable name=&amp;quot;temp_prefix&amp;quot; select=&amp;quot;concat('ns', parent::namespace/count( preceding::namespace ) )&amp;quot;/&amp;gt;&lt;br /&gt;
                &amp;lt;xsl:message&amp;gt;Warning: using prefix '&amp;lt;xsl:value-of&lt;br /&gt;
                  select=&amp;quot;$temp_prefix&amp;quot;/&amp;gt;' for namespace URI &amp;lt;xsl:value-of&lt;br /&gt;
                  select=&amp;quot;$nsuri&amp;quot;/&amp;gt;&amp;lt;/xsl:message&amp;gt;&lt;br /&gt;
                &amp;lt;xsl:value-of select=&amp;quot;$temp_prefix&amp;quot;/&amp;gt;&lt;br /&gt;
              &amp;lt;/xsl:otherwise&amp;gt;&lt;br /&gt;
            &amp;lt;/xsl:choose&amp;gt;&lt;br /&gt;
          &amp;lt;/xsl:variable&amp;gt;&lt;br /&gt;
          &amp;lt;!-- actual syntax in CSS is prefix|gi --&amp;gt;&lt;br /&gt;
          &amp;lt;xsl:value-of select=&amp;quot;concat( $prefix, '|', normalize-space( @gi ) )&amp;quot;/&amp;gt;&lt;br /&gt;
        &amp;lt;/xsl:for-each&amp;gt;&lt;br /&gt;
      &amp;lt;/xsl:for-each&amp;gt;&lt;br /&gt;
    &amp;lt;/xsl:variable&amp;gt;&lt;br /&gt;
    &amp;lt;!-- OK, now that we've collected the elements to which this default rendition&lt;br /&gt;
         should apply, go ahead and output this &amp;lt;rendition&amp;gt; with its new @selector --&amp;gt;&lt;br /&gt;
    &amp;lt;xsl:copy&amp;gt;&lt;br /&gt;
      &amp;lt;xsl:apply-templates select=&amp;quot;@*&amp;quot;/&amp;gt;&lt;br /&gt;
      &amp;lt;!-- Note: we do not add a @scheme attribute, as the default syntax for&lt;br /&gt;
           @selector *is* CSS, but specifying a @scheme of &amp;quot;css&amp;quot; implies the&lt;br /&gt;
           content is in CSS, and we don't know that that is the case --&amp;gt;&lt;br /&gt;
      &amp;lt;xsl:attribute name=&amp;quot;selector&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;xsl:value-of select=&amp;quot;string-join( distinct-values( ( $TEI_gis, $other_gis ) ), ', ')&amp;quot;/&amp;gt;&lt;br /&gt;
      &amp;lt;/xsl:attribute&amp;gt;&lt;br /&gt;
      &amp;lt;xsl:apply-templates select=&amp;quot;node()&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/xsl:copy&amp;gt;&lt;br /&gt;
  &amp;lt;/xsl:template&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;xsl:template match=&amp;quot;rendition[@selector]&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;xsl:message&amp;gt;This &amp;amp;lt;rendition&amp;gt; (#&amp;lt;xsl:value-of&lt;br /&gt;
        select=&amp;quot;&lt;br /&gt;
          if (@xml:id) then&lt;br /&gt;
            @xml:id&lt;br /&gt;
          else&lt;br /&gt;
            count(preceding::rendition) + 1&amp;quot;&lt;br /&gt;
      /&amp;gt;) already has a @selector, so I'm not going to mess with it.&lt;br /&gt;
      (Are you sure you should be running render2selector on this file?)&amp;lt;/xsl:message&amp;gt;&lt;br /&gt;
    &amp;lt;xsl:copy&amp;gt;&lt;br /&gt;
      &amp;lt;xsl:apply-templates select=&amp;quot;@* | node()&amp;quot;/&amp;gt;&lt;br /&gt;
    &amp;lt;/xsl:copy&amp;gt;&lt;br /&gt;
  &amp;lt;/xsl:template&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/xsl:stylesheet&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:XSLT]]&lt;/div&gt;</summary>
		<author><name>Syd</name></author>
		
	</entry>
</feed>