xml editor

Supported platforms

Compatible with Windows7 & Mac OS X Snow Leopard

Ready for data server software
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

[xsl] Generating form fields with xsl


Subject: [xsl] Generating form fields with xsl
From: "Johnson, Kaerstin" <johns218@xxxxxxxxx>
Date: Fri, 26 Mar 2004 08:07:32 -0700 (MST)

I have an xml page that gets translated into a html form using my xsl
stylesheet. However when I try and create a textarea field, it doesnt
work. How does one create a <textarea name=""></textarea> equivalent in
xsl?

 I tried using an input with ttype textfield and also the way below: they
dont seem to work.


 <xsl:choose><xsl:when test="display='textfield'"><input type="text"
name="{name}"/></xsl:when>
      <xsl:when test="display='textarea'"><textarea name="{name}"
></textarea>   </xsl:when>

         <xsl:otherwise>

            <xsl:apply-templates select="possibleValues">
            <xsl:with-param name="typo" select="display"/>
            <xsl:with-param name="multiple" select="$multiple"/>
              <xsl:with-param name="label" select="name"/>
             	       </xsl:apply-templates>
           </xsl:otherwise>
       </xsl:choose>


Current Thread
Keywords
XML Editor | XML Author | WYSIWYG Editors | Schema Editor | XSD Documentation | XSL/XSLT Editor | XQuery | XML Databases | SVN Client
© 2002-2011 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy | This website was created & generated with <oXygen/>®XML Editor