Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 596
  • Last Modified:

Using Hexidecimal value in xml stream

How can I replace the '<=' in below xml snipet with its hexidecimal equivilent? Syntax must be compatible within xml stream. Im running a Reg Gate db script and I believe that the < is not being translated correctly on Chinese OS.

IF (@IsPortfolioDatabase = 1 AND @ReleaseVersion  <= @TargetVersion)

I tried 0x3c;= but doesnt work.
0
Mez4343
Asked:
Mez4343
  • 2
2 Solutions
 
Mez4343Author Commented:
sry I meant Red Gate db script
0
 
Ray PaseurCommented:
&lt; is the "entitized" version of the less-than sign <

This statement, when the entities are not present, would be like this:
IF (@IsPortfolioDatabase = 1 AND @ReleaseVersion  <= @TargetVersion)

The XML and HTML entities are discussed in detail here:
http://en.wikipedia.org/wiki/List_of_XML_and_HTML_character_entity_references
0
 
Mez4343Author Commented:
It turns out that the &lt; is recongined correctly on chinese OS so that was not my problem but thanks for the wiki link. Should come in handy latter.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now