Dear list-members,

 

I set up Dspace 1.4.1 and everything works fine. Now I tried to use Ralph LeVan 
SRW-package, which installed smoothly, but only gives me access to the "test" 
database configured in SRWServer.props (http://localhost:8080/SRW/search/test). 
Trying to call the Dspace Database (http://localhost:8080/SRW/search/DSpace ) 
results in a 404 error (Tomcat 5.0.28, Postgresql 8.2 win32, jdk 1.6.0); my 
SRWServer.props for dspace are aas follows:

 

SRW.Home=C:/Programme/Apache Software Foundation/Tomcat 5.0/webapps/SRW/

default.database=DSpace

resultSetIdleTime=300

makeIndex.html=true

index.html=C:/Programme/Apache Software Foundation/Tomcat 
5.0/webapps/SRW/index.html

 

db.DSpace.class=ORG.oclc.os.SRW.DSpaceLucene.SRWLuceneDatabase

db.DSpace.home=c:/dev/dspace/

db.DSpace.configuration=config/DSpace.SRWDatabase.props

 

Dspace.SRWDatabase.props is "as is", I didn`t change anything.

 

What am I doing wrong? Did I overlook something?

 

Any help help is highly appreciated.

 

Yours

 

ralf

 

Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von orlando carvalho
Gesendet: Dienstag, 27. März 2007 16:28
An: dspace-tech@lists.sourceforge.net; [EMAIL PROTECTED]
Betreff: [Dspace-tech] XSL and SRW

 

Hi!
I'm using SRW to acess the content of Dspace and it is working!
Probably this might be a silly question but when i apply the XSL below to the 
XML files, it gives the output i want but the "<?xml version=" 1.0" 
encoding="UTF-8"?>"
line is always in the output!!!!!!I think it's weird and I would like to remove 
it from the output!Does anibosy know how?Thanks
#################################################################### 
<?xml version="1.0" encoding="UTF-8"?> 
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
    xmlns:dc="http://purl.org/dc/elements/1.1/"; 
xmlns:srw_dc="info:srw/schema/1/dc-v1.1"> 
 
    <xsl:template match="/"> 
        <xsl:apply-templates />     
    </xsl:template> 
 
    <xsl:template match="srw_dc:dc">
         
        AUTOR: <xsl:value-of select="dc:contributor.author"/> 
        TITULO: <xsl:value-of select="dc:title"/> 
        DESCRICAO: <xsl:value-of select="dc:description"/>
         
    </xsl:template> 
</xsl:stylesheet>
######################################################################
-- 
Orlando Carvalho 

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to