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

  • Home
  • SEARCH
  • 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 6120443
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T15:40:08+00:00 2026-05-23T15:40:08+00:00

Update: The issue still persists although it is not quite the same as before.

  • 0

Update:

The issue still persists although it is not quite the same as before. Below is an example of what is being input, what is being output and what I want to have output

An example of the input:

<p><span style="font-size: medium">Product description text</span></p>

Current output:

<p><span style="font-size: medium">Product description text</span></p>

Intended output:

<p><span style="font-size: medium">Product description text</span></p>

.

Using CDATA has helped as it allows me to input ‘<‘ but as seen in the output above, even when using disable-output-escaping, it has changed in the output

.

.

Original question:

The error I’m getting is “‘<‘, hexadecimal value 0x3C, is an invalid attribute character”

What I’m trying to do is replace all occurrences of &lt ; and &gt ; with < and > respectively.

To keep this as simple as possible, here is the code for just lt;:

<xsl:variable name="lt">
  <xsl:text><</xsl:text>
</xsl:variable>
<xsl:variable name="lthex">&amp;lt;</xsl:variable>
<xsl:copy-of select="ew:replacestring(products_description/node(),$lthex,$lt)"/>

I’ve tried various things in place of text e.g. value-of etc.

I know there’s nothing wrong with the code format and the vb code linked to it because I’m using it multiple times to replace and output elsewhere

The problem with this though is that I want < and > to literally be ouput, not a code which is then seen by the browser and changed

.

If you need more information just ask (I’m struggling to explain this very well)

Any help will be 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-05-23T15:40:08+00:00Added an answer on May 23, 2026 at 3:40 pm
    <xsl:text disable-output-escaping="yes"><![CDATA[<]]></xsl:text>
    

    This is because < is illegal (and that’s why your app is complaining). For >, you can use:

    <xsl:text disable-output-escaping="yes">></xsl:text>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

UPDATE I am still debugging this issue and still have not found a solution.
Update: This issue was not properly explored. The real issue lies within render :json
UPDATE: As it turns out, the below is caused by a caching issue on
Update: fixed delta calculations in code, still the issue remains Folks, could you please
Edit: I still have not resolved this issue. If anyone has advice I would
Update I too am experiencing the same issue, calls to +animateWithDuration:animations:completion: work fine on
UPDATE The issue is solved, all the code you can see works. Hello! I
I am going nuts here trying to resolve a cascading update/delete issue :-) I
I have this exact issue ASP.net can’t update page from event handler and it's
can anyone help? I have an issue with linq2sql and trying to Attach (update)

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.