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. How to code special characters in xsl

How to code special characters in xsl

Scheduled Pinned Locked Moved XML / XSL
csharpasp-nettestingbeta-testingxml
2 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.
  • C Offline
    C Offline
    coolsharath
    wrote on last edited by
    #1

    We need to hard code some special characters in xsl so that it printsthe exact hard coded value in the dynamically created asp.net cs files. Ex: <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Testing.aspx.cs" Inherits="Testing">; Also when try to hard code the below line in xsl, the editor understands the "DOCTYPE" as DTD document.. SO please help me out in this. How to hardcode these two lines in xsl. ; Thanks, Santa

    S 1 Reply Last reply
    0
    • C coolsharath

      We need to hard code some special characters in xsl so that it printsthe exact hard coded value in the dynamically created asp.net cs files. Ex: <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Testing.aspx.cs" Inherits="Testing">; Also when try to hard code the below line in xsl, the editor understands the "DOCTYPE" as DTD document.. SO please help me out in this. How to hardcode these two lines in xsl. ; Thanks, Santa

      S Offline
      S Offline
      Stuart Dootson
      wrote on last edited by
      #2

      I suspect CDATA sections[^] will be useful for this.

      Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p

      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