people/nijmegen/wiedijk.html \
people/trusted-logic/bolignano.html
-PEOPLE_SOURCE = $(PEOPLE:%.html=$(XMLROOT)/%.xml)
-
DOCUMENTS = \
index.html \
home.html \
$(XSLROOT)/xhtml-content.xsl
$(XSLTP) --param path_to_top "'.'" -o $@ $(XSLROOT)/xhtml-content.xsl $<
-people-list.html: $(XSLROOT)/person-entry.xsl $(XSLROOT)/people-list.xsl $(PEOPLE_SOURCE)
- ( \
- echo "<people>" >/tmp/people-list.xml; \
- SITES=`cd $(XMLROOT)/sites; ls *.xml | cut -d'.' -f1`; \
- for i in $$SITES; \
- do \
- echo "<from site=\"$$i\">" >>/tmp/people-list.xml; \
- SITE_PEOPLE=`cd $(XMLROOT)/people/$$i; ls *.xml | cut -d'.' -f1`; \
- for j in $$SITE_PEOPLE; \
- do \
- echo "<person file=\"$$j\"/>" >>/tmp/people-list.xml; \
- done; \
- echo "</from>" >>/tmp/people-list.xml; \
- done; \
- echo "</people>" >>/tmp/people-list.xml \
- )
- $(XSLTP) -o people-list.html $(XSLROOT)/people-list.xsl /tmp/people-list.xml
-# rm -rf /tmp/people-list.xml
+people-list.html: $(XMLROOT)/people/index.xml $(XSLROOT)/person-entry.xsl \
+ $(XSLROOT)/people-list.xsl
+ $(XSLTP) -o $@ $(XSLROOT)/people-list.xsl $<
consortium.html: $(XMLROOT)/consortium.xml \
$(XSLROOT)/consortium.xsl
--- /dev/null
+<?xml version="1.0"?>
+
+<!DOCTYPE people [
+ <!ELEMENT people (from*)>
+ <!ELEMENT from (person*)>
+ <!ATTLIST from
+ site CDATA #REQUIRED>
+ <!ELEMENT person EMPTY>
+ <!ATTLIST person
+ file CDATA #REQUIRED>
+]>
+
+<people>
+ <from site="aei">
+ <person file="schutz"/>
+ <person file="wegner"/>
+ <person file="kelley"/>
+ <person file="velden"/>
+ </from>
+ <from site="bologna">
+ <person file="asperti"/>
+ <person file="guidi"/>
+ <person file="padovani"/>
+ <person file="sacerdoti"/>
+ <person file="schena"/>
+ </from>
+ <from site="dfki">
+ <person file="siekmann"/>
+ <person file="kohlhase"/>
+ <person file="melis"/>
+ </from>
+ <from site="inria">
+ <person file="herbelin"/>
+ <person file="amerkad"/>
+ <person file="bertot"/>
+ <person file="chicli"/>
+ <person file="delahaye"/>
+ <person file="naciri"/>
+ <person file="pottier"/>
+ <person file="rideau"/>
+ <person file="thery"/>
+ </from>
+ <from site="nijmegen">
+ <person file="geuvers"/>
+ <person file="cohen"/>
+ <person file="barendregt"/>
+ <person file="wiedijk"/>
+ <person file="barreiro"/>
+ <person file="cruz-filipe"/>
+ <person file="niqui"/>
+ <person file="stein"/>
+ <person file="synek"/>
+ </from>
+ <from site="trusted-logic">
+ <person file="bolignano"/>
+ </from>
+</people>
<xsl:apply-templates select="$site/name | $site/subsite[1]/name">
<xsl:with-param name="file" select="@site"/>
</xsl:apply-templates>
- <xsl:apply-templates select="person">
- <xsl:sort select="@file"/>
- </xsl:apply-templates>
+ <xsl:apply-templates select="person"/>
</xsl:template>
</xsl:stylesheet>