source: ISOcat/trunk/mod-ISOcat-interface-gi/interface/JSXAPPS/ISOcat/xsl/Profiles2CDF.xsl @ 2029

Last change on this file since 2029 was 2029, checked in by mwindhouwer, 12 years ago

Initial import of all the *cats, i.e., ISOcat, RELcat and SCHEMAcat.

File size: 733 bytes
Line 
1<?xml version="1.0"?>
2<xsl:stylesheet
3  xmlns:dcif="http://www.isocat.org/ns/dcif"
4  xmlns:isocat="http://www.isocat.org/"
5  xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 
6  version="1.0"
7>
8
9        <xsl:template match="text()"/>
10       
11        <xsl:template match="profiles">
12                <data jsxid="jsxroot">
13                        <xsl:apply-templates/>
14                </data>
15        </xsl:template>
16       
17        <xsl:template match="tdg">
18                <record jsxid="tdg-{@isocat:id}" jsxtext="{@name}" jsxopen="1" jsximg="{{icon:tdg}}" jsxdisabled="1">
19                        <xsl:apply-templates/>
20                </record>
21        </xsl:template>
22       
23        <xsl:template match="profile">
24                <record jsxid="profile-{@isocat:id}" jsxtext="{@name}" jsxopen="1">
25                        <xsl:apply-templates/>
26                </record>
27        </xsl:template>
28
29</xsl:stylesheet>
Note: See TracBrowser for help on using the repository browser.