Auto replace my tag with lt and gt media :(

Hello world

I have an interactive report that allows to convert some ' < a href... > X < /a > ' text of mine by replacing the ' < ' and ' > ' with ' & lt' and '& gt '. How can I do so that a link is actually incorporated (a link that says 'X'), rather than what presents itself as "< a href... > X < /a > '"

This OTN thread covers it a bit: Re: problem with html in sql - < is replaced to & lt; - but the "formatting column" (called attributes for me report) is not an option "view as html":)

?

Published by: user10225290 on January 21, 2009 09:26

Hello

Is the content of the column to the URL you want to link to?

I just tested creating an interactive report using:

SELECT EMPNO,
'<a href="f?p=' || v('APP_ID') || ':11:' || v('SESSION') || '">' || EMPNO || '</a>' EMPNO_LINK,
ENAME
FROM EMP

and the second column appeared and works as a link.

Andy

Tags: Database

Similar Questions

  • How to search and replace only tag values XML and tag not the columns?

    Hello

    I'm new to xml db, and I have a scenario where I need to find and replace the xml content. The search is based on a clear text and not on any column.

    I have a table as follows:

    ID VARCHAR2 (32 BYTE),
    MESSAGE_TYPE, VARCHAR2 (64 BYTE),
    XMLTYPE OF the MESSAGE_CONTENT,
    REJECTED_REASON VARCHAR2 (256 BYTE)

    And XML in the form of the sample:

    <? XML version = "1.0" encoding = "US-ASCII"? >
    < MessageEnvelope >
    < header >
    Renault < partner > < / partners >
    < MessageType > release < / MessageType >
    S74 < PartnerMessageType > < / PartnerMessageType >
    < MessageTime > 2001-12-17T 09: 30:47.0Z < / MessageTime >
    String of < LinkToRawMessage > < / LinkToRawMessage >
    < / header >
    < body >
    < version >
    < address >
    < DealerDestAddr > ABCD < / DealerDestAddr >
    < DestAddr > ABCD < / DestAddr >
    < NextDestAddr / >
    < StartAddr / >
    < / book >
    < assignment / >
    < ClientStatus / >
    < dates / >
    < HoldInfo >
    < HoldCode > HoldTest < / HoldCode >
    < / HoldInfo >
    < message / >
    < partner >
    < OrderGiverCode > CMR00BCV < / OrderGiverCode >
    < / partners >
    < ToDo / >
    < transport / >
    < vehicle >
    W0LGDM9A_Ran11115 < WINE > < / WINE >
    < / vehicle >
    < / Statement >
    < / body >
    < / MessageEnvelope >


    I'm running the query of foll:

    UPDATE t_xml D SET D.MESSAGE_CONTENT = replace (D.MESSAGE_CONTENT, "ABCD", "Chennai")
    (WHERE d.MESSAGE_CONTENT.existsNode('//*[*="ABCD"]') = 1;

    This works very well and replaces the two ABCD < DealerDestAddr > < / DealerDestAddr > and < DestAddr > ABCD < / DestAddr > tag values in Chennai. But the problem I encounter is if there is that a node with the name of the < ABCD > tag is also changed to < Chennai >. Please help me to fix this problem.

    Kind regards
    Sprightee

    What happens if I need to select and update a node that has the value null. Who doesn't have any value to it.

    You can test if the partner has a child text() node:

    existsNode(
      d.message_content
    , '/MessageEnvelope/Header[not(Partner/text())]'
    , 'xmlns="http://www.groupecat.com/CLV2/MessageEnvelope/20120501"'
    ) = 1
    
  • Replaced the HDD with SSD and does not start?

    I replaced the original HARD drive in my Latitude E5500 with a new 240 GB SSD. I can't the computer to boot. Blue lights above the blink of keyboard on and out and nothing else happens. Is there a sequence of keys that need to be pushed? I have the boot CD in the DVD player, but can't even get it to work.

    Is there a place to find written instructions?

    Thank you.

    Hi ran61a,

    Click here to find out what you say the flashing lights.

  • Foxfire (last) it replace my foxfire with pencile and even paper icon in the Mac os applications folder

    Downloaded the latest Foxfire or os on Mac and restarted. Foxfire icon has been replaced by a note pad pencil and the sovereign, went to the applications and it is also! I love my fox and I not want to go back! Thank you

    Try to download a new copy of the Firefox application and save the file to disk on the desktop image

    Your personal data are stored in the Firefox profile folder, so you will not lose your bookmarks and other data to personal when you uninstall and (re) install or update Firefox.

  • Replacement of PLSQL with Tomcat and Application Express listener

    Hello

    Anyone have advice on how to Configure Tomcat 6.0.24 to work to the same URL that OHS did, for example http://site.com/pls/apex/f?p=100 instead of http://site.com/apex/f?p=100?

    See you soon
    David

    Hi David,

    You can configure settings manually on Tomcat. Instead of seek is the conf/server.xml in the host - Tag. So you can enter the following, for example just before the closing tag ():

    
    
    

    This example assumes you have defined $CATALINA_HOME in your java environment and you have unpacked the apex.war in the/custom/apex below the CATALINA_HOME.
    You can also use an abolute path to the place were you have unpacked the war.
    Save the server.xml file, then restart Tomcat and the listener will listen to the context ' / pls/apex.

    -Udo

    Published by: Udo on 19.10.2010 20:43

  • Replace repeating lines with white and don't show the distinct values

    Hi all

    I have a SQL query that looks like this:

    SELECT Item_id, item_details, category, group INC.
    OF my_items
    WHERE THE...

    The results are as follows:

    Item_id item_details category group

    001 keyboard PC - 1 Grp1
    001 keyboard PC - 2 Grp1
    003 monitor PC - 1 Grp 1
    003 monitor PC - 2 Grp 2


    What I really want, it's like to have repeated as a draft values and keep only the distinct values. I want the output to be like this:

    Item_id item_details category group

    001 keyboard PC - 1 Grp1
    PC-2
    003 monitor PC - 1 Grp 1
    PC - 2 Grp 2


    Is there a way we can do that? Help, please

    Here's a way using the Lag as mentioned by Tubby...

    SQL> ed
    Wrote file afiedt.buf
    
      1  with t as (select '001' as item_id, 'keyboard' as item_details, 'PC-1' as category, 'Grp1' as grp from dual union all
      2             select '001', 'keyboard', 'PC-2', 'Grp1' from dual union all
      3             select '003', 'monitor', 'PC-1', 'Grp1' from dual union all
      4             select '003', 'monitor', 'PC-2', 'Grp2' from dual)
      5  -- end of test data
      6  select decode(item_id, lag(item_id) over (partition by item_id order by category, grp), null, item_id) as item_id
      7        ,decode(item_details, lag(item_details) over (partition by item_id order by category, grp), null, item_details) as item_details
      8        ,decode(category, lag(category) over (partition by item_id order by category, grp), null, category) as category
      9        ,decode(grp, lag(grp) over (partition by item_id order by category, grp), null, grp) as grp
     10  from t
     11* order by t.item_id, t.category, t.grp
    SQL> /
    
    ITE ITEM_DET CATE GRP
    --- -------- ---- ----
    001 keyboard PC-1 Grp1
                 PC-2
    003 monitor  PC-1 Grp1
                 PC-2 Grp2
    
    SQL>
    
  • Replace several tags in the xml file

    Hello

    I have a donnees_xml in the test_xml_table of the table in the format

    <? XML version = "1.0"? >
    rowset <>
    < ROW >
    < CLASS > XII has < / CLASS >
    KATE < TEACHER > < / TEACHER >
    < STUDENT_STRENGTH > 30 < / STUDENT_STRENGTH >
    < 50 OFFICES > < / DESKS >
    < / ROW >
    < ROW >
    B XII < CLASS > < / CLASS >
    < STUDENT_STRENGTH > 40 < / STUDENT_STRENGTH >
    < NUMBER OF GIRLS 15 > < / NUMBER OF GIRLS >
    < NUMBER_OF_BOYS > 25 < / NUMBER_OF_BOYS >
    < / ROW >
    < / LINES >

    Need to replace some tags with a new tag (< TEACHER > with < CLASS_TEACHER > and < CLASS > with < CLASS_AND_DIVISION >), the method used is currently
      select regexp_replace(regexp_replace(xml_data,'TEACHER>','CLASS_TEACHER>'),'CLASS>','CLASS_AND_DIVISION>')from test_xml_table ;
    version of database
    Oracle Database 11 g Enterprise Edition Release 11.2.0.2.0 - 64 bit Production
    PL/SQL Release 11.2.0.2.0 - Production
    CORE Production 11.2.0.2.0
    AMT for Solaris: 11.2.0.2.0 - Production Version
    NLSRTL Version 11.2.0.2.0 - Production


    Problems I'm here, it's that this returns me a string that I have to convert to XML again and having to use
    the regexp_replace function0 several times. Is there a function XML to aid that can be used to do this, if there is
    no other option like this, is there any function to replace alternative can replace all the necessary tags at once?

    Thanks in advance

    Edited by: M. 13 on October 26, 2012 01:40

    One possible way using XSLT:

    SQL> select xmltransform(xml_data
      2         , xmlparse(document
      3  '
      4    
      5      
      6        
      7      
      8    
      9    
     10      
     11        
     12      
     13    
     14    
     15      
     16        
     17      
     18    
     19  ')
     20  ) as result
     21  from test_xml_table
     22  ;
    
    RESULT
    --------------------------------------------------------------------------------
    
    
     
       XII A 
       KATE 
       30 
       50 
     
     
      XII B
       40 
       15 
       25 
     
    
     
    
  • How the elements tag with two tags?

    With the following function I can tag with bold and italic tags xml elements. The problem is, I also need '< b > < i >' for example. Now my question is, how is that possible?

    function tagStyles (myXmlElement) {}

    app.findTextPreferences = app.changeTextPreferences = NothingEnum.nothing;

    app.findChangeTextOptions.caseSensitive = false;

    app.findChangeTextOptions.includeFootnotes = app.findChangeGrepOptions.includeFootnotes = false;

    app.findChangeTextOptions.includeHiddenLayers = false;

    app.findChangeTextOptions.includeLockedLayersForFind = false;

    app.findChangeTextOptions.includeLockedStoriesForFind = false;

    app.findChangeTextOptions.includeMasterPages = false;

    app.findChangeTextOptions.wholeWord = false;

    objectToTag = myXmlElement;

    italic conversion

    need to be developed for other styles

    attention to the problems of nested xml tags

    app.findGrepPreferences = app.changeGrepPreferences = NothingEnum.nothing;

    app.findGrepPreferences.findWhat = '. '. + » ;

    app.findGrepPreferences.fontStyle = "italic";

    var myFindTexts = myXmlElement.findGrep ();

    If (myFindTexts.length > 0) {}

    for (var j = 0; j < myFindTexts.length; j ++) {}

    var myText = myFindTexts [j];

    var myStartIndex = myText.characters [0] .index;

    var = myText.characters [-1] .index myEndIndex;

    objectToTag = objectToTag.xmlElements.add ({markupTag: "i", xmlContent:myText});})

    myShift += 2;

    }

    }

    conversion "BOLD"

    need to be developed for other styles

    attention to the problems of nested xml tags

    app.findGrepPreferences = app.changeGrepPreferences = NothingEnum.nothing;

    app.findGrepPreferences.findWhat = '. '. + » ;

    app.findGrepPreferences.fontStyle = "Bold";

    var myFindTexts = myXmlElement.findGrep ();

    If (myFindTexts.length > 0) {}

    for (var j = 0; j < myFindTexts.length; j ++) {}

    var myText = myFindTexts [j];

    var myStartIndex = myText.characters [0] .index;

    var = myText.characters [-1] .index myEndIndex;

    objectToTag = objectToTag.xmlElements.add ({markupTag: "b", xmlContent:myText});})

    }

    }

    bold italics conversion

    need to be developed for other styles

    attention to the problems of nested xml tags

    app.findGrepPreferences = app.changeGrepPreferences = NothingEnum.nothing;

    app.findGrepPreferences.findWhat = '. '. + » ;

    app.findGrepPreferences.fontStyle = "Bold Italic";

    var myFindTexts = myXmlElement.findGrep ();

    If (myFindTexts.length > 0) {}

    for (var j = 0; j < myFindTexts.length; j ++) {}

    var myText = myFindTexts [j];

    var myStartIndex = myText.characters [0] .index;

    var = myText.characters [-1] .index myEndIndex;

    objectToTag = objectToTag.xmlElements.add ({markupTag: "b", xmlContent:myText});})

    }

    objectToTag = myXmlElement;

    for (var j = 0; j < myFindTexts.length; j ++) {}

    var myText = myFindTexts [j];

    var myStartIndex = myText.characters [0] .index;

    var = myText.characters [-1] .index myEndIndex;

    objectToTag = objectToTag.xmlElements.add ({markupTag: "i", xmlContent:myText});})

    }

    }

    }

    When there is an element with the "Bold Italic" style it looks like this: 'my element with < b > < /b > < i > "BOLD" and the italic text < /i > '. There it looks like this: ' my element with < b > < i > bold and italic < /i > < / b > text.

    Does anyone have an idea on this?

    Thanks in advance!

    Dear Stamm,

    Try this...

    objectToTag = objectToTag.xmlElements.add ({markupTag: "b", xmlContent:myText});})

    App.Select (objectToTag.texts);

    App.Selection [0] .associatedXMLElements [0].xmlElements.Add ("i", app.selection [0]);

    Kind regards

    Bala

  • Search and replace all tags font

    Howdy,

    Might be a bit of a newbie question; but I need to remove all the tags of fonts; departure and arrival; include values within my page. I tried to use wildcards with find and replace, but could not work; could someone help me please.

    Thank you

    -Sam

    Backup entire site

    Edit > find & replace

    find in > all current local site or the current document (whichever you prefer)
    Search > specific tag >
    Click on the "-" symbol to remove tag modifier options
    action > Strip tag > replace all

  • Copy and replace a folder with all its contents in labview

    I would like to know if there is a way to copy a directory and replace another directory with the first, including all of its contents?
    If you could give me an example, I would really appreciate it.

    I thought about it. I just use a match pattern and change everything before a particular string and concatenation according to match with this string and the destination file.

  • I replaced a HP with an Epson Stylus all-in-one printer and cannot get the printer to print more than one page when printing from the computer.

    Original title: new printer

    I replaced a HP with an Epson Stylus all-in-one printer and cannot get the printer to print more than one page when printing from the computer.  The printer works fine when printing from a laptop or ipad!

    Start by going here--> http://www.epson.com/cgi-bin/Store/support/supDetail.jsp?UseCookie=yes&oid=232591&prodoid=63099059&infoType=Downloads&platform=nodetect

    If the web page has not correctly detected your operating system, select it by using the drop-down list.  Rather than using the "Combo package" recommended but huge, expand the "Drivers" section and download driver printer v2.32 to a location that you will remember later.

    • Click on the ORB start and go into devices and printers.
    • Select (click) the icon of your Epson printer.
    • Once you have selected the printer, a button labeled "Print server properties" will appear in the toolbar.  Click on this button.
    • Click the "Drivers" tab on the print server properties dialog box.
    • Select the Epson printer in the list of installed printer drivers, and then click 'remove '.
    • In the context menu, select "Remove driver and driver package" and click OK
    • Click Yes, and then delete
    • Once the removal process is complete, restart the computer (probably not really necessary, but can't hurt)
    • Install the driver and the software using the file that you downloaded earlier

    At this point, your printer should work fine.  However, if you want the ability to print by emailing a file to your printer, you may need to install both 'Remote Printer Driver v1.65' in the category 'Pilot' and "v1.30 utility Configuration of printer Epson Connect" in the "Utilities" category

  • Problem pairing and using Bluetooth THE TI sensor Tag with Z10

    I can't pair and use THE TI Bluetooth sensor Tag with my Z10 on OS version 10.1.0.273.

    I can find out the sensor with bt_disc_retrieve_devices Tag, but when I try to pair with bt_rdev_pair, I get an "Operation not permitted" error (EPERM). If I skip the step of pairing and just the list of services with a bt_rdev_get_services, I get an error "No such file or directory" (ENOENT). Same thing happens in the settings menu bluetooth where I can see the device, but it fails to the pair.

    And then, when I try to connect directly to a service with bt_gatt_connect_service, I get an error 'No such device' (ENODEV), which leads me to believe that I have to be paired first to connect to a service.

    The sensor Tag I pairs and connects very well with an iPhone 4S and on the flipside, my pairs fine Z10 with other devices THE bluetooth so I don't know which side prevents matching. I was actually at the session of JAM62 to BB Live 2013 and devices we were seemed to pair well with the TI sensor tag. Not sure if the version of the OS has nothing to do with it.

    Anyone else having these issues with the TI sensor Tag matching or know of ways to solve this?

    Updated the Tag TI with TI WHEAT SDK 1.3.2 sensor and now it matches successfully. Thank you!

  • I replaced my netbook with a SSD HD and reinstalled Windows Starter with original OEM key. Now, he had become an evaluation version. How can I fix it.

    I replaced the HD with an SSD in my netbook.

    Due to the change of material (disk) I couldn't use recovery option.

    So, I reinstalled Windows Starter from scratch with the original OEM key (on the back of the Samsung netbook...

    After a delay of a licency says Windows is not is no longer valid (end on assessment) and I have to buy a new version.

    I've already paid for this edition of starter, so I don't want to buy any update.

    Samsung CAL not does not help me, because the licensecode is Microsoft.

    How can I fix it?

    How can I reactivatie this Starter Edition is assembled of original Key?

    have you enabled it? Probably the initial 30-day grace period expired.

    How to activate Windows 7 manually (activate by phone)

    1) click Start and in the search for box type: slui.exe 4

    (2) press the ENTER"" key.

    (3) select your "country" in the list.

    (4) choose the option "activate phone".

    5) stay on the phone (do not meet all the automatic guests) and wait for a person to help you with the activation.

    (6) explain your problem clearly to the support person.

    If this does not work:

    To analyze and solve problems for Activation and Validation, we need to see a full copy of the diagnostic report produced by the MGADiag tool (download and save to the desktop - http://go.microsoft.com/fwlink/?linkid=52012 )

    Once downloaded, run the tool.

    Click on the button continue, after a short time, continue button will change to a copy button.

    Click the copy button in the tool (ignore the error at this stage) and then paste (with r-click and paste or Ctrl + V) in your message.

    Please indicate the version and edition of windows from your COA. do not specify the product key.

  • replace the B Apps Tier instance with instance and A level apps

    Hello
    I have:

    Instance A
    Apps Version: R12 (12.0.6)
    IP:10.1.1.173
    Host name: oratest
    Installation: Unique and single-user node

    Instance B
    Apps Version: R12 (12.0.6)
    IP 10.1.1.173
    Host name: oraapps
    Installation: Monkey and single user node


    I want to replace the Apps Tier B instance with instance and A level apps.

    Is this possible?
    Please suggest.


    Concerning
    ANUP

    ANUP,

    I want to replace the Apps Tier B instance with instance and A level apps.

    As mentioned above, helios so the patches on both instances group level is not the same, then you cannot replace/clone the layer application only, and you will need to make a full clone of database/application as hungry_dba mentioned above.

    Kind regards
    Hussein

  • Problem with Safari and Google

    Last week on so I get message when I type a search term in Safari, it can't find the server "Google". change to say that yahoo the same search term works OK. Someone at - it ideas.

    Thank you

    Mitch

    You may have installed one or more variants of the malware "VSearch' ad-injection. Please back up all data, and then take the steps below to disable it.

    Do not use any type of product, "anti-virus" or "anti-malware" on a Mac. It is never necessary for her, and relying on it for protection makes you more vulnerable to attacks, not less.

    Malware is constantly evolving to work around defenses against it. This procedure works now, I know. It will not work in the future. Anyone finding this comment a couple of days or more after it was published should look for a more recent discussion, or start a new one.

    Step 1

    VSearch malware tries to hide by varying names of the files it installs. It regenerates itself also if you try to remove it when it is run. To remove it, you must first start in safe mode temporarily disable the malware.

    Note: If FileVault is enabled in OS X 10.9 or an earlier version, or if a firmware password is defined, or if the boot volume is a software RAID, you can not do this. Ask for other instructions.

    Step 2

    When running in safe mode, load the web page and then triple - click on the line below to select. Copy the text to the Clipboard by pressing Control-C key combination:

    /Library/LaunchDaemons

    In the Finder, select

    Go ▹ go to the folder...

    from the menu bar and paste it into the box that opens by pressing command + V. You won't see what you pasted a newline being included. Press return.

    A folder named "LaunchDaemons" can open. If this is the case, press the combination of keys command-2 to select the display of the list, if it is not already selected.

    There should be a column in the update Finder window. Click this title two times to sort the content by date with the most recent at the top. Please don't skip this step. Files that belong to an instance of VSearch will have the same date of change for a few minutes, then they will be grouped together when you sort the folder this way, which makes them easy to identify.

    Step 3

    In the LaunchDaemons folder, there may be one or more files with the name of this form:

    com Apple.something.plist

    When something is a random string, without the letters, different in each case.

    Note that the name consists of four words separated by dots. Typical examples are:

    com Apple.builins.plist

    com Apple.cereng.plist

    com Apple.nysgar.plist

    There may be one or more items with a name of the form:

    com.something.plist

    Yet once something is a random string, without meaning - not necessarily the same as that which appears in one of the other file names.

    These names consist of three words separated by dots. Typical examples are:

    com.semifasciaUpd.plist

    com.ubuiling.plist

    Drag all items in the basket. You may be prompted for administrator login password.

    Restart the computer and empty the trash.

    Examples of legitimate files located in the same folder:

    com.apple.FinalCutServer.fcsvr_ldsd.plist

    com Apple.Installer.osmessagetracing.plist

    com Apple.Qmaster.qmasterd.plist

    com Apple.aelwriter.plist

    com Apple.SERVERD.plist

    The first three are clearly not VSearch files because the names match either of the above models. The last two are not easy to distinguish by the name alone, but the modification date will be earlier than the date at which VSearch has been installed, perhaps several years. None of these legitimate files will be present in most installations of Mac OS X.

    Do not delete the folder 'LaunchDaemons' or anything else inside, unless you know you have another type of unwanted software and more VSearch. The file is a normal part of Mac OS X. The "demon" refers to a program that starts automatically. This is not inherently bad, but the mechanism is sometimes exploited by hackers for malicious software.

    If you are not sure whether a file is part of the malware, order the contents of the folder by date modified I wrote in step 2, no name. Malicious files will be grouped together. There could be more than one such group, if you attacked more than once. A file dated far in the past is not part of the malware. A folder in date dated Middle an obviously malicious cluster is almost certainly too malicious.

    If the files come back after you remove the, they are replaced by others with similar names, then either you didn't start in safe mode or you do not have all the. Return to step 1 and try again.

    Step 4

    Reset the home page in each of your browsers, if it has been modified. In Safari, first load the desired home page, then select

    ▹ Safari preferences... ▹ General

    and click on

    Set on the current Page

    If you use Firefox or Chrome web browser, remove the extensions or add-ons that you don't know that you need. When in doubt, remove all of them.

    The malware is now permanently inactivated, as long as you reinstall it never. A few small files will be left behind, but they have no effect, and trying to find all them is more trouble that it's worth.

    Step 5

    The malware lets the web proxy discovery in the network settings. If you know that the setting was already enabled for a reason, skip this step. Otherwise, you should undo the change.

    Open the network pane in system preferences. If there is a padlock icon in the lower left corner of the window, click it and authenticate to unlock the settings. Click the Advanced button, and then select Proxies in the sheet that drops down. Uncheck that Auto Discovery Proxy if it is checked. Click OK, and then apply.

    Step 6

    This step is optional. Open the users and groups in the system preferences and click on the lock icon to unlock the settings. In the list of users, there may be some with random names that have been added by the malware. You can remove these users. If you are not sure whether a user is legitimate, do not delete it.

Maybe you are looking for

  • many daq cards

    Hello I am moving forward with my project with the help of these forums and I try to not post on here asking for help, but I can't find an answer pretty clear to my last issue. I have several still model USB DAQ.  However, when writing my labview pro

  • Tunnel remote VPN Site to Site

    Hello I am facing a problem with my remote VPN users, I describe my network here. I have a site to another tunnel for my USA, tht IP 169.X.X.X. office client, we are able to connect this tunnel. now I configured remote vpn for users of my home, my of

  • BlackBerry smartphones set up Yahoo mail subfolders

    How to configure Yahoo email subfolders?  I went to the Messages, Options, Email, Folder Redirection preferences folder, but my Yahoo email folders do not appear.  Thank you.

  • Is there a way I can extend the tool icons in the Toolbox?

    Is there a way I can extend the tool icons in the Toolbox?

  • How to get telephone assistance

    I paid the annual contract, but I can use the programs