No longer much template parameters in paths
to put the / path delim inside the curlies. Just leave them as-is. Change-Id: Id3e4e0e2b81a5281c2f812b5c59dab78dfdce5b9
This commit is contained in:
@@ -102,7 +102,7 @@
|
||||
</xsl:choose>
|
||||
</xsl:variable>
|
||||
<code>
|
||||
<xsl:value-of select="replace($path,'/\{','{/')"/><xsl:for-each select="wadl:request//wadl:param[@style = 'query']|parent::wadl:resource/wadl:param[@style = 'query']">
|
||||
<xsl:value-of select="$path"/><xsl:for-each select="wadl:request//wadl:param[@style = 'query']|parent::wadl:resource/wadl:param[@style = 'query']">
|
||||
<xsl:text>​</xsl:text><xsl:if test="position() = 1">{?</xsl:if><xsl:value-of select="@name"/><xsl:if test="@repeating = 'true'">*</xsl:if><xsl:choose><xsl:when
|
||||
test="not(position() = last())">,</xsl:when><xsl:otherwise>}</xsl:otherwise></xsl:choose></xsl:for-each>
|
||||
</code>
|
||||
|
||||
Reference in New Issue
Block a user