Solved

Using Hexidecimal value in xml stream

Posted on 2011-02-10
3
576 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 110

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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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 …
What is Node.js? Node.js is a server side scripting language much like PHP or ASP but is used to implement the complete package of HTTP webserver and application framework. The difference is that Node.js’s execution engine is asynchronous and event…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

696 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