Worked on the XML-to-HTML conversion scripts some more on
this morning. Cross-references are working pretty well
now, but thanks
to (yet another) XLST limitation, processing the stylesheet
slower than it ought to be. If I could only do
< xsl:key select="document('INDEX.XML')//DEFINITION"
is generated on a separate
then I could use the key()
function to look up
Since this isn't allowed, it's necessary to do a linear scan
entire index document for each hyperlink.
XSLT is a really nice language for the most part, but I
into (apparently arbitrary) limitations like this. I'd
to be able to define functions from node-sets to node-sets.
can emulate node set functions, but can only return strings
Compositionality is lacking...