equal
deleted
inserted
replaced
|
1 <file xmlns="http://www.s60.com/xml/genconfml/1" name="rootconfiguration.xml" target="\private\200159c0\install\root_2001f482\hsps\00\"> |
|
2 <setting ref="HSViews/MaxPages"/> |
|
3 <setting ref="HSViews/Views"/> |
|
4 <xsl:stylesheet version="1.0" |
|
5 xmlns:xsl="http://www.w3.org/1999/XSL/Transform" |
|
6 xmlns:xi="http://www.w3.org/2001/xinclude"> |
|
7 <xsl:output method="xml" indent="yes" encoding="UTF-8"/> |
|
8 <xsl:template match="configuration/data"> |
|
9 <configuration> |
|
10 <xsl:attribute name="max_child"><xsl:value-of select="HSViews/MaxPages"/></xsl:attribute> |
|
11 <control> |
|
12 <plugins> |
|
13 <xsl:for-each select="HSViews/Views"> |
|
14 <plugin> |
|
15 <xsl:attribute name="uid"><xsl:value-of select="Uid"/></xsl:attribute> |
|
16 <xsl:attribute name="locking_status"><xsl:value-of select="LockingStatus"/></xsl:attribute> |
|
17 <xsl:choose> |
|
18 <xsl:when test="Background = 1"> |
|
19 <intial_settings> |
|
20 <settings> |
|
21 <item> |
|
22 <xsl:attribute name="id"><xsl:value-of select="ItemIdWallpaper"/></xsl:attribute> |
|
23 <property> |
|
24 <xsl:attribute name="name"><xsl:value-of select="WallpaperPropertyName"/></xsl:attribute> |
|
25 <xsl:attribute name="value"><xsl:value-of select="BackGroundPath"/></xsl:attribute> |
|
26 </property> |
|
27 </item> |
|
28 </settings> |
|
29 </intial_settings> |
|
30 </xsl:when> |
|
31 <xsl:when test="Background = 2"> |
|
32 <intial_settings> |
|
33 <settings> |
|
34 <item> |
|
35 <xsl:attribute name="id"><xsl:value-of select="ItemIdSlideshow"/></xsl:attribute> |
|
36 <property> |
|
37 <xsl:attribute name="name"><xsl:value-of select="SlideshowPropertyName"/></xsl:attribute> |
|
38 <xsl:attribute name="value"><xsl:value-of select="BackGroundPath"/></xsl:attribute> |
|
39 </property> |
|
40 </item> |
|
41 </settings> |
|
42 </intial_settings> |
|
43 </xsl:when> |
|
44 <xsl:otherwise> |
|
45 </xsl:otherwise> |
|
46 </xsl:choose> |
|
47 </plugin> |
|
48 </xsl:for-each> |
|
49 </plugins> |
|
50 <settings/> |
|
51 </control> |
|
52 </configuration> |
|
53 </xsl:template> |
|
54 </xsl:stylesheet> |
|
55 </file> |