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 value-of output problem!

XSL value-of output problem!

Scheduled Pinned Locked Moved XML / XSL
helpxmlquestion
4 Posts 2 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.
  • S Offline
    S Offline
    Saul Johnson
    wrote on last edited by
    #1

    Hi All! After the success of the help I got on my earlier post I have run into another problem. While all my tags now work anywhere in the document below the BODY tag, my xsl:value-of in my earlier post fails to output any tags below the first one, for instance:

    <B>
    <EM>
    Hello World!
    </EM>
    </B>

    Only Outputs:

    <B ONCLICK="" ONDBLCLICK="" ONMOUSEDOWN="" ONMOUSEUP="" ONMOUSEOVER="" ONMOUSEMOVE="" ONMOUSEOUT="" ONKEYPRESS="" ONKEYDOWN="" ONKEYUP="" ID="" CLASS="" TITLE="" STYLE="" DIR="" LANG="">
    Hello World!
    </B>

    The EM Tags are being ignored completely, and when the tags are swapped the B tags are ignored completely. Does anyone know why this is happening, and if so, can anyone suggest a fix or workaround? Thanks! MrWolfy :-D

    S 1 Reply Last reply
    0
    • S Saul Johnson

      Hi All! After the success of the help I got on my earlier post I have run into another problem. While all my tags now work anywhere in the document below the BODY tag, my xsl:value-of in my earlier post fails to output any tags below the first one, for instance:

      <B>
      <EM>
      Hello World!
      </EM>
      </B>

      Only Outputs:

      <B ONCLICK="" ONDBLCLICK="" ONMOUSEDOWN="" ONMOUSEUP="" ONMOUSEOVER="" ONMOUSEMOVE="" ONMOUSEOUT="" ONKEYPRESS="" ONKEYDOWN="" ONKEYUP="" ID="" CLASS="" TITLE="" STYLE="" DIR="" LANG="">
      Hello World!
      </B>

      The EM Tags are being ignored completely, and when the tags are swapped the B tags are ignored completely. Does anyone know why this is happening, and if so, can anyone suggest a fix or workaround? Thanks! MrWolfy :-D

      S Offline
      S Offline
      Saul Johnson
      wrote on last edited by
      #2

      Hi All! It has just occurred to be that my original question could have been put far more simply: How would I output unescaped HTML tags using the xsl:value-of element, I have tried disable-output-escaping="yes" but the html tags within are just ignored and seemingly not outputted at all. Thanks! MrWolfy :-D

      F 1 Reply Last reply
      0
      • S Saul Johnson

        Hi All! It has just occurred to be that my original question could have been put far more simply: How would I output unescaped HTML tags using the xsl:value-of element, I have tried disable-output-escaping="yes" but the html tags within are just ignored and seemingly not outputted at all. Thanks! MrWolfy :-D

        F Offline
        F Offline
        Frank Horn
        wrote on last edited by
        #3

        Have you tried copy-of instead of value-of?

        S 1 Reply Last reply
        0
        • F Frank Horn

          Have you tried copy-of instead of value-of?

          S Offline
          S Offline
          Saul Johnson
          wrote on last edited by
          #4

          Hi And Thanks! Thanks Frank! Again you have provided the soloution to a problem I have been grappling with for weeks! Thanks Again! MrWolfy :-D

          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