setting-keys: Add VCONFKEY_SETAPPL_TIMEOUT_DIM
[platform/core/appfw/vconf-internal-keys.git] / create_cmd.xsl
1 <?xml version="1.0" encoding="UTF-8"?>
2 <xsl:stylesheet version="1.0"
3 xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
4 <xsl:output method="text" version="1.0" encoding="UTF-8" indent="yes"/>
5 <xsl:strip-space elements="*"/>
6 <xsl:template match="/">
7   <xsl:apply-templates/>
8 </xsl:template>
9
10 <xsl:template match="vconfkey">
11         <xsl:variable name="layer_path" select="./@name"/>
12         <xsl:variable name="layer_name" select="substring-before($layer_path,'/')"/>
13 <xsl:choose>
14         <xsl:when test="./initscript">
15 <xsl:value-of select="initscript"/>
16   </xsl:when>
17 </xsl:choose>
18
19 <xsl:choose>
20         <xsl:when test="@headeronly">
21   </xsl:when>
22   <xsl:otherwise>
23           <xsl:choose>
24                   <xsl:when test="./@profile=$profile">
25 /usr/bin/buxton2ctl -i -d create-<xsl:value-of select="@type"/> <xsl:choose><xsl:when test="$layer_name = 'db' or $layer_name = 'file' "> "system" </xsl:when><xsl:otherwise> "memory" </xsl:otherwise></xsl:choose> "<xsl:value-of select="./@name"/>"  <xsl:choose><xsl:when test="./val[@model=$target]"> "<xsl:value-of select="./val[@model=$target]"/>" </xsl:when><xsl:otherwise> "<xsl:value-of select="./val[not(@model)]"/>" </xsl:otherwise></xsl:choose> "<xsl:value-of select="./@readPriv"/>" "<xsl:value-of select="./@writePriv"/>"<xsl:text>&#10;</xsl:text>
26                   </xsl:when>
27                   <xsl:otherwise>
28                           <xsl:choose>
29                                   <xsl:when test="@profile"></xsl:when><!-- do nothing -->
30                                   <xsl:otherwise>
31 /usr/bin/buxton2ctl -i -d create-<xsl:value-of select="@type"/> <xsl:choose><xsl:when test="$layer_name = 'db' or $layer_name = 'file' "> "system" </xsl:when><xsl:otherwise> "memory" </xsl:otherwise></xsl:choose> "<xsl:value-of select="./@name"/>"  <xsl:choose><xsl:when test="./val[@model=$target]"> "<xsl:value-of select="./val[@model=$target]"/>" </xsl:when><xsl:otherwise> "<xsl:value-of select="./val[not(@model)]"/>" </xsl:otherwise></xsl:choose> "<xsl:value-of select="./@readPriv"/>" "<xsl:value-of select="./@writePriv"/>"<xsl:text>&#10;</xsl:text>
32                           </xsl:otherwise></xsl:choose>
33                   </xsl:otherwise>
34           </xsl:choose>
35
36   </xsl:otherwise>
37 </xsl:choose>
38 </xsl:template>
39 </xsl:stylesheet>