<?xml version="1.0"?>
<rss version="2.0.">
  <channel>
    <title>Advogato blog for jenglish</title>
    <link>http://www.advogato.org/person/jenglish/</link>
    <description>Advogato blog for jenglish</description>
    <language>en-us</language>
    <generator>mod_virgule</generator>
    <pubDate>Sat, 17 May 2008 09:03:17 GMT</pubDate>
    <item>
      <pubDate>Thu, 27 Jul 2000 21:04:29 GMT</pubDate>
      <title>27 Jul 2000</title>
      <link>http://www.advogato.org/person/jenglish/diary.html?start=3</link>
      <guid>http://www.advogato.org/person/jenglish/diary.html?start=3</guid>
      <description>&lt;p&gt;I have to take back  (some of) the nasty things I said
about XSLT
earlier (13 Jul 2000)...  Of &lt;em&gt;course&lt;/em&gt; it's possible
to do what
I was trying to do, and had I bothered to RTFM (XPATH
section 12.2,
to be precise) it would have been blindingly obvious what I
was doing wrong.
&lt;p&gt;I still wish XSLT were more composable, though...
</description>
    </item>
    <item>
      <pubDate>Thu, 20 Jul 2000 01:18:31 GMT</pubDate>
      <title>20 Jul 2000</title>
      <link>http://www.advogato.org/person/jenglish/diary.html?start=2</link>
      <guid>http://www.advogato.org/person/jenglish/diary.html?start=2</guid>
      <description>&lt;p&gt;Eric Melski (The Other Tcl Guy) was kind enough to give
me write access to the Tcl CVS repository so I could fix
markup errors in the man pages... but now I'm swamped with
Real Work again so it'll have to wait 'til the weekend. 

&lt;p&gt; &lt;p&gt;Finally started writing up those notes on XPath that I've
been meaning to write for a while.
</description>
    </item>
    <item>
      <pubDate>Thu, 13 Jul 2000 18:20:26 GMT</pubDate>
      <title>13 Jul 2000</title>
      <link>http://www.advogato.org/person/jenglish/diary.html?start=1</link>
      <guid>http://www.advogato.org/person/jenglish/diary.html?start=1</guid>
      <description>&lt;p&gt;Worked on the XML-to-HTML conversion scripts some more on
the train
this morning.   Cross-references are working pretty well
now, but thanks
to (yet another) XLST limitation, processing the stylesheet
is &lt;em&gt;much&lt;/em&gt;
slower than it ought to be.  If I could only do
&lt;pre&gt;
&amp;lt; xsl:key select="document('INDEX.XML')//DEFINITION"
use="@name"/&amp;gt;
&lt;/pre&gt;
(where &lt;b&gt;INDEX.XML&lt;/b&gt; is generated on a separate
preprocessing pass)
then I could use the &lt;b&gt;key()&lt;/b&gt; function to look up
cross-references.
Since this isn't allowed, it's necessary to do a linear scan
through the
entire index document for each hyperlink.
&lt;p&gt;XSLT is a really nice language for the most part, but I
keep running
into (apparently arbitrary) limitations like this.   I'd
&lt;em&gt;really&lt;/em&gt; like
to be able to define functions from node-sets to node-sets. 
&lt;b&gt;xsl:template&lt;/b&gt;
can emulate node set functions, but can only return strings
or result-tree-fragments. 
Compositionality is lacking...
</description>
    </item>
    <item>
      <pubDate>Thu, 13 Jul 2000 01:25:37 GMT</pubDate>
      <title>13 Jul 2000</title>
      <link>http://www.advogato.org/person/jenglish/diary.html?start=0</link>
      <guid>http://www.advogato.org/person/jenglish/diary.html?start=0</guid>
      <description>&lt;p&gt;Well, I guess I'll try this diary thing out...

&lt;p&gt; &lt;p&gt;Trying to get cross-references working right in the Tcl
man page conversion.
This really boils down to a matter of classifying each
"hyperlinkable" term.
Right now I'm getting a lot of false positives.  For
example, if 
&lt;pre&gt;
\fBinterp\fP \fBeval\fP \fIscript...\fP
&lt;/pre&gt;
appears in the NROFF source,
the converter will (mistakenly) identify 'eval' as a Tcl
command and create a 
cross-reference to the eval(n) reference page, when it
really ought 
to be tagged as a sub-command instead.
&lt;p&gt;Fortunately, I think I've found a way to partially solve
this...
</description>
    </item>
  </channel>
</rss>
