Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. XML / XSL
  4. XSL Transform Textarea Problem w/IE6?

XSL Transform Textarea Problem w/IE6?

Scheduled Pinned Locked Moved XML / XSL
xmlhelphtmlquestionannouncement
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    DVryce
    wrote on last edited by
    #1

    I've seen this issue noted a few other places on the web, but so far no good solutions have been found. I have an XSL file I'm using to transform some XML. This XSL file has existed for a long time now and has always worked on version of IE <= 5.5. Some of our clients are now moving to an IE6 environment and I've found that the new version of the XML parser included with IE6 messes up when performing the transform. Specifically, when the transform attempts to output a textarea block, with code similar to this:

    <xsl:attribute name="FIELD_TYPE">s</xsl:attribute> <xsl:attribute name="DATA_TYPE">T</xsl:attribute>

    The closing textarea tag is never output to the HTML when using the XML parser included with IE6. In IE <= 5.5 however this works just fine. Has anybody else experienced similar problems, or have a suggestion for a solution? It would be appreciated! Thanks!

    C P 2 Replies Last reply
    0
    • D DVryce

      I've seen this issue noted a few other places on the web, but so far no good solutions have been found. I have an XSL file I'm using to transform some XML. This XSL file has existed for a long time now and has always worked on version of IE <= 5.5. Some of our clients are now moving to an IE6 environment and I've found that the new version of the XML parser included with IE6 messes up when performing the transform. Specifically, when the transform attempts to output a textarea block, with code similar to this:

      <xsl:attribute name="FIELD_TYPE">s</xsl:attribute> <xsl:attribute name="DATA_TYPE">T</xsl:attribute>

      The closing textarea tag is never output to the HTML when using the XML parser included with IE6. In IE <= 5.5 however this works just fine. Has anybody else experienced similar problems, or have a suggestion for a solution? It would be appreciated! Thanks!

      C Offline
      C Offline
      Christopher Lord
      wrote on last edited by
      #2

      I think you can fix this by putting at the end of the attributes. This should force it to insert a space into the text area, which in turn will split the shortcut into <textarea> </textarea>. The only problem is that the text box will have a space in it already for the user. There may be another way to do this, I've never run into the problem myself. </x-turndown>

      1 Reply Last reply
      0
      • D DVryce

        I've seen this issue noted a few other places on the web, but so far no good solutions have been found. I have an XSL file I'm using to transform some XML. This XSL file has existed for a long time now and has always worked on version of IE <= 5.5. Some of our clients are now moving to an IE6 environment and I've found that the new version of the XML parser included with IE6 messes up when performing the transform. Specifically, when the transform attempts to output a textarea block, with code similar to this:

        <xsl:attribute name="FIELD_TYPE">s</xsl:attribute> <xsl:attribute name="DATA_TYPE">T</xsl:attribute>

        The closing textarea tag is never output to the HTML when using the XML parser included with IE6. In IE <= 5.5 however this works just fine. Has anybody else experienced similar problems, or have a suggestion for a solution? It would be appreciated! Thanks!

        P Offline
        P Offline
        Paul Watson
        wrote on last edited by
        #3

        Shouldnt you be using xsl:element to do this? xsl:element Don't have time to test it but I assume something like this:

        <xsl:element name="textarea">
        <xsl:attribute name="FIELD_TYPE">s</xsl:attribute>
        <xsl:attribute name="DATA_TYPE">T</xsl:attribute>
        </xsl:element>

        regards, Paul Watson Bluegrass Cape Town, South Africa

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups