cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marco Spinetti" <m.spine...@pisa.iol.it>
Subject R: Problem with the OPTION HTML TAG with 1.8.2
Date Wed, 14 Mar 2001 15:50:41 GMT
try:
<xsl:template name="minute">
                <SELECT NAME="{@NOM}Minute">
                        <OPTION SELECTED>00</OPTION>
                        <OPTION value="15">15</OPTION>
                        <OPTION value="30">30</OPTION>
                        <OPTION value="45">45</OPTION>
                </SELECT>
        </xsl:template>

I hope this help you.
Marco


----- Original Message -----
From: Emmanuel.Leguy <Emmanuel.Leguy@lifl.fr>
To: <cocoon-users@xml.apache.org>
Sent: Wednesday, March 14, 2001 4:47 PM
Subject: Problem with the OPTION HTML TAG with 1.8.2


> Hello,
>
> I try to use Cocoon 1.8.2. I made a year ago a style sheet which worked
> with version 1.5. I made some transformations to be up to date with
> 1.8.2.
>
> The following code:
>
>         <xsl:template name="minute">
>                 <SELECT NAME="{@NOM}Minute">
>                         <OPTION SELECTED>00</OPTION>
>                         <OPTION>15</OPTION>
>                         <OPTION>30</OPTION>
>                         <OPTION>45</OPTION>
>                 </SELECT>
>         </xsl:template>
>
> throws:
>
> --------------------------------------------------------------------------
> org.apache.cocoon.processor.ProcessorException: Could not associate
> stylesheet to document:  error reading formulaire2.xsl:
> org.xml.sax.SAXParseException: Attribute name "OPTION" must be followed
> by the '=' character.
>              at
> org.apache.cocoon.processor.xslt.XSLTProcessor.getStylesheet(Compiled
> Code)
>              at
> org.apache.cocoon.processor.xslt.XSLTProcessor.process(Compiled Code)
>              at org.apache.cocoon.Engine.handle(Compiled Code)
>              at org.apache.cocoon.Cocoon.service(Compiled Code)
>              at javax.servlet.http.HttpServlet.service(Compiled Code)
>              at org.apache.jserv.JServConnection.run(Compiled Code)
>              at java.lang.Thread.run(Compiled Code)
> -------------------------------------------------------------------------
>
> And there is no problem if I comment OPTION tags.
>
> The header of the page:
>
> <?xml version="1.0"?>
> <xsl:stylesheet version="1.0"
> xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
>
>
> I have also a problem with characters' accentuation in french ('e, `a,
> `e...etc)
>
> Thanks for your help,
>
> Manu.
> --
> Laboratoire d'Informatique Fondamentale de Lille (LIFL)
> Universite des Sciences et Technologies de Lille
> Batiment M3 Cite Scientifique
> 59655 Villeneuve d'Ascq Cedex
> FRANCE
> tel: 03 20 33 63 38
> fax: 03 20 43 65 66
> mailto:Emmanuel.Leguy@lifl.fr
> http://www.lifl.fr
>
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>
> To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail: <cocoon-users-help@xml.apache.org>
>
>


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message