cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vincent Raeber" <vrae...@hotmail.com>
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" 
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="*|/"><xsl:apply-templates/></xsl:template>
<xsl:template match="text()|@*"><xsl:value-of select="."/></xsl:template>
<xsl:template match="/">
<wml>
  <template>
    <do type="prev" name="Previous" label="Previous">
      <prev/>
    </do>
  </template>
  <card id="Login" title="Login">
    <p>
      Entrez votre login:
      <br/>
      <input name="login"/>
    </p>
    <p>
      Entrez votre mot de passe : <input name="MotDePasse"/>
    </p>
    <do type="accept" label="Valider">
      <go href="wapaffichettespriveesscreen.wml"/>
    </do>
  </card>
</wml>
</xsl:template>
</xsl:stylesheet>

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 Cocoon.properties ?
Any idea.


  Vincent.

_____________________________________________________________________________________
Get more from the Web.  FREE MSN Explorer download : http://explorer.msn.com


Mime
View raw message