cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thangadurai <>
Subject <option> tag in xsl
Date Tue, 04 Sep 2001 06:50:07 GMT
Hi All,
  I am new to cocoon.... i have  problem while using  html <option>tag
in my xsl.
 Please see the following xsp and xsl files

*********My xsp page ****************

<?xml version="1.0"?>
<?xml-stylesheet href="option.xsl" type="text/xsl"?>
<?cocoon-process type="xslt"?>

<xsp:page language="java"




************My xsl(option.xsl)*****************

<?xml version="1.0"?>

<xsl:stylesheet version="1.0"

  <xsl:template match="page">

   <select name="audience" size="1">
           <option value="PL1">PL</option>
           <option selected="true" value="ALL">ALL</option>


************I got the following result (Note that the option tags are
not closed)**********

<select name="audience" size="1"><option value="PL1">PL<option selected


I couldn't find the reason for, why the option tags are not closed...
Do you know..?

Please check that your question has not already been answered in the
FAQ before posting. <>

To unsubscribe, e-mail: <>
For additional commands, e-mail: <>

View raw message