Showing the amper sign and greater than sign in a report

Hi All,
I am saving html code to the table and it saves exactly as I save it but when I display it I need to replace certain characters with other values so it shows as it was saved.
<code>
select replace(replace(replace(ACTION,'>','&gt;'),'<','&lt;'),chr(10),'<BR>') "Action"
from test_table1
</code>
Example:
the greater than sign I replace with an amper sign, gt;
the less than sign I replace with an amper sign, lt;
the chr(10) I replace with a BR tag.
If I save the "amper sign, gt;" to the database what do I use to have it show an " amper sign, gt;" in my report column?
Bill

Bill,
How about using the package
DBMS_XMLGEN.convert(<<value>>, 0)
when retreiving from the table and
DBMS_XMLGEN.convert(<<value>>, 1)
when saving to the database.
This package will take care of all of your special characters.
Denes Kubicek
http://deneskubicek.blogspot.com/
http://www.opal-consulting.de/training
http://htmldb.oracle.com/pls/otn/f?p=31517:1
-------------------------------------------------------------------

Similar Messages

  • SSRS & Report Viewer control - Show the print button and fire print for multi page report in Mozilla & Chrome

    I have reports in SSRS. I am using remote reports. Reports have multiple pages.
    In IE, the print button displays, but in Firefox and Chrome, it does not display.
    Below links shows how to display the print button for mozilla and chrome. These solutions only fire the print for the
    current page in the report viewer-
    http://stackoverflow.com/questions/951009/sql-reporting-services-print-button-not-shown-in-mozilla
    http://stackoverflow.com/questions/4208457/ssrs-print-button-in-chrome-and-firefox
    I need to be able to issue a print command for all
    pages in one go from the reportviewer.

    Hello,
    The common workaround about print button on ReportViewer control for non-IE browsers is add ActiveX print control or create Print function. It has pros and cons.
    I am not good at programming. But you can try to disable page breaks by setting InteractiveHeight to 0 so that the report will rendering in single page with Report Viewer control.
    Regards,
    Fanny Liu
    Fanny Liu
    TechNet Community Support

  • I have a (greater than) sign in my wi-fi password and cant enter it on my apple tv, any suggestions?

    i have a > (greater than) sign in my wi-fi password and cant enter it on my apple tv, any suggestions?

    Uh, change the password on the wifi? 
    Do I win a prize? 

  • What can i do to get my phone working. It went to a black screen when I was playing a game. I pressed the power and home button then it showed the apple logo and went back to a black screen. Doesn't came on, show a charging sign, read on iTunes.

    What can i do to get my phone working. It went to a black screen when I was playing a game. I pressed the power and home button then it showed the apple logo and went back to a black screen. Doesn't came on, show a charging sign, read on iTunes.

    Press and hold the home and power buttons for 15-20 seconds until the white Apple logo appears.

  • Greater than sign in switch statement

    it wont allow me to use the greater than sign in this program how can i fix this?
    public class q2b
        public static void main (String [] args)
            int x = 2;
            switch (x)
            case 'x < 1'
            System.out.println("x is less than 1");
            break;
    }

    what do u mean by posting the print statements,
    this is the new code
    public class q2b
        public static void main (String [] args)
            int x = 2;
            switch (x)
            case '1':
            System.out.println("x is 1");
            break;
            case '2':
            System.out.println("x is2");
            break;
            case '3':
            System.out.println("x is 3");
            break;
            case '4':
            System.out.println("x is 4");
            break;
            default:
            System.out.println("x is greater than 4 or x is less than 1");
            break;
    }i should be seeing "x is2" but instead it is showing up as "x is greater than 4 or x is less than 1"
    please help

  • The voiceover audio is disappearing and being replaced by a warning sign and a loading sign. How do I fix this?

    I recorded voiceover audio yesterday and started editing today. It was playing fine today, but about 20 minutes after I split the clip into two parts, it just shows a yellow ! warning sign and a loading sign. It won't play the voiceover audio for that part of the video, but it still works in the rest of the video. How do I fix this? Has anyone else had this problem?

    pianogrrl71 wrote:
    ... Has anyone else had this problem?
    Yes. I can find no other solution than to delete the troublesome clip.
    You may find other audio clips in your project that suddenly won't play either, until you delete the one with the yellow triangle.

  • I have full membership to CC and have been using it for 4 months. Randomly Photoshop stopped opening jpgs, so I uninstalled and re-installed. Photoshop then stopped working all together. I signed out of the app manager and when I signed back in all my inf

    I have full membership to CC and have been using it for 4 months. Randomly Photoshop stopped opening jpgs, so I uninstalled and re-installed. Photoshop then stopped working all together. I signed out of the app manager and when I signed back in all my info was gone and only "TRIAL VERSIONS" of CC apps were available. I paid for this software. I need to be able to download it again.

    Wow, Karan Taneja, you've just embarrassed yourself on a worldwide support forum.  Not only is your post ridiculous and completely inappropriate for a technical support forum, but it also shows your ignorance as to whom you think the audience is.  Apple is not here.  It's users, like you. 
    If you would have spent half the time actually reading the Terms of Use of this forum that YOU agreed to by signing up to post, as you did composing that usesless, inappropriate post, you (and the rest of us on this forum) would have been much better off.

  • I have an ipod touch 3rd gen.I used the function of erasing all content and settings and now i am stuck on this screen with the apple logo and a loading sign for the past 17 hours.CAN SOMEONE PLEASE HELP!!!!!!!!!!!!

    i have an ipod touch 3rd gen.I used the function of erasing all contents and settings and now i am stuck with this screen showing the apple logo and the loading sign for the past 17 hours.CAN SOMEONE PLEASE HELP!!!!!!!!!!!!

    Hold down the on/off button and the home button for 20 to 30 sec, when the iPod starts and the Apple logo is on the screen release the on/off button but continue to hold the home button until you see the plug into iTunes screen.  Connect the iPod to iTunes and you should be good to go.

  • I have a manual that contains headings and index entries that contain less than and greater than characters, and . The Publish to Responsive HTML5 function escapes these correctly in the main body of the text but does not work correctly in either the C

    I have a manual that contains headings and index entries that contain less than and greater than characters, < and >. The Publish to Responsive HTML5 function escapes these correctly in the main body of the text but does not work correctly in either the Contents or the Index of the generated HTML. In the Contents the words are completely missing and in the index entries the '\' characters that are required in the markers remain in the entry but the leading less than symbol and the first character of the word is deleted; hence what should appear as <dataseries> appears as \ataseries\>. I believe this is a FMv12 bug. Has anyone else experienced this? Is the FM team aware and working on a fix. Any suggestions for a workaround?

    The Index issue is more complicated since in order to get the < and > into the index requires the entry itself to be escaped. So, in order to index '<x2settings>' you have to key '\<x2settings\>'. Looking at the generated index entry in the .js file we see '<key name=\"\\2settings\\&gt;\">. This is a bit of a mess and produces an index entry of '\2settings\>'. This ought to be '<key name=\"&amp;lt;x2settings&amp;gt;\" >'. I have tested this fix and it works - but the worst of it is that the first character of the index entry has been stripped out. Consequently I cannot fix this with a few global changes - and I have a lot of index entries of this type. I'm looking forward to a response to this since I cannot publish this document in its current state.  

  • HT1688 Where are the less than and greater than symbols?

    where are the less than < and greater than > symbols?

    Assuming rawValue of the total field is returning as "10000".
    In the Calculate event of the Total field, write the following with Java Script as language.
    VP_Signature.presence = "hidden";
    Officer_Signature.presence = "hidden";
    if(total.rawValue>10000){
         VP_Signature.presence = "visible";
         Officer_Signature.presence = "visible";    
    else{ 
         VP_Signature.presence = "hidden"; 
         Officer_Signature.presence = "visible";
    Thanks
    Srini

  • I have the PDF up and trying to sign in but says there is a network error but i am connected to internet

    i have the PDF up and trying to sign in but says there is a network error but i am connected to internet

    Hi evanz65402054,
    Are you trying to log in to an Acrobat online service via Adobe Reader? If so, please try logging in via a web browser instead. Go to https://cloud.acrobat.com in a supported web browser (see System Requirements | Adobe Acrobat Pro and Online Services) using your Adobe ID and password.
    Please let us know how it goes.
    Best,
    Sara

  • I made a DVD with photo's and music. On my Powerbook G4 he plays perfect. But after burning the project on my LaCie d2 lightscribe and show the project on my TV than after 10 min. the music stops for a few seconds.

    I made a DVD with photo's and music. On my Powerbook G4 he plays perfect. But after burning the project on my LaCie d2 lightscribe and showing the project on my TV than: after 10 min. the music stops for a few seconds. On the screen of the DVD-player I can see that after the word 'play' the clock starts again with counting the time. I tried everything: * burning slow. * all programs stopped, except iDVD. * all other apparature uncoupled. Is this a problem of my iDVD-program or my LaCie burner?

    mishmumken is correct about the 99 slides.  There's an 99 chapter limit in each slideshow for DVDs and each photo is considered a chapter.  iDVD gets around that by renaming slide 100 back to 1 and goes on. 
    The pause can be minimized (but not eliminated) by burning to disk at the slowest speed available: usually 4x or 2x.  Save the project to disk (File ➙ Save to Disk menu option) and play the disk image with DVD player to check out the transition at 99 and 198.  Then burn the disk image to disk with Disk Utility at the slowest speed possible.  Also use top quality media: Verbatium, Maxell or Taiyo Yuden DVD-R are the most recommended in these forums.
    OT

  • Hi i have a iPod 5th gen it ran out of charge so as you would i put it on charge however after 25 mins i went over to see it and it wont turn on what so ever. I have held in the lock button and theres no sign of it turning on. Can anyone help? Thanks

    Hi i have a iPod 5th gen it ran out of charge so as you would i put it on charge however after 25 mins i went over to see it and it wont turn on what so ever. I have held in the lock button and theres no sign of it turning on. Can anyone help? Thanks

    Try:                                               
    - iOS: Not responding or does not turn on           
    - Also try DFU mode after try recovery mode
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    - If not successful and you can't fully turn the iOS device fully off, let the battery fully drain. After charging for an least an hour try the above again.
    - Try another cable                                                       
    - Try on another computer                                                       
    - If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
      Apple Retail Store - Genius Bar                              

  • Exchange 2010 SP2 RU2 - Indexing backlog reached a critical limit of 48 hours or the number of items in the retry queue is greater than 10000 for one or more databases

    We have been getting intermittent SCOM alarms for our Exchange 2010 MBX server citing "Indexing backlog reached a critical limit of 48 hours or the number of items in the retry queue is greater than 10000 for one or more databases"
    I see events in EventViewer that SCOM is triggering on, but not whats generating the events or how else to test for them.
        get-eventlog -computername SERVERNAME -logname "Application" -after "03/14/2013" | ?{$_.eventid -eq "5604"} | select MachineName,EventID,EntryType,Message | ft -autosize
    One MS Forum post online says it is a bug in RU4, unclear if it may also be a bug in RU2 (our installed version).
        http://social.technet.microsoft.com/Forums/en-US/exchangesvradmin/thread/9dcb3011-9327-4935-9479-62b38a6ddd87
        "I was looking for the same error and found this.. it basically says that this is a bug in RU4 and RU4-v2...and it needs to be removed."
    tests using troubleshooting scripts find no issues with search indexer,
        [PS] C:\Program Files\Microsoft\Exchange Server\V14\scripts>.\Troubleshoot-CI.ps1
        Get-EventLog : No matches found
        At C:\Program Files\Microsoft\Exchange Server\V14\scripts\CITSLibrary.ps1:622 char:40
        + $msftesqlCrashes = get-eventlog <<<< -computername $Server -after $StartTime -logname "Application" -source $msftesqlServiceName | where {$_.eventId
        -eq $msftesqlCrashEventId}
            + CategoryInfo : ObjectNotFound: (:) [Get-EventLog], ArgumentException
            + FullyQualifiedErrorId : GetEventLogNoEntriesFound,Microsoft.PowerShell.Commands.GetEventLogCommand
        Name IsDeadLocked CatalogStatusArray
        SERVERNAME False {DATABASENAME\SERVERNAME, DATABASENAME\S...
        [PS] C:\Program Files\Microsoft\Exchange Server\V14\scripts>
    and tests against searches on each DB themselves show no issues and respond typically within 3 seconds.
        [PS] C:\Program Files\Microsoft\Exchange Server\V14\scripts>Test-ExchangeSearch | ft Server, Database, ServerGuid, ResultFound, SearchTimeInSeconds, Error -AutoSize
        Server Database ServerGuid ResultFound SearchTimeInSeconds Error
        SERVERNAME DATABASENAME b16e3461-257c-40dd-a9ad-99a5f41a927e True 2.937
    I also tried to check the Performance Viewer for the MSExchange Search Indexer and MXExchange Search Indices but am unsure which of the many metrics would indicate this issue.
    We have had no reports of search issues from our users and have been unable to duplicate any impairment in our testing.
    Does anyone else have any suggestions for tests to check or steps to take on this alert? Is it simply a false alarm or a timeout of other sorts during testing? We have 80 DAGs on this server (as well as all our servers, some of which have also reported the
    same alert) and the Test-ExchangeSearch command times out before completely testing all DAGs.

    Hi IAMChrisL,
    Any updates?
    Frank Wang
    TechNet Community Support

  • HT204266 when try to update applications I get a msg showing the country of purchase different than my country

    when I try to update applications I get a msg showing the country of purchase different than my country, sometime it shows Canada, sometime USA sometime Egypt sometime Lebanon.
    not allowing to update applications
    This problem started showing since the last iOS update of phone ( iOS 6.1 )

    If you have problems with updating or with the permissions then easiest is to download the full version and trash the currently installed version to do a clean install of the new version.
    Download a new copy of the Firefox program and save the DMG file to the desktop
    * Firefox 4.0.x: http://www.mozilla.com/en-US/firefox/all.html
    * Firefox 3.6.x: http://www.mozilla.com/en-US/firefox/all-older.html
    * Trash the current Firefox application to do a clean (re-)install
    * Install the new version that you have downloaded
    Your profile data is stored elsewhere in the [http://kb.mozillazine.org/Profile_folder_-_Firefox Firefox Profile Folder], so you won't lose your bookmarks and other personal data.

Maybe you are looking for

  • Not all songs are getting synced into my iPhone

    Why is this? I have no clue. Only ~200 of my ~500 songs are getting uploaded. Also, what's the best way to store songs in my computer, such that it will not get duplicated on my iTunes and/or iPhone? Currently, I store the song as "Led Zeppelin - Sta

  • Where are the iWeb files held in relation to your Web Site?

    Having had various problems with my computer I have had to reformat hard drive 1 and rebuild all the apps. Hopefully I still have all my data on another drive that I can bring in to some of the apps. So I had to reload iWeb and of course the website

  • Organizer will not load in Windows 8

    Organizer will not load in Windows 8 directly.  If Editor is opened first Organizer will load photos but THEN converts them to hourglasses.  Hourglasses will open if double clicked.  I have no idea what is going on.

  • Oracle 8 Lite & J Developer - Business Component Wizard

    When I run the Business Component Wizard against the Oracle 8 Lite database it checks the connection ok, but fails with SQL Error [POL-5130] table or view not found. This is at the step 3 of 3 - where it shows the available tables etc. The default ta

  • Adobe Air apps in Windows 10 app store

    Do the changes coming in the Window 10 app store provide any hope for air applications making there way in?