Commit c8c06183 authored by Kim Mortimer's avatar Kim Mortimer
Browse files

Namespacing

parent 9b3e7943
......@@ -45,19 +45,20 @@
<xsl:import href="fn.xsl"/>
<xsl:import href="inspire-constant.xsl"/>
<xsl:function name="MER:encloseWithBracket">
<xsl:param name="items"/>
<xsl:value-of select="concat('[',string-join($items,','),']')"/>
</xsl:function>
<xsl:function name="MER:ByTupleEncloseWithBracket">
<xsl:param name="items"/>
<xsl:sequence
select="if (empty($items))
then ()
else (encloseWithBracket(($items[1],$items[2])),
ByTupleEncloseWithBracket($items[position()>2]) )"
else (MER:encloseWithBracket(($items[1],$items[2])),
MER:ByTupleEncloseWithBracket($items[position()>2]) )"
/>
</xsl:function>
<xsl:function name="MER:encloseWithBracket">
<xsl:param name="items"/>
<xsl:value-of select="concat('[',string-join($items,','),']')"/>
</xsl:function>
<xsl:output method="xml" indent="yes"/>
<xsl:output name="default-serialize-mode"
......
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