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