You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ctakes.apache.org by ch...@apache.org on 2013/09/30 17:13:47 UTC

svn commit: r1527606 [3/3] - in /ctakes/trunk/ctakes-type-system/src/main/resources/org/apache/ctakes/typesystem/types: TypeSystem.xml TypeSystemDescription.xsl

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