Hi,
I encoured problems with dynamic variable in a xsl sheet!
ie: with an <OPTION ...> form for a >SELECT> form
this code match, ok
<SELECT name="country">
<xsl:for-each select="profil/countries/country">
<OPTION value="{iso_codeCountry}" >
<xsl:apply-templates select="nameCountry"/></OPTION>
</xsl:for-each>
</SELECT>
but how insert the variable DISABLED here: <OPTION
value="{iso_codeCountry}" DESABLED >...
cocoon doesn't approve this way: <OPTION value="{iso_codeCountry}"
{disabledTag} >
the error is:
org.apache.cocoon.processor.ProcessorException: Could not associate
stylesheet to document: error reading file:/d:/program files/apache
group/apache/htdocs/agenda/fr/modules/screens/screen_1.xsl:
org.xml.sax.SAXParseException: Element type "OPTION" must be followed by
either attribute specifications, ">" or "/>".
I understand the cause of this error but I don't know how to do to
match it!
Same problem with tag RADIO !
If somebody know a (the?) solution, thanks to help me!
:-)
Julien
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]