This repository has been archived by the owner on Aug 26, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
soap2csv.xslt
47 lines (47 loc) · 1.93 KB
/
soap2csv.xslt
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
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
xmlns:S="http://www.w3.org/2003/05/soap-envelope"
xmlns:ns2="http://isirws.cca.cz/types/">
<xsl:output type="text" method="text" omit-xml-declaration="yes"/>
<xsl:template match="ns2:getIsirWsCuzkDataResponse">
<xsl:for-each select="//data">
<xsl:value-of select="rc" />
<xsl:text> </xsl:text>
<xsl:value-of select="cisloSenatu" />
<xsl:text> </xsl:text>
<xsl:value-of select="druhVec" />
<xsl:text> </xsl:text>
<xsl:value-of select="bcVec" />
<xsl:text> </xsl:text>
<xsl:value-of select="rocnik" />
<xsl:text> </xsl:text>
<xsl:value-of select="nazevOrganizace" />
<xsl:text> </xsl:text>
<xsl:value-of select="datumNarozeni" />
<xsl:text> </xsl:text>
<xsl:value-of select="jmeno" />
<xsl:text> </xsl:text>
<xsl:value-of select="nazevOsoby" />
<xsl:text> </xsl:text>
<xsl:value-of select="druhAdresy" />
<xsl:text> </xsl:text>
<xsl:value-of select="mesto" />
<xsl:text> </xsl:text>
<xsl:value-of select="ulice" />
<xsl:text> </xsl:text>
<xsl:value-of select="cisloPopisne" />
<xsl:text> </xsl:text>
<xsl:value-of select="okres" />
<xsl:text> </xsl:text>
<xsl:value-of select="psc" />
<xsl:text> </xsl:text>
<xsl:value-of select="druhStavKonkursu" />
<xsl:text> </xsl:text>
<xsl:value-of select="urlDetailRizeni" />
<xsl:text> </xsl:text>
<xsl:value-of select="dalsiDluznikVRizeni" />
<xsl:text>
</xsl:text>
</xsl:for-each>
</xsl:template>
</xsl:stylesheet>