Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9099805
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T00:42:43+00:00 2026-06-17T00:42:43+00:00

Hi I have added the below two xsl text nodes to get CDATA in

  • 0

Hi I have added the below two xsl text nodes to get CDATA in my output xml

<xsl:text disable-output-escaping="yes">&lt;xsl:text disable-output-escaping="yes"&gt;&lt;![CDATA[&lt;/xsl:text&gt;</xsl:text>
<xsl:text disable-output-escaping="yes">&lt;xsl:text disable-output-escaping="yes"&gt;]]&gt;&lt;/xsl:text&gt;</xsl:text>

In My output i am getting the below

<xsl:text disable-output-escaping="yes"><![CDATA[</xsl:text>
<xsl:text disable-output-escaping="yes">]]></xsl:text>

I want my output to be like

<xsl:text disable-output-escaping="yes">&lt;![CDATA[</xsl:text>
<xsl:text disable-output-escaping="yes">]]&gt;</xsl:text>

I am bit new to xslt/xml so any help will be much appreciated 🙂

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T00:42:44+00:00Added an answer on June 17, 2026 at 12:42 am

    Shouldn’t it be

    <xsl:text disable-output-escaping="yes">&lt;![CDATA[</xsl:text> <xsl:text disable-output-escaping="yes">]]&gt;</xsl:text>
    

    If you want your output like the previous

    <xsl:text disable-output-escaping="yes">&lt;xsl:text disable-output-escaping="yes"&gt;&amp;lt;![CDATA[&lt;/xsl:text&gt;</xsl:text>
    <xsl:text disable-output-escaping="yes">&lt;xsl:text disable-output-escaping="yes"&gt;]]&amp;gt;&lt;/xsl:text&gt;</xsl:text>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using http://blog.frankel.ch/custom-loginmodule-in-tomcat tutorial for tomcat JAASRealm.I have added below in server.xml Realm
I am preparing a registration page using JSF/Spring webflow&mvc application. I have added two
I have added placeholder to a page as below. <tr > <td > <asp:PlaceHolder
I have added checkbox in display table using decorator class as shown in below
I have the HTML structure for my page as given below. I have added
I have a table like below and its rows can be added and removed
I have added Two Tabs in my app, to load two view controller using
I have added reference to a WCF service that has two end points. On
Given below is my Model definition and I have added this module part of
I am using a autocomplete http://bassistance.de/jquery-plugins/jquery-plugin-autocomplete/ And below i have two pages index.php and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.