1 <file xmlns="http://www.s60.com/xml/genconfml/1" name="viewconfiguration.xml" target="\private\200159c0\install\view_2001f48b\hsps\00\"> |
|
2 <setting ref="HomescreenPlugins/MaxWidgets"/> |
|
3 <setting ref="HomescreenPlugins/Shortcut1ItemId"/> |
|
4 <setting ref="HomescreenPlugins/Shortcut1ItemName"/> |
|
5 <setting ref="HomescreenPlugins/Shortcut2ItemId"/> |
|
6 <setting ref="HomescreenPlugins/Shortcut2ItemName"/> |
|
7 <setting ref="HomescreenPlugins/Shortcut3ItemId"/> |
|
8 <setting ref="HomescreenPlugins/Shortcut3ItemName"/> |
|
9 <setting ref="HomescreenPlugins/Shortcut4ItemId"/> |
|
10 <setting ref="HomescreenPlugins/Shortcut4ItemName"/> |
|
11 <setting ref="HomescreenPlugins/ShortcutPropertyNameType"/> |
|
12 <setting ref="HomescreenPlugins/ShortcutPropertyNameUid"/> |
|
13 <setting ref="HomescreenPlugins/Plugins"/> |
|
14 <xsl:stylesheet version="1.0" |
|
15 xmlns:xsl="http://www.w3.org/1999/XSL/Transform" |
|
16 xmlns:xi="http://www.w3.org/2001/xinclude"> |
|
17 <xsl:output method="xml" indent="yes" encoding="UTF-8"/> |
|
18 <xsl:template match="configuration/data"> |
|
19 <configuration> |
|
20 <xsl:attribute name="max_child"><xsl:value-of select="HomescreenPlugins/MaxWidgets"/></xsl:attribute> |
|
21 <control> |
|
22 <plugins> |
|
23 <xsl:for-each select="HomescreenPlugins/Plugins"> |
|
24 <plugin> |
|
25 <xsl:attribute name="uid"><xsl:value-of select="Uid"/></xsl:attribute> |
|
26 <xsl:attribute name="bundle_id"><xsl:value-of select="BundleIdentifier"/></xsl:attribute> |
|
27 <xsl:attribute name="template_id"><xsl:value-of select="TemplateIdentifier"/></xsl:attribute> |
|
28 <xsl:attribute name="locking_status"><xsl:value-of select="LockingStatus"/></xsl:attribute> |
|
29 <xsl:if test="ShortcutWidget = 1"> |
|
30 <intial_settings> |
|
31 <settings> |
|
32 <xsl:if test="Customize1Shortcut = 1"> |
|
33 <item> |
|
34 <xsl:attribute name="id"><xsl:value-of select="Shortcut1ItemId"/></xsl:attribute> |
|
35 <xsl:attribute name="name"><xsl:value-of select="Shortcut1ItemName"/></xsl:attribute> |
|
36 <property> |
|
37 <xsl:attribute name="name"><xsl:value-of select="ShortcutPropertyNameType"/></xsl:attribute> |
|
38 <xsl:attribute name="value"><xsl:value-of select="Shortcut1Type"/></xsl:attribute> |
|
39 </property> |
|
40 <property> |
|
41 <xsl:attribute name="name"><xsl:value-of select="ShortcutPropertyNameUid"/></xsl:attribute> |
|
42 <xsl:attribute name="value"><xsl:value-of select="Shortcut1Uid"/></xsl:attribute> |
|
43 </property> |
|
44 </item> |
|
45 </xsl:if> |
|
46 <xsl:if test="Customize2Shortcut = 1"> |
|
47 <item> |
|
48 <xsl:attribute name="id"><xsl:value-of select="Shortcut2ItemId"/></xsl:attribute> |
|
49 <xsl:attribute name="name"><xsl:value-of select="Shortcut2ItemName"/></xsl:attribute> |
|
50 <property> |
|
51 <xsl:attribute name="name"><xsl:value-of select="ShortcutPropertyNameType"/></xsl:attribute> |
|
52 <xsl:attribute name="value"><xsl:value-of select="Shortcut2Type"/></xsl:attribute> |
|
53 </property> |
|
54 <property> |
|
55 <xsl:attribute name="name"><xsl:value-of select="ShortcutPropertyNameUid"/></xsl:attribute> |
|
56 <xsl:attribute name="value"><xsl:value-of select="Shortcut2Uid"/></xsl:attribute> |
|
57 </property> |
|
58 </item> |
|
59 </xsl:if> |
|
60 <xsl:if test="Customize3Shortcut = 1"> |
|
61 <item> |
|
62 <xsl:attribute name="id"><xsl:value-of select="Shortcut3ItemId"/></xsl:attribute> |
|
63 <xsl:attribute name="name"><xsl:value-of select="Shortcut3ItemName"/></xsl:attribute> |
|
64 <property> |
|
65 <xsl:attribute name="name"><xsl:value-of select="ShortcutPropertyNameType"/></xsl:attribute> |
|
66 <xsl:attribute name="value"><xsl:value-of select="Shortcut3Type"/></xsl:attribute> |
|
67 </property> |
|
68 <property> |
|
69 <xsl:attribute name="name"><xsl:value-of select="ShortcutPropertyNameUid"/></xsl:attribute> |
|
70 <xsl:attribute name="value"><xsl:value-of select="Shortcut3Uid"/></xsl:attribute> |
|
71 </property> |
|
72 </item> |
|
73 </xsl:if> |
|
74 <xsl:if test="Customize4Shortcut = 1"> |
|
75 <item> |
|
76 <xsl:attribute name="id"><xsl:value-of select="Shortcut4ItemId"/></xsl:attribute> |
|
77 <xsl:attribute name="name"><xsl:value-of select="Shortcut4ItemName"/></xsl:attribute> |
|
78 <property> |
|
79 <xsl:attribute name="name"><xsl:value-of select="ShortcutPropertyNameType"/></xsl:attribute> |
|
80 <xsl:attribute name="value"><xsl:value-of select="Shortcut4Type"/></xsl:attribute> |
|
81 </property> |
|
82 <property> |
|
83 <xsl:attribute name="name"><xsl:value-of select="ShortcutPropertyNameUid"/></xsl:attribute> |
|
84 <xsl:attribute name="value"><xsl:value-of select="Shortcut4Uid"/></xsl:attribute> |
|
85 </property> |
|
86 </item> |
|
87 </xsl:if> |
|
88 </settings> |
|
89 </intial_settings> |
|
90 </xsl:if> |
|
91 </plugin> |
|
92 </xsl:for-each> |
|
93 </plugins> |
|
94 <settings/> |
|
95 </control> |
|
96 </configuration> |
|
97 </xsl:template> |
|
98 </xsl:stylesheet> |
|
99 </file> |
|