cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Problem with white-spaces
Date Mon, 13 Mar 2000 16:18:12 GMT
Hi friends,I am using the following xsp file where i get a value from a
session called "file".

<?xml version="1.0" encoding="ISO-8859-1"?>
<?cocoon-process type="xsp"?>
<?cocoon-process type="xslt"?>
<?xml-stylesheet  href="frames2.xsl" type="text/xsl"?>

<xsp:page language="java"
        String done=(String)session.getValue("file");

After that i use the value of "file" to call a file. This file is called
{file}.xml whwre {file} means the value of the parameter. 

My xsl file is :

<xsl:strip-space elements="SESSION"/>

    <xsl:template match="SESSION">
      <xsl:variable name="prueba">
           <xsl:value-of select="."/>
       <FRAMESET  cols="20%,*">

            <FRAME src="{$prueba}.xml" frameborder="1"
marginwith="5"                noresize="" scrolling="automatic"

            <FRAME name="center" src="acabando.xml"
frameborder="1"             marginwith="15"  scrolling="automatic"

Even using xsl:strip-space="SESSION" at the top the templates a lot of
white spaces are kept. 
Someone knows how to figure out this problem? Is it a problem of XSP?

Thanks in advance

View raw message