<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to NewTemplate</title><link>https://sourceforge.net/p/esitools/wiki2/NewTemplate/</link><description>Recent changes to NewTemplate</description><atom:link href="https://sourceforge.net/p/esitools/wiki2/NewTemplate/feed" rel="self"/><language>en</language><lastBuildDate>Fri, 27 Jun 2014 21:54:21 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/esitools/wiki2/NewTemplate/feed" rel="self" type="application/rss+xml"/><item><title>NewTemplate modified by Graham Shanks</title><link>https://sourceforge.net/p/esitools/wiki2/NewTemplate/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v1
+++ v2
@@ -51,16 +51,11 @@

 This is an 8-bit enumeration. 

-**Value**
-**Description**
-
-0 
-Other 
-
-1 
-Friendly 
-
-… 
+**Value** | **Description**
+----------|----------------
+0         | Other 
+1         | Friendly 
+...       |

 **1.2 Descriptor Records**

@@ -68,43 +63,28 @@

 This is a 16-bit enumeration. 

-**Value**
-**Description**
-
-0 
-Other 
-
-10 
-Cargo (Variable Submunitions) 
-
-… 
+**Value** | **Description**
+----------|----------------
+0         | Other 
+10        | Cargo (Variable Submunitions) 
+…         |

 **1.2.2 Fuse [UID 61]**

 This is a 16-bit enumeration. 

-**Value**
-**Description**
-
-0 
-Other 
-
-10 
-Intelligent Influence 
-
-… 
+**Value** | **Description**
+----------|----------------
+0         | Other 
+10        | Intelligent Influence 
+…         |

 **1.3 Detonation Result [UID 62]**

 This is an 8-bit enumeration. 

