Changeset 2232 for SMC


Ignore:
Timestamp:
09/19/12 10:33:21 (12 years ago)
Author:
vronk
Message:

added minimal documentation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • SMC/trunk/SMC/src/scripts/smc_init.xsl

    r1876 r2232  
    1313  xmlns:skos="http://www.w3.org/2004/02/skos/core#"
    1414  xmlns:dcam="http://purl.org/dc/dcam/"
    15   exclude-result-prefixes=""
    16 >
    17 <!-- 
    18 <purpose> starting script for SemanticMapping components
    19 
    20 generate lists for Terms (CMDI-Elements, CMDI-components, Datcats)
    21  based on the Components-list (provided by CompReg).
    22                 strategy:  regard CMD_Component, CMd_Element, ConceptLink</purpose>
    23 <params>
    24 <param name="isocat_file">the DCIF-Metadata-Profile</param>
    25 </params>
    26 <history>
    27         <change on="2011-10-20" type="created" by="vr">from complist2terms_201109.xsl</change> 
    28 </history>
    29 -->
    30 
     15  xmlns:xd="http://www.oxygenxml.com/ns/doc/xsl"
     16  exclude-result-prefixes="my xd"
     17 >
     18 
     19 <xd:doc scope="stylesheet">
     20  <xd:p><xd:b>Created on:</xd:b> Sep 4, 2012</xd:p>
     21  <xd:p><xd:b>Author:</xd:b> m</xd:p>
     22  <xd:desc>
     23   <xd:p>starting script for SemanticMapping components.</xd:p>
     24   <xd:p>generate lists for Terms (CMDI-Elements, CMDI-components, Datcats)
     25    based on the Components-list (provided by CompReg).</xd:p>
     26   <xd:p>strategy:  regard CMD_Component, CMd_Element, ConceptLink</xd:p>   
     27  </xd:desc>
     28  <!-- <xd:param name="isocat_file">
     29   <xd:p>String to be analyzed</xd:p>
     30   </xd:param>
     31   <xd:return>
     32   <xd:p>A substring starting from the beginning of <xd:i>string</xd:i> to the last
     33   occurrence of <xd:i>searched</xd:i>. If no occurrence is found an empty string will be
     34   returned.</xd:p>
     35   </xd:return>-->
     36 </xd:doc>
    3137<xsl:include href="smc_commons.xsl"/>
    3238       
    33 <xsl:output method="xml" indent="yes" />
     39 <xd:doc>
     40  <xd:desc>
     41   <xd:p></xd:p>
     42  </xd:desc>
     43 </xd:doc>
     44<xsl:output method="xml" indent="yes" exclude-result-prefixes="#all" />
    3445
    3546
     47 <xd:doc>
     48  <xd:desc>
     49   <xd:p></xd:p>
     50  </xd:desc>
     51 </xd:doc>
    3652<xsl:template match="/" >
    37  <xsl:copy-of select="my:getData($data_key,$cache)"></xsl:copy-of>
     53 <xsl:copy-of select="my:getData($data_key,$cache)" exclude-result-prefixes="my"></xsl:copy-of>
    3854</xsl:template>                 
    3955         
Note: See TracChangeset for help on using the changeset viewer.