-
Notifications
You must be signed in to change notification settings - Fork 0
/
data.xsl
37 lines (37 loc) · 1.07 KB
/
data.xsl
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
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:xsldoc="http://www.bacman.net/XSLdoc"
xmlns:ts="http://www.travelsky.com/trp/2019" xmlns:oj="http://www.openjawtech.com/xdist/2005" >
<xsl:output method="html" version="1.0" encoding="UTF-8" indent="yes"/>
<xsl:template match="/">
<html>
<head>
<h2>
<xsl:value-of select="/root/ts:table/@name"/>
</h2>
</head>
<body>
<div>
<table frame="box">
<tr>
<td style="border:1px solid black">
<xsl:value-of select="/root/ts:table/ts:tr/ts:td[1]"/>
</td>
<td style="border:1px solid black">
<xsl:value-of select="/root/ts:table/ts:tr/ts:td[2]"/>
</td>
<td style="border:1px solid black">
<xsl:value-of select="/root/ts:table/ts:tr/ts:td[3]"/>
</td>
</tr>
</table>
</div>
<div>
<xsl:variable name="xEventGFX" select="/root/oj:table/oj:imgURL"/>
<img src="{$xEventGFX}"/>
</div>
</body>
</html>
</xsl:template>
</xsl:stylesheet>