diff options
author | arseny.kapoulkine@gmail.com <arseny.kapoulkine@gmail.com@99668b35-9821-0410-8761-19e4c4f06640> | 2013-07-10 06:10:03 +0000 |
---|---|---|
committer | arseny.kapoulkine@gmail.com <arseny.kapoulkine@gmail.com@99668b35-9821-0410-8761-19e4c4f06640> | 2013-07-10 06:10:03 +0000 |
commit | 63c0f55ee7e54ff2a52d908a55d23b562c557673 (patch) | |
tree | d4adec67f396075b278a207b9439d01c80a0214c /docs/manual.xsl | |
parent | e300701d3fd1b4f6bcd41c0caf92d2a820db0e5b (diff) |
docs: Fix manual.xsl to work with newer xsltproc
git-svn-id: http://pugixml.googlecode.com/svn/trunk@950 99668b35-9821-0410-8761-19e4c4f06640
Diffstat (limited to 'docs/manual.xsl')
-rw-r--r-- | docs/manual.xsl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/manual.xsl b/docs/manual.xsl index d7f57a9..783dff7 100644 --- a/docs/manual.xsl +++ b/docs/manual.xsl @@ -2,7 +2,8 @@ <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> <xsl:template name="navbar.section"> <xsl:param name="name" select="/foo" /> - <xsl:param name="target" select="id($name)" /> + <xsl:param name="targets" select="key('id',$name)"/> + <xsl:param name="target" select="$targets[1]"/> <xsl:param name="text" select="normalize-space($target/title)" /> <xsl:choose> |