Strip html tags

I am currently working on an application that has to send a stream of news from a Web site.

Only problem, is that news content contains certain html tags.

has tried to use regular expressions to search and replace these tags with empty strings but cannot find a way.

Already watched the net.rim.device.api.util package... only has methods to match and they all return Boolean values...

Is there a way to use a regex to find and replace these tags...
Please would really appreciate it your suggestions...

Thank you

I do not know how to find the tags with regex, but what about the regex on BlackBerry:

http://supportforums.BlackBerry.com/T5/Java-development/no-regex/m-p/345243#M63659

Tags: BlackBerry Developers

Similar Questions

  • How to force Apex to strip HTML tags in a generated report collection

    I am trying to create a collection report on a master form-driven.

    I created a procedure:

    create or replace

    PROCEDURE Processors_Coll_Prcdr(var_auditorID VARCHAR2) AS

    I have pls_integer;

    iCtrRigheVuote pls_integer: = 15;

    BEGIN

    -Open the collection item

    apex_collection.create_or_truncate_collection ('PROCESSOR_COLLECTION');

    FOR Rec IN)

    choose her. STAFFASSIGNID, his. AUDITORID, his. PROCESSORID

    LC_STAFFASSIGNMENT his

    where his. AUDITORID = var_auditorID

    )

    LOOP

    () apex_collection.add_member

    p_collection_name = > 'PROCESSOR_COLLECTION ',.

    p_c001 = > Rec.STAFFASSIGNID,

    p_c002 = > Rec.AUDITORID,

    p_c003 = > Rec.PROCESSORID);

    END LOOP;

    BECAUSE me IN 1.iCtrRigheVuote

    LOOP

    () apex_collection.add_member

    p_collection_name = > 'PROCESSOR_COLLECTION ',.

    p_c001 = > 0,

    p_c002 = > NULL,

    p_c003 = > NULL);

    END LOOP;

    END Processors_Coll_Prcdr;

    And then calls the function in a process that is located in front of the header:

    BEGIN

    Processors_Coll_Prcdr (var_auditorID = >: P81_AUDITORID);

    END;

    Then, I created a classic shape and used the following as a source:

    SELECT rownum,

    apex_item. Hidden (1, c001) Staff_Assign_ID, - Key ID

    apex_item. Text (2, c002, 8, 8) Auditor_ID,.

    apex_item. Text (3, c003, 3, 3) Processor_ID

    OF APEX_COLLECTIONS

    WHERE COLLECTION_NAME = "PROCESSOR_COLLECTION."

    Now, when I run the page, I get the data I want, but it is wrapped in HTML tags. I watched the report attributes and strip HTML is set to Yes.

    How can I fix the HTML encapsulation?

    Thank you.

    JaReg wrote:

    Who did remove the HTML tags. Unfortunately, I try to display as a list of selection with a named LOV. Is this possible?

    It is not compatible with the report query, generating a hidden item and two items of text programmatically:

    SELECT rownum,
        apex_item.hidden(1, c001) Staff_Assign_ID, --Key ID
        apex_item.text(2, c002, 8, 8) Auditor_ID,
        apex_item.text(3, c003, 3, 3) Processor_ID
    FROM APEX_COLLECTIONS
    WHERE COLLECTION_NAME = 'PROCESSOR_COLLECTION'
    

    Either generate the form in the query rate control programmatically using the apex_item , or set declaratively by using attributes of the column. You can't do both. The apex_item.select_list_from_lov* methods are used to generate by the selection list controls based program named LOVs.

  • ctx_doc. Markup html if break keywords found in the html tags

    Running Oracle 9.2.0.8

    I said to me the following indexes:
    DROP INDEX MULTI_CONTENT_EN_IDX;
    DROP INDEX MULTI_CONTENT_FR_IDX;
    
    Begin
    
    CTX_DDL.drop_preference('CRT_PREF_EN');
    CTX_DDL.drop_preference('CRT_PREF_FR');
    CTX_DDL.drop_section_group('CRT_XML_SECTION');
    ctx_ddl.drop_preference('crt_user_datastore_en');
    ctx_ddl.drop_preference('crt_user_datastore_fr');
    ctx_ddl.drop_preference('CRT_LEXER_FR');
    ctx_ddl.drop_preference('CRT_LEXER_EN');
    
    
    ctx_ddl.create_preference( 'crt_user_datastore_en', 'user_datastore' );
    ctx_ddl.set_attribute( 'crt_user_datastore_en', 'procedure', 'ctxsys_multi_index_en_prc' );
    ctx_ddl.set_attribute('crt_user_datastore_en', 'output_type', 'CLOB');
    
    ctx_ddl.create_preference( 'crt_user_datastore_fr', 'user_datastore' );
    ctx_ddl.set_attribute( 'crt_user_datastore_fr', 'procedure', 'ctxsys_multi_index_fr_prc' );
    ctx_ddl.set_attribute('crt_user_datastore_fr', 'output_type', 'CLOB');
    
    CTX_DDL.create_preference('CRT_PREF_EN','BASIC_WORDLIST');
    ctx_ddl.set_attribute('CRT_PREF_EN','FUZZY_MATCH','ENGLISH');
    ctx_ddl.set_attribute('CRT_PREF_EN','STEMMER','ENGLISH');
    ctx_ddl.set_attribute('CRT_PREF_EN','SUBSTRING_INDEX','TRUE');
         
    CTX_DDL.create_preference('CRT_PREF_FR','BASIC_WORDLIST');
    ctx_ddl.set_attribute('CRT_PREF_FR','FUZZY_MATCH','FRENCH');
    ctx_ddl.set_attribute('CRT_PREF_FR','STEMMER','FRENCH');
    ctx_ddl.set_attribute('CRT_PREF_FR','SUBSTRING_INDEX','TRUE');
     
    CTX_DDL.create_section_group('CRT_XML_SECTION','XML_SECTION_GROUP');
    CTX_DDL.add_zone_section('CRT_XML_SECTION', 'title', 'title');
    CTX_DDL.add_zone_section('CRT_XML_SECTION', 'content', 'content');
    
    
    ctx_ddl.create_preference('CRT_LEXER_EN', 'BASIC_LEXER');
    ctx_ddl.set_attribute('CRT_LEXER_EN', 'skipjoins', '-');
    ctx_ddl.set_attribute ( 'CRT_LEXER_EN', 'index_text', 'YES'); 
    ctx_ddl.set_attribute ( 'CRT_LEXER_EN', 'base_letter', 'YES');
    ctx_ddl.set_attribute ( 'CRT_LEXER_EN', 'index_stems', 'ENGLISH');
    ctx_ddl.set_attribute ( 'CRT_LEXER_EN', 'index_themes', 'YES');
    ctx_ddl.set_attribute ( 'CRT_LEXER_EN', 'theme_language', 'ENGLISH');
    
    
    ctx_ddl.create_preference('CRT_LEXER_FR', 'BASIC_LEXER');
    ctx_ddl.set_attribute('CRT_LEXER_FR', 'skipjoins', '-');
    ctx_ddl.set_attribute ( 'CRT_LEXER_FR', 'index_text', 'YES'); 
    ctx_ddl.set_attribute ( 'CRT_LEXER_FR', 'base_letter', 'YES');
    ctx_ddl.set_attribute ( 'CRT_LEXER_FR', 'index_stems', 'FRENCH');
    ctx_ddl.set_attribute ( 'CRT_LEXER_FR', 'index_themes', 'YES');
    ctx_ddl.set_attribute ( 'CRT_LEXER_FR', 'theme_language', 'FRENCH');
    
    end;
    
    
    CREATE INDEX MULTI_CONTENT_EN_IDX ON CONTENTS
    (top_html_content_en)
    INDEXTYPE IS CTXSYS.CONTEXT
    parameters ('filter ctxsys.null_filter DATASTORE crt_user_datastore_en LEXER CRT_LEXER_EN wordlist CRT_PREF_EN section group CRT_XML_SECTION');
    
    CREATE INDEX MULTI_CONTENT_FR_IDX ON CONTENTS
    (top_html_content_fr)
    INDEXTYPE IS CTXSYS.CONTEXT
    parameters ('filter ctxsys.null_filter DATASTORE crt_user_datastore_fr LEXER CRT_LEXER_fr wordlist CRT_PREF_fr section group CRT_XML_SECTION');
    In my user data store, I build an XML representation of the content, by wrapping each column with a XML tag clob value and the content of CLOB is ignored with CDATA blocks, as it contains various html tags.

    My point culminating procedure resembles the following:
    PROCEDURE highlight_query_result (
          p_query_string_in        IN              VARCHAR2,
          p_index_name_in          IN              VARCHAR2,
          p_pk_id_in               IN              NUMBER,
          p_top_content_html_out   IN OUT NOCOPY   CLOB,
          p_content_html_out       IN OUT NOCOPY   CLOB,
          pn_error_ind_out         OUT             error_logs.error_log_id%TYPE
       )
       IS
          l_clob              CLOB;
          l_cdata_start_len   INTEGER := LENGTH ('<![CDATA[');
          l_cdata_end_len     INTEGER := LENGTH (']]>');
          l_top_content       CLOB;
          l_bottom_content    CLOB;
          l_len               INTEGER;
          xmldoc              XMLTYPE;
    
          PROCEDURE cleanuptemplobs
          IS
          BEGIN
             IF DBMS_LOB.istemporary (l_top_content) = 1
             THEN
                /* Free the temporary LOB locator: */
                DBMS_LOB.freetemporary (l_top_content);
             END IF;
    
             IF DBMS_LOB.istemporary (l_bottom_content) = 1
             THEN
                /* Free the temporary LOB locator: */
                DBMS_LOB.freetemporary (l_bottom_content);
             END IF;
          END cleanuptemplobs;
       BEGIN
          pn_error_ind_out := 0;
          DBMS_LOB.createtemporary (l_top_content, TRUE);
          DBMS_LOB.createtemporary (l_bottom_content, TRUE);
          ctx_doc.markup (index_name      => p_index_name_in,
                          textkey         => ctx_doc.pkencode (p_pk_id_in),
                          text_query      => p_query_string_in,
                          restab          => l_clob,
                          plaintext       => false,
                          tagset          => 'HTML_DEFAULT',
                          starttag        => '<span class="highlight">',
                          endtag          => '</span>'
                         );
          xmldoc := XMLTYPE.createxml (l_clob);
    
          IF xmldoc IS NOT NULL
          THEN
             IF xmldoc.EXISTSNODE ('//bottom_content/text()') = 1
             THEN
                l_bottom_content :=
                         xmldoc.EXTRACT ('//bottom_content/text()').getclobval
                                                                              ();
                l_len := DBMS_LOB.getlength (l_bottom_content);
                DBMS_LOB.COPY (p_content_html_out,
                               l_bottom_content,
                               l_len - (l_cdata_start_len + l_cdata_end_len),
                               1,
                               l_cdata_start_len + 1
                              );
             END IF;
    
             IF xmldoc.EXISTSNODE ('//top_content/text()') = 1
             THEN
                l_top_content :=
                            xmldoc.EXTRACT ('//top_content/text()').getclobval
                                                                              ();
                l_len := DBMS_LOB.getlength (l_top_content);
                DBMS_LOB.COPY (p_top_content_html_out,
                               l_top_content,
                               l_len - (l_cdata_start_len + l_cdata_end_len),
                               1,
                               l_cdata_start_len + 1
                              );
             END IF;
          END IF;
    
          -- cleanup to avoid memory leaks...
          cleanuptemplobs;
       EXCEPTION
          WHEN OTHERS
          THEN
             -- cleanup to avoid memory leaks...
             cleanuptemplobs;
             pn_error_ind_out := SQLCODE;
             log_package_error_prc ('search_pkg.highlight_query_result',
                                    SQLERRM,
                                    pn_error_ind_out
                                   );
       END highlight_query_result;
    I use SQLXML to retrieve the nodes (since I'm on XML_SECTION_GROUP), and stripping the CDATA blocks... then copy it into the out CLOB, back to the appellant.

    Everything seems to work fine, until I find myself with a culmination of the keyword in a HREF... which basically breaks the page with no html tags valid on exit... such as:
    <a href="http://www.linktowebsite.com/<span class="highlight">keyword</span>.shtml#obtain">How to request a copy of a <span class="highlight">keyword</span> already issued</a>
    I have the feeling that this could be due to CDATA and XML block... being escaped on output html tags, and even if null_filter is used for indexing, it ignores the html escape characters and indexes all content stream.

    Any ideas?

    If what you have is html and you must keep intact, then it makes sense to use html_section_group instead of xml_section_group. The following creates a minimal test environment, reproduces the problem with the xml_section_group, and fixes the problem by using html_section_group. Lists of multiples and lexers words are not necessary to reproduce the problem. Markup draws in the field index tables, so what you do afterwards are not relevant to the problem. What follows is therefore only of creating the table with primary key, the insertion of a row of data, the creation of the Group of sections and index, display of chips and markup output. If refine you the code like this, which makes it much easier to understand and reproduce the problem and refine the cause.

    SCOTT@orcl_11g> -- test environment:
    SCOTT@orcl_11g> -- table and data:
    SCOTT@orcl_11g> CREATE TABLE CONTENTS_TEST
      2    (CONTENT_ID           NUMBER(10) PRIMARY KEY,
      3       CONTENT_HTML_CONTENT  CLOB)
      4  /
    
    Table created.
    
    SCOTT@orcl_11g> SET DEFINE OFF
    SCOTT@orcl_11g> Insert into CONTENTS_TEST
      2    (CONTENT_ID, CONTENT_HTML_CONTENT)
      3  Values
      4    (1,
      5       '<![CDATA[AIG - Program Overview]]>Introduction
    6 Apprenticeship 7 ]]>
    ') 8 / 1 row created. SCOTT@orcl_11g> -- reproduction of problem: SCOTT@orcl_11g> -- section group and index: SCOTT@orcl_11g> begin 2 CTX_DDL.create_section_group('CRT_XML_SECTION','XML_SECTION_GROUP'); 3 CTX_DDL.add_zone_section('CRT_XML_SECTION', 'title', 'title'); 4 CTX_DDL.add_zone_section('CRT_XML_SECTION', 'content', 'content'); 5 end; 6 / PL/SQL procedure successfully completed. SCOTT@orcl_11g> CREATE INDEX MULTI_CONTENT_EN_IDX 2 ON CONTENTS_TEST (content_html_content) 3 INDEXTYPE IS CTXSYS.CONTEXT 4 parameters ('section group CRT_XML_SECTION') 5 / Index created. SCOTT@orcl_11g> -- tokens: SCOTT@orcl_11g> select token_text from dr$multi_content_en_idx$i 2 / TOKEN_TEXT ---------------------------------------------------------------- AIG APPRENTICESHIP BR COM CONTENT HREF HTML HTTP INTRODUCTION OVERVIEW P PROGRAM SITE STRONG TITLE 15 rows selected. SCOTT@orcl_11g> -- markup: SCOTT@orcl_11g> declare 2 l_clob CLOB; 3 BEGIN 4 ctx_doc.markup 5 (index_name => 'multi_content_en_idx', 6 textkey => ctx_doc.pkencode (1), 7 text_query => 'apprenticeship', 8 restab => l_clob, 9 plaintext => FALSE, 10 tagset => 'HTML_DEFAULT', 11 starttag => '', 12 endtag => ''); 13 dbms_output.put_line (l_clob); 14 end; 15 / <![CDATA[AIG - Program Overview]]>Introduction
    apprenticeship.html">Apprenticeship ]]>
    PL/SQL procedure successfully completed. SCOTT@orcl_11g> -- correction of problem: SCOTT@orcl_11g> -- section group and index: SCOTT@orcl_11g> DROP INDEX MULTI_CONTENT_EN_IDX 2 / Index dropped. SCOTT@orcl_11g> exec CTX_DDL.drop_section_group('CRT_XML_SECTION') PL/SQL procedure successfully completed. SCOTT@orcl_11g> begin 2 CTX_DDL.create_section_group('CRT_HTML_SECTION','HTML_SECTION_GROUP'); 3 CTX_DDL.add_zone_section('CRT_HTML_SECTION', 'title', 'title'); 4 CTX_DDL.add_zone_section('CRT_HTML_SECTION', 'content', 'content'); 5 end; 6 / PL/SQL procedure successfully completed. SCOTT@orcl_11g> CREATE INDEX MULTI_CONTENT_EN_IDX 2 ON CONTENTS_TEST (content_html_content) 3 INDEXTYPE IS CTXSYS.CONTEXT 4 parameters ('section group CRT_HTML_SECTION') 5 / Index created. SCOTT@orcl_11g> -- tokens: SCOTT@orcl_11g> select token_text from dr$multi_content_en_idx$i 2 / TOKEN_TEXT ---------------------------------------------------------------- APPRENTICESHIP CDATA CONTENT INTRODUCTION P TITLE 6 rows selected. SCOTT@orcl_11g> -- markup: SCOTT@orcl_11g> declare 2 l_clob CLOB; 3 BEGIN 4 ctx_doc.markup 5 (index_name => 'multi_content_en_idx', 6 textkey => ctx_doc.pkencode (1), 7 text_query => 'apprenticeship', 8 restab => l_clob, 9 plaintext => FALSE, 10 tagset => 'HTML_DEFAULT', 11 starttag => '', 12 endtag => ''); 13 dbms_output.put_line (l_clob); 14 end; 15 / <![CDATA[AIG - Program Overview]]>Introduction
    Apprenticeship ]]>
    PL/SQL procedure successfully completed. SCOTT@orcl_11g>
  • Classic - strip HTML report does not

    Hello

    I have a classic report in which I want the HTML tags. The code is generated in the query and is displayed in a standard report column. The field HTML Strip in Pagination and layout is set to Yes, but it doesn't work.

    Apex 3.2 and 3.1 Apex have this problem.

    Am I missing something?


    Thank you!
    Patrick

    Patrick,

    I don't want the users to put HTML tags or javascript in their text so I used the HTML control strip to control the output.

    I understand what you mean but stripping is not the way to go. When you think about it, stripping would require a perfect markup to work properly, but some browsers do not need perfect markup to display the content. That's why escape is used. Just use the stripping and don't worry about those few users who will attempt to add the code. they will be the exception, not the rule.

    Kind regards
    Dan

    http://danielmcghan.us
    http://sourceforge.NET/projects/tapigen

    You can reward this answer by marking as being useful or correct ;-)

  • Firefox works with all the properties of html tags/CSS?

    I consider Firefox because MSIE has been and is more annoying.
    I want a browser that just implements all html tags and CSS properties.
    I want Firefox to install without screw it with any other application on my computer.
    Possible?

    Sure no problem to install Firefox along with other browsers.

    You must only decide what browser configured as default browser which is used when you click on a link in other programs.

  • BlackBerry Z10 adding HTML tags to emails are sent to those using OS Z10 - URGENT please

    BlackBerry z10, keep adding HTML tags to my e-mails, so receives it cannot read them.

    even more recently my POP email doesn't work at all on my phone, really bad experience with BlackBerry Z10 I miss my iPhone so much.

    I hope that the new updates will fix all these issues.

    If someone have a solution please notify

    Hey abualroob,

    Welcome to the community of BlackBerry Support Forums.

    Thanks for the question.

    We are aware of this problem and the current workaround is to use a SMTP server requires authentication user name and password.  You can get this information from your Internet service provider's SMTP server.

    Once you have the info, go to settings > accounts and click the e-mail account.  Scroll down the page until you find the user name of the SMTP server.  Placer place in the information requested and the SMTP server, and then tap Save.

    Test it by sending a new email message.

    Let me know if you have any other questions.

    See you soon.

  • Analyze and display a text string that has HTML tags on blackberry java screen

    Hello world

    I have a string of text that has some HTML in there. I want to display this text string to the screen of blackberry java by analyzing these HTML tags.

    Here is the text of the string.


    Large bright digital display
    Six output Modes
    Automatic test systems

  • Sound signals

  • Discrete outputs
  • Isolated circuit
  •  
  • Digital error detection
  • Thanks in advance!

    Vinay.


    Hello

    Displag a String with HTML tags problem solved!

    Here is the code snippet.

    BrowserField _bf11 = new BrowserField();
    prodDescManager.add (_bf11);

    String Highlight2 ="
    Seat and head radiolucent
    Manual control for instant CPR
    IV pole;

    _bf11.displaycontent (Highlight2, "http://localhost");

    Vinay.

  • HTML tags to access EL or JSTL tags

    Hello

    Is it possible models of portal page WebCenter using HTML tags to access EL or JSTL tags?

    Example, I would like my prefix domain name in my hyperlink < a href =#{preferenceBean.baseResourceURL} "> go to the domain < /a > "

    Hello

    Yes you can. You can use JSTL

    EL is part of the JSP Standard Tag Library (JSTL) and defines a standard syntax to access the dynamic values.

    The standard syntax is #{object.attribute} for a JSF expression or ${expression} for a standard JSTL expression.

    Check below link for JSTL in the ADF.

    https://blogs.Oracle.com/jdevotnharvest/entry/using_jstl_in_adf_faces

    Thank you

    Amey

  • Muse to "put" change content of the mucow file. Modification of HTML tags ' &lt; entry &gt; &lt; / input &gt; "becomes" &lt; entry... / &gt; '. browsers do not like that.

    Muse widget files (mucow) have exact desired html to include. It seems to do the data between tags that is ' < textarea... > enter data < / textarea > ' or < iframe... > < / iframe >.

    < iframe... > < div > < / div > < / iframe > is an autour work but gives bad results when used with other html tags. Muse 'place' truncates the closing token (i.e. < / iframe >). Is there a solution?

    Your mucow has some problems.

    (1) you're missing directive CDATA to prevent the XML parser to play with your HTML code.

    (2) the id of your text box must be in quotes.

    Here is a corrected version of your sample.

    http://musegrid-snap-widgets.BusinessCatalyst.com/dummy-HTML-page.html"label =" URL: "/ >

    ]]>

  • using regexp_replace to remove html tags and

    Hello

    I am using the regular expression to remove the html tags / a string, replacing them with nothing like shown below.

    example = if I enter "Hello World < u > < p > < br > apex whats coming" I should get it == > "Hello World Apex whats to come.

    Consider the query under, select regexp_replace (string, any html tag /, 'i') of double.


    so, how can I write the expression?

    Oracle 11g rel2,

    Thank you.

    Hello

    You can post the exact string you want to replace.

    If you have a string with & npsb, then you need to escape the symbol '&' (set escape '-' and add '-' infront of & in your chain) or need to cancel its definition (as mentioned by MANIK) otherwise it will encourage value for it.

    Assuming that your string is the string ' &npsb;' and '& npsb; '.

    set the escape ' \'

    WITH t (STR)

    AS (SELECT ' Hello world of)

    <>> & npsb;  "apex whats comes ------&npsb; to top"

    THE DOUBLE)

    SELECT REGEXP_REPLACE ([STR, '<[^>] * > | &npsb; | & npsb;')

    T;

    OUTPUT:

    Hello to the world of the apex of whats to come

    set define off

    WITH t (STR)

    AS (SELECT ' Hello world of)

    <>> & npsb;  "apex whats comes &npsb; to top"

    THE DOUBLE)

    SELECT REGEXP_REPLACE ([STR, '<[^>] * > | &npsb; | & npsb;')

    T;

    OUTPUT:

    Hello to the world of the apex of whats to come

  • Sort values by escaping of html tags

    Hi friends,

    My problem is described below...

    I am facing a problem where I need to sort (main title / title) by fleeing to the html tags.

    for example 'Amex' should always precede 'singer '

    Amex in DB's like Amex.
    Syngo is DB as & lt; & gt; Singer & lt; /i & gt

    something can be--< i > < i > Hello

    SQL. Append ("SELECT DISTINCT NVL(ItemDocMeta.xMainTitle, ItemDocMeta.xAlternateTitle) AS generatedPageTitle,");
    ........

    other conditions

    order by
    SQL. Append ("ORDER BY LOWER (generatedPageTitle) ASC");
    }

    Is there a any SQL function which can make it easier?

    I tried to use a regex in order of i by the clause, but it does not work until I keep it in the select part. And I am unable to use the regex in the select part with separate.

    Thank you

    For example:

    SQL > set off scan

    SQL >

    SQL >

    SQL > with sample_data like)

    2 Select "new sorting by one column" union str double all the

    3 select "sort a column" Union double all the

    4 Select '< i > < i > Station' from dual

    5)

    6. Select str

    7 of sample_data

    by regexp_replace (order 8

    9 utl_i18n.unescape_reference (str)

    10           , ']+>'

    11           )

    12;

    STR

    ------------------------

    new sorting by one column

    < i > < i > resort

    Sort a column

  • HTML tags in sql

    Hi guys

    Im running sql with html tags below, for he gone mess and return error like invalid table name.
    SELECT '<p style="font-family: Script MT Bold;color: #800080;font-size:35px;text-align: center;">' || 'Welcome' || PAPF.FULL_NAME|| '</p> 
    <p style="font-family: Times New Roman;color: #000000;font-size:15px;text-align: center;"> The Employees Information of</p>
    <p style="font-family: Times New Roman;color: #000000;font-size:20px;text-align: center;"> <strong>Central Bank of Kuwait</strong>' 
    FROM FROM PER_ALL_PEOPLE_f PAPF, FND_USER FU
    WHERE PAPF.PERSON_ID = FU.EMPLOYEE_ID AND
    TRUNC(SYSDATE) BETWEEN PAPF.EFFECTIVE_START_DATE AND
    PAPF.EFFECTIVE_END_DATE
    Im not sure if I missed anything. or of the quotes in the html tags using the name of the column in the select statement

    Thanks in advance.

    Kind regards
    Vel

    Do not do this through the selection of SQL code as HTML?

    I think that the 2 approaches following far superior.

    If you need the actual projection of SQL to contain HTML, implementation of the functions of the user for the transformation of data. For example

    SQL> create or replace function MakeDiv(
      2          divBody varchar2,
      3          fontColor varchar2 default 'black',
      4          tooltip varchar2 default null )
      5  return varchar2 is
      6          DIV_TEMPLATE constant varchar2(4000) :=
      7          '
    $BODY
    '; 8 9 htmlDiv varchar2(4000); 10 begin 11 htmlDiv := replace( DIV_TEMPLATE, '$BODY', divBody ); 12 htmlDiv := replace( htmlDiv, '$COLOR', fontColor ); 13 htmlDiv := replace( htmlDiv, '$TOOLTIP', tooltip ); 14 return( htmlDiv ); 15 end; 16 / Function created. SQL> SQL> select MakeDiv( ename, 'blue', 'Employee '||empno ) from emp; MAKEDIV(ENAME,'BLUE','EMPLOYEE'||EMPNO) ------------------------------------------------------------------------
    SMITH
    ALLEN
    WARD
    JONES
    MARTIN
    BLAKE
    CLARK
    SCOTT
    KING
    TURNER
    ADAMS
    JAMES
    FORD
    MILLER
    14 rows selected. SQL>

    An even better approach is not to do this in the projection of SQL - but on the contrary have a framework of PL/SQL, which accepts a SQL and transforms the projection that SQL SQL in a HTML report. Where this framework can use different models to generate different types of HTML reports.

    This approach is widely used by Oracle Apex.

  • HTML tags in a text form field...

    Hi all

    I created a form on a table. Now one of the fields in the form is a display only field and its data type is varchar2. The data in the column of the field database contains html tags which is displayed getting such what without be analyzed. It is not possible for me to change the data in the table itself, since there are thousands of data. I so need a way to display the data with the parsed html tags and does not as it is. Please, any help would be grealy appreciated.

    Thanks in advance...

    Read the section of the documentation on the Protection of Cross-Site Scripting (XSS).

    If you are happy that data containing HTML that you want to expose with no risk, then in view of the Security value escape special characters notsection element.

  • Highlighted the beginning and the end of the html tag

    [En]: Hello all,.

    I wonder if it is possible to display the start and end of an html tag set highlight (or with a different background) when it is activated.

    THX

    Sorry for my English.

    _________________________________________

    [En] Hello to all and all,

    I would like to know if it is possible to display the start and end of a tag html highlighted (or with a different background) when this one is selected.

    Thank you

    In English: In Code view, select the parent tag.  See screenshot below.

    English: In Code view, select parent tag. See screenshot below.

    Nancy O.

  • How to convert RTF file to the Html tag in java?

    I want to convert Doc to Html tag in java.

    I need this conversion of java code.


    Can you tell me use jar or class?


    DOC/RTF = > CONVERT INTO = > HTML tag


    regads Ninja,

    Published by: Ninja on 1 Sep, 2011 19:12

    Published by: Ninja on 1 Sep 2011 22:03

    A simple google search reveals this: http://www.codeproject.com/Tips/136483/Java-How-to-convert-RTF-into-HTML

Maybe you are looking for