Changeset 1406 for MDService2


Ignore:
Timestamp:
06/09/11 20:36:50 (13 years ago)
Author:
vronk
Message:

added template for extensionalVC in profile2VC.xsl, added test2view.xsl

Location:
MDService2/trunk/MDService2/src
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • MDService2/trunk/MDService2/src/mdservice.properties

    r1392 r1406  
    1717//cache.path = /srv/tomcat6/webapps/MDService2_cache/
    1818//workspaceprofile.path = /srv/tomcat6/webapps/MDService2_profiles/
    19 //cache.path = C:/apps/apache-tomcat/webapps/MDService2_cache/
    20 //workspaceprofile.path = C:/apps/apache-tomcat/webapps/MDService2_profiles/
    21 cache.path = C:/apache-tomcat-6.0.26/webapps/MDService2_cache/
    22 workspaceprofile.path = C:/apache-tomcat-6.0.26/webapps/MDService2_profiles/
     19cache.path = C:/apps/apache-tomcat/webapps/MDService2_cache/
     20workspaceprofile.path = C:/apps/apache-tomcat/webapps/MDService2_profiles/
     21//cache.path = C:/apache-tomcat-6.0.26/webapps/MDService2_cache/
     22//workspaceprofile.path = C:/apache-tomcat-6.0.26/webapps/MDService2_profiles/
    2323workspace.file = WorkspaceProfile.xml
    2424
     
    7777xsl.docs2htmlpage = docs2view.xsl
    7878xsl.docs2htmldetail = docs2view.xsl
     79xsl.docs2htmlpagetest = test2view.xsl
  • MDService2/trunk/MDService2/src/xsl/params.xsl

    r1270 r1406  
    1010       
    1111        <xsl:param name="base_dir" select="'/MDService2'" />
     12        <xsl:param name="base_url" select="'http://localhost:8080/MDService2/'" />
    1213       
    1314        <xsl:param name="docs_baseuri" select="concat($base_dir, '/docs/htmlpage/welcome')" />
  • MDService2/trunk/MDService2/src/xsl/profile2VC.xsl

    r1310 r1406  
    7171</xsl:template>
    7272
     73<xsl:template match="Bookmarksets/item" >
     74<VirtualCollection xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="VirtualCollection.xsd">
     75    <Type>extensional</Type>
     76    <Name><xsl:value-of select="name" /></Name>
     77    <Description>Collection published via CLARIN - MDService </Description>
     78    <CreationDate><xsl:value-of select="current-date()" /></CreationDate>
     79    <Creators>
     80        <Creator>
     81            <Person>MDService</Person>
     82            <Email>cmdi@clarin.eu</Email>
     83            <Organisation>CMDI </Organisation>
     84        </Creator>
     85    </Creators>
     86    <Purpose>sample</Purpose>
     87    <Reproducibility>untended</Reproducibility>
     88    <ReproducibilityNotice>Unmaintaned test collection.</ReproducibilityNotice>
     89    <!-- <Keywords>
     90        <Keyword>test</Keyword>
     91        <Keyword>unmaintained</Keyword>
     92    </Keywords> -->
     93    <Resources>
     94        <xsl:for-each select="Bookmarks/item" >
     95                <Resource>       
     96                    <ResourceType>Metadata</ResourceType>
     97                    <ResourceRef><xsl:value-of select="querystring" /></ResourceRef>
     98                </Resource>
     99            </xsl:for-each>
     100    </Resources>
     101</VirtualCollection>
     102       
     103</xsl:template>
     104
    73105
    74106</xsl:stylesheet>
Note: See TracChangeset for help on using the changeset viewer.