ctakes-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chen...@apache.org
Subject svn commit: r1527606 [3/3] - in /ctakes/trunk/ctakes-type-system/src/main/resources/org/apache/ctakes/typesystem/types: TypeSystem.xml TypeSystemDescription.xsl
Date Mon, 30 Sep 2013 15:13:47 GMT
Added: ctakes/trunk/ctakes-type-system/src/main/resources/org/apache/ctakes/typesystem/types/TypeSystemDescription.xsl
URL: http://svn.apache.org/viewvc/ctakes/trunk/ctakes-type-system/src/main/resources/org/apache/ctakes/typesystem/types/TypeSystemDescription.xsl?rev=1527606&view=auto
==============================================================================
--- ctakes/trunk/ctakes-type-system/src/main/resources/org/apache/ctakes/typesystem/types/TypeSystemDescription.xsl
(added)
+++ ctakes/trunk/ctakes-type-system/src/main/resources/org/apache/ctakes/typesystem/types/TypeSystemDescription.xsl
Mon Sep 30 15:13:47 2013
@@ -0,0 +1,43 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+
+<xsl:stylesheet version="1.0"
+xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:t="http://uima.apache.org/resourceSpecifier">
+
+<xsl:template match="/t:typeSystemDescription">
+  <html>
+  <body>
+  <h2>Apache cTAKES Data Dictionary </h2>
+  <table border="1">
+    <tr bgcolor="#9acd32">
+      <th>Type</th>
+      <th>Features</th>
+    </tr>
+    <xsl:for-each select="t:types/t:typeDescription">
+    <xsl:sort select="t:name"/>
+    <tr>
+      <td>
+      <b><xsl:value-of select="t:name" />
+      </b>
+      <!-- extends <xsl:value-of select="t:supertypeName" />  -->
+      <p>
+      <xsl:value-of select="t:description" />
+      </p>
+      </td>
+      <td>
+		      <table border="1">
+		          <xsl:for-each select="t:features/t:featureDescription">
+				    <tr>
+				      <td><xsl:value-of select="t:name" /></td>
+				      <td><xsl:value-of select="t:description" /></td>
+				    </tr>
+				    </xsl:for-each>  
+		      </table>
+      </td>
+    </tr>  
+    </xsl:for-each>
+  </table>
+  </body>
+  </html>
+</xsl:template>
+
+</xsl:stylesheet>
\ No newline at end of file

Propchange: ctakes/trunk/ctakes-type-system/src/main/resources/org/apache/ctakes/typesystem/types/TypeSystemDescription.xsl
------------------------------------------------------------------------------
    svn:mime-type = text/plain



Mime
View raw message