-
-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathlayout.xml
41 lines (39 loc) · 1.2 KB
/
layout.xml
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
<Layout xmlns="urn:speedata.de:2009/publisher/en"
xmlns:sd="urn:speedata:2009/publisher/functions/en"
version="3.9.4">
<SetVariable variable="hashead" select="true()"/>
<Record element="array">
<PlaceObject>
<Table padding="2pt">
<ForAll select="map">
<Switch>
<Case test="position() = 1 and $hashead">
<Tablehead>
<Tr valign="top" backgroundcolor="#333">
<ForAll select="string">
<Td>
<Paragraph color="white">
<Value select="."/>
</Paragraph>
</Td>
</ForAll>
</Tr>
</Tablehead>
</Case>
<Otherwise>
<Tr valign="top" backgroundcolor="{ sd:alternating('tab','#fff','#ddd') }">
<ForAll select="string">
<Td>
<Paragraph>
<Value select="."/>
</Paragraph>
</Td>
</ForAll>
</Tr>
</Otherwise>
</Switch>
</ForAll>
</Table>
</PlaceObject>
</Record>
</Layout>