Module: sip-router Branch: master Commit: cfce181526d1686aa431eb358ea35d793f7df12f URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=cfce181526d1686aa431eb358ea35d793f7df12f
Author: Ovidiu Sas <[email protected]> Committer: Ovidiu Sas <[email protected]> Date: Tue Apr 1 19:46:41 2014 -0400 xhttp_pi: update pi_framework_mod.xsl to generate new pi_http samples - add link_cmd to the primary key for DB_UPDATE commands --- .../dbschema_k/xsl/pi_framework_mod.xsl | 15 ++++++++++++--- 1 files changed, 12 insertions(+), 3 deletions(-) diff --git a/doc/stylesheets/dbschema_k/xsl/pi_framework_mod.xsl b/doc/stylesheets/dbschema_k/xsl/pi_framework_mod.xsl index 211ad7a..330f736 100644 --- a/doc/stylesheets/dbschema_k/xsl/pi_framework_mod.xsl +++ b/doc/stylesheets/dbschema_k/xsl/pi_framework_mod.xsl @@ -52,9 +52,18 @@ <xsl:text>			<cmd_type>DB1_QUERY</cmd_type>
</xsl:text> <xsl:text>			<query_cols>
</xsl:text> <xsl:for-each select="column"> - <xsl:text>				<col><field></xsl:text> - <xsl:call-template name="get-name"/> - <xsl:text></field></col>
</xsl:text> + <xsl:choose> + <xsl:when test="primary"> + <xsl:text>				<col><field></xsl:text> + <xsl:call-template name="get-name"/> + <xsl:text></field><link_cmd>update</link_cmd></col>
</xsl:text> + </xsl:when> + <xsl:otherwise> + <xsl:text>				<col><field></xsl:text> + <xsl:call-template name="get-name"/> + <xsl:text></field></col>
</xsl:text> + </xsl:otherwise> + </xsl:choose> </xsl:for-each> <xsl:text>			</query_cols>
</xsl:text> <xsl:text>		</cmd>
</xsl:text> _______________________________________________ sr-dev mailing list [email protected] http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
