Commit 2db680ec authored by Sylvain Schmitz's avatar Sylvain Schmitz

only process XQuery and XSLT benchs

parent 1946ef32
...@@ -10,7 +10,8 @@ ...@@ -10,7 +10,8 @@
<xsl:param name="nexamples" select="15"/> <xsl:param name="nexamples" select="15"/>
<xsl:template match="/"> <xsl:template match="/">
<xsl:variable name="benchmarks" select="document(//benchmark/@href)"/> <xsl:variable name="benchmarks"
select="document(//benchmark[@type='xquery' or @type='xslt']/@href)"/>
<!-- fragments --> <!-- fragments -->
<xsl:result-document method="text" href="fragments.csv"> <xsl:result-document method="text" href="fragments.csv">
<xsl:text>name,color,entries <xsl:text>name,color,entries
......
...@@ -13,7 +13,8 @@ ...@@ -13,7 +13,8 @@
select="document($xml_fragments)//schema"/> select="document($xml_fragments)//schema"/>
<xsl:template match="/"> <xsl:template match="/">
<xsl:variable name="root" select="document(//benchmark/@href)"/> <xsl:variable name="root"
select="document(//benchmark[@type='xquery' or @type='xslt']/@href)"/>
<xsl:text>\begin{tabular}{l</xsl:text> <xsl:text>\begin{tabular}{l</xsl:text>
<xsl:for-each select="$fragments"> <xsl:for-each select="$fragments">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment