cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vincent Raeber" <>
Subject bad WML transformation
Date Mon, 04 Dec 2000 15:49:29 GMT
Hi all,

I use Cocoon to generate WML code using a XSLT transformation.
My XSL is  :

<xsl:stylesheet version="1.0" 
<xsl:template match="*|/"><xsl:apply-templates/></xsl:template>
<xsl:template match="text()|@*"><xsl:value-of select="."/></xsl:template>
<xsl:template match="/">
    <do type="prev" name="Previous" label="Previous">
  <card id="Login" title="Login">
      Entrez votre login:
      <input name="login"/>
      Entrez votre mot de passe : <input name="MotDePasse"/>
    <do type="accept" label="Valider">
      <go href="wapaffichettespriveesscreen.wml"/>

After the transformation, the both <input .../> tags are modified to <input 
... >.
I've tried to insert <input ..></input> but the same result appears.

The same with the <br/> tag. (<br/> tag become <br>)

Do you know why Cocoon drop me these tags ?
Something to change in the ?
Any idea.


Get more from the Web.  FREE MSN Explorer download :

View raw message