Last change
on this file since 3222 was 3222, checked in by kjdon, 22 years ago |
Initial revision
|
-
Property svn:keywords
set to
Author Date Id Revision
|
File size:
1.1 KB
|
Line | |
---|
1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <xsl:stylesheet version="1.0"
|
---|
3 | xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
|
---|
4 |
|
---|
5 | <xsl:output method="text"/>
|
---|
6 |
|
---|
7 | <xsl:template match="/message/response">
|
---|
8 | <xsl:apply-templates select="collectionList"/>
|
---|
9 | <xsl:apply-templates select="serviceList"/>
|
---|
10 | </xsl:template>
|
---|
11 |
|
---|
12 |
|
---|
13 |
|
---|
14 | <xsl:template match="collectionList">
|
---|
15 | Collections available are:
|
---|
16 | <xsl:for-each select="collection">
|
---|
17 | <xsl:value-of select="@name"/>: <xsl:value-of select="metadata[@name='Title']"/><xsl:text>
|
---|
18 | </xsl:text>
|
---|
19 | </xsl:for-each>
|
---|
20 | </xsl:template>
|
---|
21 |
|
---|
22 | <xsl:template match="collection">
|
---|
23 | <xsl:value-of select="@name"/>. <xsl:value-of select="metadata[@name='Title']"/>
|
---|
24 | </xsl:template>
|
---|
25 |
|
---|
26 | <xsl:template match="serviceList">
|
---|
27 | Services available are:
|
---|
28 |
|
---|
29 | Transforms:
|
---|
30 | <xsl:for-each select="service[@type='transform']">
|
---|
31 | <xsl:value-of select="@name"/>.
|
---|
32 | </xsl:for-each>
|
---|
33 |
|
---|
34 | Enrichs:
|
---|
35 | <xsl:for-each select="service[@type='enrich']">
|
---|
36 | <xsl:value-of select="@name"/>.
|
---|
37 | </xsl:for-each>
|
---|
38 |
|
---|
39 | Querys:
|
---|
40 | <xsl:for-each select="service[@type='query']">
|
---|
41 | <xsl:value-of select="@name"/>.
|
---|
42 | </xsl:for-each>
|
---|
43 |
|
---|
44 | </xsl:template>
|
---|
45 |
|
---|
46 |
|
---|
47 | </xsl:stylesheet> |
---|
Note:
See
TracBrowser
for help on using the repository browser.