-**Value**
-**Description**
-
-0 
-Other 
-
-1 
-Entity Impact 
-
-… 
+**Value** | **Description**
+----------|----------------
+0         | Other 
+1         | Entity Impact 
+…         |
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Graham Shanks</dc:creator><pubDate>Fri, 27 Jun 2014 21:54:21 -0000</pubDate><guid>https://sourceforge.netfe4bbf32eac3bafe4585e2f2852779ca11a4acbe</guid></item><item><title>NewTemplate modified by &lt;REDACTED&gt;</title><link>https://sourceforge.net/p/esitools/wiki2/NewTemplate/</link><description>&lt;div class="markdown_content"&gt;&lt;h1 id="reorganisation-of-siso-ref-010"&gt;Reorganisation of SISO-REF-010&lt;/h1&gt;
&lt;p&gt;&lt;a class="" href="http://discussions.sisostds.org/threadview.aspx?fid=31&amp;amp;threadid=51605#77433" rel="nofollow"&gt;EWG Action item 223&lt;/a&gt; requires the reorganisation (I'm sorry, I just cannot spell it with a 'z') of SISO-REF-010. This means that the tools almost certainly need to be updated to support the new template. &lt;/p&gt;
&lt;p&gt;In preparation for this I’ve been playing with the word generation for SISO-REF-010. I can generate the tables without problems, so this opens up the possibility of auto-generating the vast majority of the document. In fact, although it would be work to get this going I think that in the medium to long term it would actually save effort on my part – as well as making it a lot easier for the EWG (i.e. Lance) to generate the template (i.e. you don’t have a few hundred bookmarks to generate). &lt;/p&gt;
&lt;p&gt;The idea is to make the generation data driven (from a new file, XML of course). &lt;/p&gt;
&lt;p&gt;Take the following XML excerpt: &lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="nt"&gt;&amp;lt;ESS&amp;gt;&lt;/span&gt;
  &lt;span class="nt"&gt;&amp;lt;Element&lt;/span&gt; &lt;span class="na"&gt;UID=&lt;/span&gt;&lt;span class="s"&gt;&amp;quot;1&amp;quot;&lt;/span&gt; &lt;span class="na"&gt;Bookmark=&lt;/span&gt;&lt;span class="s"&gt;&amp;quot;UID001&amp;quot;&lt;/span&gt;&lt;span class="nt"&gt;/&amp;gt;&lt;/span&gt;
  &lt;span class="nt"&gt;&amp;lt;Element&lt;/span&gt; &lt;span class="na"&gt;UID=&lt;/span&gt;&lt;span class="s"&gt;&amp;quot;2&amp;quot;&lt;/span&gt; &lt;span class="na"&gt;Bookmark=&lt;/span&gt;&lt;span class="s"&gt;&amp;quot;UID002&amp;quot;&lt;/span&gt;&lt;span class="nt"&gt;/&amp;gt;&lt;/span&gt;
  &lt;span class="nt"&gt;&amp;lt;Group&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;Heading&lt;/span&gt; &lt;span class="na"&gt;Level=&lt;/span&gt;&lt;span class="s"&gt;&amp;quot;1&amp;quot;&lt;/span&gt; &lt;span class="na"&gt;Name=&lt;/span&gt;&lt;span class="s"&gt;&amp;quot;Warfare Interactions and Attributes&amp;quot;&lt;/span&gt; &lt;span class="na"&gt;Bookmark=&lt;/span&gt;&lt;span class="s"&gt;&amp;quot;MainBody&amp;quot;&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
      &lt;span class="nt"&gt;&amp;lt;HeadingElement&lt;/span&gt; &lt;span class="na"&gt;UID=&lt;/span&gt;&lt;span class="s"&gt;&amp;quot;6&amp;quot;&lt;/span&gt;&lt;span class="nt"&gt;/&amp;gt;&lt;/span&gt;
      &lt;span class="nt"&gt;&amp;lt;Heading&lt;/span&gt; &lt;span class="na"&gt;Name=&lt;/span&gt;&lt;span class="s"&gt;&amp;quot;Descriptor Records&amp;quot;&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
        &lt;span class="nt"&gt;&amp;lt;HeadingElement&lt;/span&gt; &lt;span class="na"&gt;UID=&lt;/span&gt;&lt;span class="s"&gt;&amp;quot;60&amp;quot;&lt;/span&gt;&lt;span class="nt"&gt;/&amp;gt;&lt;/span&gt;
        &lt;span class="nt"&gt;&amp;lt;HeadingElement&lt;/span&gt; &lt;span class="na"&gt;UID=&lt;/span&gt;&lt;span class="s"&gt;&amp;quot;61&amp;quot;&lt;/span&gt;&lt;span class="nt"&gt;/&amp;gt;&lt;/span&gt;
      &lt;span class="nt"&gt;&amp;lt;/Heading&amp;gt;&lt;/span&gt;
      &lt;span class="nt"&gt;&amp;lt;HeadingElement&lt;/span&gt; &lt;span class="na"&gt;UID=&lt;/span&gt;&lt;span class="s"&gt;&amp;quot;62&amp;quot;&lt;/span&gt;&lt;span class="nt"&gt;/&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;/Heading&amp;gt;&lt;/span&gt;
  &lt;span class="nt"&gt;&amp;lt;/Group&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;/ESS&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;The first two lines generates the revision table (UID 1) and abbreviation table (UID 2) at the place in the template with the appropriate bookmarks. &lt;/p&gt;
&lt;p&gt;The following line just inserts a level 1 heading at the specified bookmark: &lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="n"&gt;Heading&lt;/span&gt; &lt;span class="n"&gt;Level&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;&amp;quot;1&amp;quot;&lt;/span&gt; &lt;span class="n"&gt;Name&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;&amp;quot;Warfare Interactions and Attributes&amp;quot;&lt;/span&gt; &lt;span class="n"&gt;Bookmark&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;&amp;quot;MainBody&amp;quot;&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;The next line generates a table for UID 6 (i.e. the Force ID) immediately following the previous line (there is no bookmark attribute to change the location). It generates a level 2 heading (since it is a child of the previous line which created a level 1 heading) using the name attribute from the XML: &lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="n"&gt;HeadingElement&lt;/span&gt; &lt;span class="n"&gt;UID&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;&amp;quot;6&amp;quot;&lt;/span&gt;&lt;span class="o"&gt;/&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;The next line creates a new level 2 heading: &lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="n"&gt;Heading&lt;/span&gt; &lt;span class="n"&gt;Name&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;&amp;quot;Descriptor Records&amp;quot;&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;The next two lines add the tables for the warhead and fuse with level 3 headings, whilst the last &lt;code&gt;HeadingElement&lt;/code&gt; adds the detonation result under a level 2 heading. &lt;/p&gt;
&lt;p&gt;This would generate something like the following (with the appropriate numbering): &lt;/p&gt;
&lt;p&gt;&lt;strong&gt;1 Warfare Interactions and Attributes&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;1.1 Force ID &lt;span&gt;&lt;span&gt;[UID 6]&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;This is an 8-bit enumeration. &lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Value&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;Description&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;0 &lt;br /&gt;
Other &lt;/p&gt;
&lt;p&gt;1 &lt;br /&gt;
Friendly &lt;/p&gt;
&lt;p&gt;… &lt;/p&gt;
&lt;p&gt;&lt;strong&gt;1.2 Descriptor Records&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;1.2.1 Warhead &lt;span&gt;&lt;span&gt;[UID 60]&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;This is a 16-bit enumeration. &lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Value&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;Description&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;0 &lt;br /&gt;
Other &lt;/p&gt;
&lt;p&gt;10 &lt;br /&gt;
Cargo (Variable Submunitions) &lt;/p&gt;
&lt;p&gt;… &lt;/p&gt;
&lt;p&gt;&lt;strong&gt;1.2.2 Fuse &lt;span&gt;&lt;span&gt;[UID 61]&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;This is a 16-bit enumeration. &lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Value&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;Description&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;0 &lt;br /&gt;
Other &lt;/p&gt;
&lt;p&gt;10 &lt;br /&gt;
Intelligent Influence &lt;/p&gt;
&lt;p&gt;… &lt;/p&gt;
&lt;p&gt;&lt;strong&gt;1.3 Detonation Result &lt;span&gt;&lt;span&gt;[UID 62]&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;This is an 8-bit enumeration. &lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Value&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;Description&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;0 &lt;br /&gt;
Other &lt;/p&gt;
&lt;p&gt;1 &lt;br /&gt;
Entity Impact &lt;/p&gt;
&lt;p&gt;… &lt;/p&gt;&lt;/div&gt;</description><pubDate>Fri, 27 Jun 2014 15:06:37 -0000</pubDate><guid>https://sourceforge.net2e797e94e6b7b67c7688e7f8e9b39ea43dac3a6c</guid></item></channel></rss>