You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by "K. Rumman Akhter" <ka...@sputnik7.com> on 2000/03/08 00:15:29 UTC

wierd spaces in

i am try to generate a page that sends a user to a certain page depending on
the xml file. consider the following code fragment:

<form method="post">
  <xsl:attribute name="action"><xsl:value-of
select="type"/>.xml</xsl:attribute>
</form>

this outputs the html:

<form action="
       html
      .xml" method="post">

and the filename for the action attribute ends up being "html      .xml"
instead of "html.xml". does anyone know how i can get rid of all the extra
spaces and get:

<form action="html.xml" method="post">

thanks,
RUm

***
K h o n d k e r RUmman A k h t e r
Programmer
sputnik7.com

kakhter@sputnik7.com