File: parse.xml

package info (click to toggle)
lsp-plugins 1.2.5-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 91,856 kB
  • sloc: cpp: 427,831; xml: 57,779; makefile: 9,961; php: 1,005; sh: 18
file content (74 lines) | stat: -rw-r--r-- 1,524 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
<?xml version="1.0" encoding="UTF-8" ?>

<schema>
	<!-- Metadata -->
	<meta>
		<title value="Test schema" />
	</meta>

	<!-- Color aliases -->
	<colors>
		<!-- Color definitions -->
		<color1 value="#1b1c22" />
		<red    value="@0f8" />
		<rgb    rgb="#0f0" />
		<rgba   rgba="#0000ff88" />
		<hsl    hsl="@112233" />
		<hsla   hsla="@11223388" />
		<ared   avalue="@0f84" />
	</colors>
	
	<!-- Fonts -->
	<fonts>
		<font1  src="path/to/some/font1.ttf" />
		<font2  alias="font1" />
		<font3  src="path/to/some/font3.ttf" />
	</fonts>
	
	<!-- Constants -->
	<constants>
		<key1   value="value1" />
		<key2   value="value2" />
	</constants>
	
	<!-- Root style -->
	<root>
		<b.value value="true" />
		<i.value value="123" />
		<f.value value="123.45" />
		<s.value value="some text" />
		
		<s.b.value value="true" />
		<s.i.value value="123" />
		<s.f.value value="123.45" />
		
		<f.i.value value="123" />
	</root>
	
	<!-- Nested style of window -->
	<style class="style1" parents="root">
		<i.value value="456" />
		<i.c.value value="456" />
	</style>
	
	<style class="style2" parents="root">
		<f.value value="234.56" />
		<f.c.value value="234.56" />
	</style>
	
	<style class="style3" parents="root">
		<s.value value="overridden text" />
		<s.c.value value="overridden text" />
	</style>
	
	<style class="compound" parents="style1, style2, style3">
	</style>
	
	<style class="overrides" parents="compound">
		<i.value value="567" />
		<f.value value="345.67" />
		<s.value value="nested text" />
	</style>

</schema>