* Small typos fixed.
* Some clean-up.
$(XSLROOT)/xhtml-content.xsl
$(XSLTP) --param path_to_top "'..'" -o $@ $(XSLROOT)/xhtml-content.xsl $<
$(XSLROOT)/xhtml-content.xsl
$(XSLTP) --param path_to_top "'..'" -o $@ $(XSLROOT)/xhtml-content.xsl $<
-people-list.html: $(XMLROOT)/people/index.xml $(XSLROOT)/person-entry.xsl \
+people-list.html: $(XMLROOT)/people/index.xml \
$(XSLROOT)/people-list.xsl
$(XSLTP) -o $@ $(XSLROOT)/people-list.xsl $<
$(XSLROOT)/people-list.xsl
$(XSLTP) -o $@ $(XSLROOT)/people-list.xsl $<
crippling the potentialities for automation, interoperability,
sophisticated searching mechanisms, intelligent applications,
transformation and processing. The goal of the project is to overcome
crippling the potentialities for automation, interoperability,
sophisticated searching mechanisms, intelligent applications,
transformation and processing. The goal of the project is to overcome
- these limitations, passing form a machine-readable to a
+ these limitations, passing from a machine-readable to a
machine-understandable representation of the information, and developing
the technological infrastructure for its exploitation. MoWGLI builds on
machine-understandable representation of the information, and developing
the technological infrastructure for its exploitation. MoWGLI builds on
- previous ``standards'' for the management and publishing of mathematical
+ previous standards for the management and publishing of mathematical
documents (<a target="_top" href="http://www.w3.org/Math">MathML</a>,
<a target="_top" href="http://www.openmath.org">OpenMath</a>,
<a target="_top" href="http://www.mathweb.org/omdoc/index.html">OMDoc</a>),
documents (<a target="_top" href="http://www.w3.org/Math">MathML</a>,
<a target="_top" href="http://www.openmath.org">OpenMath</a>,
<a target="_top" href="http://www.mathweb.org/omdoc/index.html">OMDoc</a>),
<xsl:template name="person-name">
<xsl:param name="file" select="''"/>
<xsl:template name="person-name">
<xsl:param name="file" select="''"/>
+ <xsl:param name="form" select="'full'"/>
<xsl:variable name="person" select="document(concat('../xml/people/',$file,'.xml'))/person"/>
<xsl:variable name="person" select="document(concat('../xml/people/',$file,'.xml'))/person"/>
- <xsl:if test="$person/qualification">
+ <xsl:if test="$person/qualification and $form = 'full'">
<xsl:value-of select="$person/qualification"/>
<xsl:value-of select="' '"/>
</xsl:if>
<xsl:value-of select="$person/qualification"/>
<xsl:value-of select="' '"/>
</xsl:if>
- <xsl:value-of select="$person/name"/>
+ <xsl:choose>
+ <xsl:when test="$form = 'full'">
+ <xsl:value-of select="$person/name"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <!-- Bug: just the first name is abbreviated. The others are ignored. -->
+ <xsl:value-of select="substring($person/name,1,1)"/>
+ <xsl:text>.</xsl:text>
+ </xsl:otherwise>
+ </xsl:choose>
<xsl:value-of select="' '"/>
<xsl:value-of select="$person/surname"/>
</xsl:template>
<xsl:value-of select="' '"/>
<xsl:value-of select="$person/surname"/>
</xsl:template>
+++ /dev/null
-<?xml version="1.0"?>
-
-<xsl:stylesheet version="1.0"
- xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
-
-<xsl:import href="common.xsl"/>
-
-<xsl:output method="html"/>
-
-<xsl:template match="/">
- <xsl:copy-of select="person"/>
-</xsl:template>
-
-</xsl:stylesheet>
-
<xsl:for-each select="selected-publication">
<li>
<a href="../../publications/{@file}.html">
<xsl:for-each select="selected-publication">
<li>
<a href="../../publications/{@file}.html">
- <xsl:value-of select="@file"/>
+ <xsl:value-of select="document(concat('../xml/publications/',@file,'.xml'))/publication/title"/>
</a>
</li>
</xsl:for-each>
</a>
</li>
</xsl:for-each>
<xsl:choose>
<xsl:when test="@file">
<a href="../../people/{@file}.html">
<xsl:choose>
<xsl:when test="@file">
<a href="../../people/{@file}.html">
- <xsl:value-of select="@file"/>
+ <xsl:call-template name="person-name">
+ <xsl:with-param name="form" select="'abbreviated'"/>
+ <xsl:with-param name="file" select="@file"/>
+ </xsl:call-template>
</a>
</xsl:when>
<xsl:otherwise>
</a>
</xsl:when>
<xsl:otherwise>