Solved

Using Hexidecimal value in xml stream

Posted on 2011-02-10
3
572 Views
Last Modified: 2013-11-19
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
Comment
Question by:Mez4343
  • 2
3 Comments
 
LVL 10

Assisted Solution

by:Mez4343
Mez4343 earned 0 total points
ID: 34864818
sry I meant Red Gate db script
0
 
LVL 108

Accepted Solution

by:
Ray Paseur earned 250 total points
ID: 34870024
&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
 
LVL 10

Author Closing Comment

by:Mez4343
ID: 34904782
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

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There are two main kinds of selectors in CSS: One is base selector like h1, h2, body, table or any existing HTML tags.  For instance, the following rule sets all paragraphs (<p> elements) to red: (CODE) CSS also allows us to define our own custom …
JavaScript has plenty of pieces of code people often just copy/paste from somewhere but never quite fully understand. Self-Executing functions are just one good example that I'll try to demystify here.
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…
The viewer will learn how to count occurrences of each item in an array.

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now