Problem when cleaning HTML data in coldfusion

Hi,
I have below piece of CF code to clean&convert HTML data into a well formatted one.
<cffunction name="cleanHTML" returntype="string">
     <cfargument name="sHTML" type="string" required="yes">
       <cfset sHTML = reReplace(sHTML, "\r\n(\S?)<br>\s*(<(u|o)l>)", "\1", "all")>
       <cfset sHTML = reReplace(sHTML, "</?(p)>(\s+| +)*(<br>(\s+| +)*)+$", "", "all")>
     <cfreturn sHTML>
</cffunction>
<cfquery name="getDetailsOfReport" datasource="datasource_name" >
select details from reports where report_id = 1326065
</cfquery>
<cfoutput>#cleanHTML(getReport.details)#</cfoutput>
Above code is working fine when getDetailsOfReport query is returning small amount of data, however fails when query returns large data.
Note:
Details column of REPORTS table is a clob field which contains html data.
Can anybody assist me solving this issue?
(OR)
Please let me know the right procedure to clean HTML if I am on the wrong way.
Thanks in advance,
Best Regards,
Manoz.

Clean & Convert means,
1) Remove new lines from html
2) Remove breaks before lists eg <br><ol>
3) Get rid of paragraph tags
4) Get rid of trailing line breaks (including white space and forces spaces  
The expected input is some HTML content
eg:
<ul>
    <li><span style="font-size: 7.5pt; font-family: Verdana; mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA; mso-bidi-font-family: 'Times New Roman'">Tool measurement assessment in lab achieved.</span></li>
    <li><span style="font-size: 7.5pt; font-family: Verdana; mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA; mso-bidi-font-family: 'Times New Roman'"><span style="font-size: 7.5pt; font-family: Verdana; mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA; mso-bidi-font-family: 'Times New Roman'">1<sup>st</sup> coil tubing job.</span></span></li>
</ul>
And the expected output is also HTML content (But after applied above 4 operations to the given input).

Similar Messages

  • How to avoid the split problem when uploading the data from csv file

    Dear Friends,
                  I have to upload data from the .csv file to my custom table , i have found a problem when uploading the data .
    i am using the code as below , please suggest me what i have to do in this regard
          SPLIT wa_raw_csv  AT ',' INTO
                    wa_empdata_csv-status
                     wa_empdata_csv-userid
                     wa_empdata_csv-username
                     wa_empdata_csv-Title
                     wa_empdata_csv-department.
    APPEND wa_empdata_csv TO  itab.
    in the flat file i can see for one of the record for the field Title  as
    Director, Finance - NAR............there by through my code the  wa_empdata_csv-Title is getting splited data as "Director, and  Department field is getting Finance - NAR" , i can see that even though  " Director, Finance - NAR"  is one word it is getting split .
    .......which is the problem iam facing.Please could any body let me know how in this case i should handle in my code that this word
    "Director,Finance - NAR"   wil not be split into two words.
    Thanks & Records
    Madhuri

    Hi Madhuri,
    Best way to avoid such problem is to use TAB delimited file instead of comma separated data. Generally TAB does not appear in data.
    If you are generating the file, use tab instead of comma.
    If you cannot modify the format of file and data length in file is fixed character, you will need to define the structure and then move data in fixed length structure.
    Regards,
    Mohaiyuddin

  • Problem when recording the data using BDC for Tcode CJ02.

    Dear Experts,
    When i am trying to record the data for TCODE : CJ02 i need to enter the project  Definition and enter the WBS element it takes me to the screen then i should select the WBS element and attach a file for that selected WBS element . The option for me to attach the attachment of file  will be available on the application area(Services for the Object).
    Now the problem when i try to do recording in SHDB this option like create attachement is not visible in the recodring . Kindly suggest me what can i do such that i attach the file for the particular project def and WBS element.
    Either suggest any function module or other procedure .......
    Regards,
    Sana.

    Hi,
      in BDC each and every action is recording. If your press enter in same screen that also recorded once aging may be this is your case repeating field values will appear. we can solve the problem for repeat fields like below.
    suppose in your excel having repeated field X1 X2 X3 the X2 contains repeated field X3 means delete the X3 field.
    Now In your itab having X1 and X2 fields. While in the LOOP the ITAB pass the X2 field to repeated the fields.
    LOOP at ITAB to WA.
    CLEAR bdcdata_wa.
    bdcdata_wa-fnam = 'BDC_CURSOR'.
    bdcdata_wa-fval = 'RM08M-EBELN'.
    APPEND bdcdata_wa TO bdcdata_tab.
    CLEAR bdcdata_wa.
    bdcdata_wa-fnam = 'INVFO-BLDAT'.
    bdcdata_wa-fval = wa-X2." 1st time pass the X2 fields
    APPEND bdcdata_wa TO bdcdata_tab.
    CLEAR bdcdata_wa.
    bdcdata_wa-fnam = 'INVFO-BLDAT'.
    bdcdata_wa-fval = wa-X2." pass the same value to repeated field
    APPEND bdcdata_wa TO bdcdata_tab.
    Endloop.
    Hope you can understand.
    Regards,
    Dhina..

  • Problem in accessing HTML data

    Hi Frens,
    I m getting some html data from my servlet. But From Server
    it is sending the data in html format. There, It is sending the
    data in CDATA format. Here I get some problem in displaying the
    data in Flex. I have following questions:
    1. How can I parse that XML data into HTML data, Since that
    data comes from many mail servers, I don't have idea, whether they
    are properly formatted or not. I am getting this data in xml
    format. How can i convert it back to HTML format?
    2. The 2nd Problem is that it may contain some images also,
    So will component is suitable for me to display the data? Example
    is a mail, If it has some html data, along with images. Which
    component is suitable for this?
    Please help to get out this problem.
    Thks

    If I knew a data service was returning HTML to me, I would
    use resultFormat="text" and just accept the data as-is. Then you
    can assign it to the htmlText property of a TextArea.
    The Flash Player has limited HTML capabilities. It can
    display images using the <img> HTML tag.
    Depending on your needs you might want to look at Apollo
    which has an HTML UI component which can display real, complete
    HTML.

  • Problem when upload legacy data

    Hi all,
    I've faced a problem when uploading asset legacy data (AS91) for customer. My customer have started depreciation on May 21, 2009, and I set transfer date is November 30, 2010. So SAP doesn't calculate right planned value for December, 2010. I think that problem related to the first month depreciation. It calculated full month for depreciation (instead of from May 21) and change the planned value for December 2010. So I want SAP just calculate 11 days depreciation for May 2009. How can I config to do this?
    Thanks in advance!

    Hi,
    Check in the asset master Opening Start Date for depreciation.. If it is under open mode change that date and see asset explorer for depreciation values.
    Thanks,
    Padmaja

  • A problem when using a data element in BAPI

    Hi there,
    I build a function module, and want to use it as a BAPI. But when I add the function module as a method of a BAPI object, it gives me the following error: data type xxxxx cannot be used for methods.
    I guess the problem happens because of the type of data element I used for the input parameter of the function module. Thus I tried many other data elements, but I keep getting the same error. I am really out of the game. Could anyone tell me which data element I should use for the input parameter of the function module? The function module has only one input parameter, which should be a string with length less than 100.
    Thank you so much!!
    Sincerely,
    Bing

    The function module has only one input parameter, which should be a string with length less than 256. (I tried many predefined data element like RPLM_STRING, but when I tried to add the function module as a method of BAPI, the SAP always gave me the error: data type xxxxx cannot be used for methods)
    It only has one output parameter: RETURN (associated type: BAPIRETURN)
    I am really not familiar with ABAP program, let alone BAPIs. Any suggestions would be very helpful to me. I sincerely appreciate your help.
    Bing

  • Problem when summery the data type of interval day to second

    hi
    i write a program calculate periods of time and summary it then i used interval day to second data type
    oracle support basic 4 math operation (+,-,*,/) on interval
    but although oracle does not support summary function like sum() ,avg(),count()!! this is a problem here
    the walkaround it by use oracle data cartdrage advanced future like follows steps :
    *1- i create type and i call it for ex: DAY_TO_SECOND_SUM_TYPE*
    CREATE OR REPLACE  DAY_TO_SECOND_SUM_TYPE    /*TYPE                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        as object
    +(TOTAL INTERVAL day to SECOND , /* type header*/+
    STATIC FUNCTION ODCIAggregateInitialize(SCTX IN OUT DAY_TO_SECOND_SUM_TYPE) return number,
    member function ODCIAggregateIterate( self in out DAY_TO_SECOND_SUM_TYPE,value in interval  day to second) return number,
    member function ODCIAggregateTerminate(self in DAY_TO_SECOND_SUM_TYPE,returnvalue out interval day to second , flags in number) return number,
    member function ODCIAggregateMerge(self in out DAY_TO_SECOND_SUM_TYPE,ctx2 in DAY_TO_SECOND_SUM_TYPE) return number
    +)+
    +/+
    CREATE OR REPLACE TYPE "DAY_TO_SECOND_SUM_TYPE"                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            as object
    +(TOTAL INTERVAL day to SECOND ,+
    STATIC FUNCTION ODCIAggregateInitialize(SCTX IN OUT DAY_TO_SECOND_SUM_TYPE) return number,
    member function ODCIAggregateIterate( self in out DAY_TO_SECOND_SUM_TYPE,value in interval  day to second) return number,
    member function ODCIAggregateTerminate(self in DAY_TO_SECOND_SUM_TYPE,returnvalue out interval day to second , flags in number) return number,
    member function ODCIAggregateMerge(self in out DAY_TO_SECOND_SUM_TYPE,ctx2 in DAY_TO_SECOND_SUM_TYPE) return number
    +)+
    create or replace type body DAY_TO_SECOND_SUM_TYPE as /* type body*/
    static function ODCIAggregateInitialize(sctx in out DAY_TO_SECOND_SUM_TYPE) return number is
    begin
    sctx := DAY_TO_SECOND_SUM_TYPE(numtodsinterval(0,'second'));
    return odciconst.Success;
    end;
    member function ODCIAggregateIterate( self in out DAY_TO_SECOND_SUM_TYPE,value in interval  day to second) return number is
    begin
    self.total := self.total value;+
    return odciconst.Success;
    end ;
    member function ODCIAggregateTerminate(self in DAY_TO_SECOND_SUM_TYPE,returnvalue out interval day to second , flags in number) return number is
    begin
    returnvalue := self.total;
    return odciconst.Success;
    end;
    member function ODCIAggregateMerge(self in out DAY_TO_SECOND_SUM_TYPE,ctx2 in DAY_TO_SECOND_SUM_TYPE) return number is
    begin
    self.total := self.total ctx2.total;+
    return odciconst.Success;
    end;
    end;
    +/+
    *2- i create artificial function to summary using that type let as called for ex: ds_sum as follows :*
    create or replace function ds_sum( input interval day to second   ) return interval day to second
    parallel_enable aggregate
    using DAY_TO_SECOND_SUM_TYPE
    +/+
    at last i used the function to summary intervals and its work so good but when the result of calculated summary value exceed the default precision of interval : INTERVAL DAY(2) TO SECOND(6)
    i get an error :
    ORA-01873 the leading precision of the interval is too small
    Cause: The leading precision of the interval is too small to store the specified
    interval .
    Action: Increase the leading precision of the interval or specify an interval with
    a smaller leading precision
    although i can determine the precision of interval the declaration of the new type to maximum like :
    +...........+
    CREATE OR REPLACE TYPE "DAY_TO_SECOND_SUM_TYPE"                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            as object
    +(TOTAL INTERVAL day(9) to SECOND(6) ...........+
    +.......................+
    but the problem remain (in fact the error move from one functions of type to another function )
    due i can't determine the precision of data type when i define function in PL/SQL it is illegal*
    HOW CAN I SOLVE THIS PROBLEM AND BE ABLE TO SUMMARY INTERVAL DATA TYPE WHAT EVER THE RESULT OF SUMMARY IS HUGE
    Edited by: user1193723 on Jun 18, 2009 4:35 AM
    Edited by: user1193723 on Jun 18, 2009 4:36 AM
    Edited by: user1193723 on Jun 18, 2009 4:37 AM
    Edited by: user1193723 on Jun 18, 2009 4:38 AM
    Edited by: user1193723 on Jun 18, 2009 4:38 AM
    Edited by: user1193723 on Jun 18, 2009 4:40 AM

    hi,
    Instead of 'interval day to second' in method declaration use internal datatype 'DSINTERVAL_UNCONSTRAINED'.
    There are more unconstrained types in oracle.
    Bartek

  • Problem when simultaneously retriving data from berkeleydb using web applic

    Hi all
    Plz Help
    i am using jboss server .
    my problem is :
    i have 2lacks recodrs in berkeleydatabase
    when i try to retrive data it working properly for one browser
    if i start retrive data simultaneously using two IES it getting this exception
    how to solve this problem,i mean separeate session for separate client
    in java session trking techique i applied ,but here not working retriving data from berkeleydb.collision occur
    11:47:08,468 ERROR [STDERR] Database handles still open at environment close
    11:47:08,468 ERROR [STDERR] Open database handle: smscsucc.db
    11:47:08,468 ERROR [STDERR] java.lang.IllegalArgumentException: Invalid argument
    11:47:08,468 ERROR [STDERR] at com.sleepycat.db.internal.db_javaJNI.DbEnv_cl
    ose0(Native Method)
    11:47:08,468 ERROR [STDERR] at com.sleepycat.db.internal.DbEnv.close0(DbEnv.
    java:208)
    11:47:08,468 ERROR [STDERR] at com.sleepycat.db.internal.DbEnv.close(DbEnv.j
    ava:76)
    11:47:08,468 ERROR [STDERR] at com.sleepycat.db.Environment.close(Environmen
    t.java:39)
    11:47:08,468 ERROR [STDERR] at daos.RetriveDao.getData(RetriveDao.java:131)
    11:47:08,468 ERROR [STDERR] at controllers.MainServlet.getData(MainServlet.j
    ava:47)
    11:47:08,468 ERROR [STDERR] at controllers.MainServlet.serviceHelper(MainSer
    vlet.java:76)
    11:47:08,468 ERROR [STDERR] at controllers.MainServlet.doGet(MainServlet.jav
    a:101)
    11:47:08,468 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpSe
    rvlet.java:697)
    11:47:08,468 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpSe
    rvlet.java:810)
    11:47:08,468 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterCha
    in.internalDoFilter(ApplicationFilterChain.java:252)
    11:47:08,468 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterCha
    in.doFilter(ApplicationFilterChain.java:173)
    11:47:08,468 ERROR [STDERR] at org.jboss.web.tomcat.filters.ReplyHeaderFilte
    r.doFilter(ReplyHeaderFilter.java:96)
    11:47:08,468 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterCha
    in.internalDoFilter(ApplicationFilterChain.java:202)
    11:47:08,468 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterCha
    in.doFilter(ApplicationFilterChain.java:173)
    11:47:08,468 ERROR [STDERR] at org.apache.catalina.core.StandardWrapperValve
    .invoke(StandardWrapperValve.java:213)
    11:47:08,468 ERROR [STDERR] at org.apache.catalina.core.StandardContextValve
    .invoke(StandardContextValve.java:178)
    11:47:08,468 ERROR [STDERR] at org.jboss.web.tomcat.security.SecurityAssocia
    tionValve.invoke(SecurityAssociationValve.java:175)
    11:47:08,468 ERROR [STDERR] at org.jboss.web.tomcat.security.JaccContextValv
    e.invoke(JaccContextValve.java:74)
    11:47:08,468 ERROR [STDERR] at org.apache.catalina.core.StandardHostValve.in
    voke(StandardHostValve.java:126)
    11:47:08,468 ERROR [STDERR] at org.apache.catalina.valves.ErrorReportValve.i
    nvoke(ErrorReportValve.java:105)
    11:47:08,468 ERROR [STDERR] at org.apache.catalina.core.StandardEngineValve.
    invoke(StandardEngineValve.java:107)
    11:47:08,468 ERROR [STDERR] at org.apache.catalina.connector.CoyoteAdapter.s
    ervice(CoyoteAdapter.java:148)
    11:47:08,468 ERROR [STDERR] at org.apache.coyote.http11.Http11Processor.proc
    ess(Http11Processor.java:869)
    11:47:08,468 ERROR [STDERR] at org.apache.coyote.http11.Http11BaseProtocol$H
    ttp11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
    11:47:08,468 ERROR [STDERR] at org.apache.tomcat.util.net.PoolTcpEndpoint.pr
    ocessSocket(PoolTcpEndpoint.java:527)
    11:47:08,468 ERROR [STDERR] at org.apache.tomcat.util.net.MasterSlaveWorkerT
    hread.run(MasterSlaveWorkerThread.java:112)
    11:47:08,468 ERROR [STDERR] at java.lang.Thread.run(Thread.java:595)
    # An unexpected error has been detected by HotSpot Virtual Machine:
    # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x29693a05, pid=832, tid=3776
    # Java VM: Java HotSpot(TM) Client VM (1.5.0_06-b05 mixed mode)
    # Problematic frame:
    # C [libdb44.dll+0x33a05]
    # An error report file with more information is saved as hs_err_pid832.log
    # If you would like to submit a bug report, please visit:
    # http://java.sun.com/webapps/bugreport/crash.jsp
    Press any key to continue . . .
    Thnking you
    Thanks & Regards
    Venkat Gadarla

    Hello,
    Your question is about Berkeley DB -- this is the Berkeley DB Java Edition forum. Please repost this over at:
    Berkeley DB
    Thanks.
    Charles Lamb

  • Help! Problem with text/html data flavor

    I am having trouble copying text/html mime data to the clipboard. I can copy fine but there seems to be a bug in the JDK that puts extra information onto the clipboard along with the HTML. I am getting the following data copied to the clipboard:
    Version:0.9 StartHTML:-1 EndHTML:-1 StartFragment:0000000111 EndFragment:0000000126
    ...and then the expected HTML.
    I cannot see anyway around this. There seems to be no mention of anyone getting this problem ever before (searched google and the java forums).
    Anyone ever witnessed this behaviour? If so, do you know a workaround?
    Thanks,
    Andy

    Hi,
    thats the way how the data is placed in the clipboard. Actually you usually export data in your clipboard in different multiple DataFlavors, for exemple plain text or even html. If you want to paste your data in an other aplpication, this one looks at the dataflavor and selects his prefered one. So if you want to paste something into an simple editor, you might only get the plain text. Using word, he will prefer HTML FLavor. So it is really only a matter of fact, who you export your data.
    Hope I could help you.

  • Problem when saving the Data basis for the Consolidation

    Hi Gurus,
    I am having 2 problems.
    1) When i try to execute the UCWB transaction . It gives an information message
    " Data basis DB needs to be generated (after upgrade) . I am following the procedure given in that "<b>Run maintenance of data basis DB in display mode. Go to the "Data Streams" tab page. Choose the "Generate" button.
    If changes to Customizing settings are permitted in the current system or client, as an alternative you can maintain the data basis in change mode and save. In the case of systems supplied with Customizing transports, as an alternative you can generate the data basis in the source system and then transport it again.</b>
    Even after doing that procedure when i again execute the UCWB. it give me the same message.
    2) when is try to save data basis for the consolidation . it give me this error message.
    "Field 0HC_ATCCODE: This compound differs from that of basic field 0HC_MEDCTG"
    I have checked the referenced Info objects . Checked the compound info objects. Activated them again. They dont differ in any way. but still i get this problem.
    Please help me out. If someone has come across this error and solved. Please help me.
    Regards
    satish

    Hi satish,
    I constantly receive the message like your #2 saying that it was a critical change in X infoobject. It's just a warning and I found several OSS notes saying that this message is not correct. Just ignore it.
    In case of your Q #1. The data basis might be generated in two ways: by pressing Save icon and by clicking the Generate icon (the system refers just to this very option) and then - Save. The last way is used in Productive environment. Try it.
    Hope this helps.

  • Problems when displaying html in internet explorer

    I am trying for two weeks to make an HTML code looks good in
    IE (internet explorer), but I have been unsuccessful. The code
    looks great on Firefox, but really bad in IE. Here is my code
    Web
    page
    Plase help!!!!!!!!!!!!!!!!1

    This is not the code on the page you have linked. That page
    has no doctype.
    It appears you have used ImageReady to write the HTML for
    this page (it has
    the hallmarks - uppercase tags, unquoted attribute values,
    and zillions of
    col-/rowspans). Such HTML is notoriously bad for use on the
    web. Please
    read this to see why I say that -
    http://apptools.com/rants/spans.php
    Anyhow, I think it's the table code that is letting you down.
    Do you know
    enough HTML to build this page in DW?
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "maxhec-pr" <[email protected]> wrote in
    message
    news:[email protected]...
    > Thanks for your response. Please update the link to the
    page, the server
    > is
    > currently down. The file is now at
    >
    http://web.ics.purdue.edu/~hsantosv/test.html
    >
    > I validated the html code with Dreamweaver. I checked
    for errors in
    > firefox
    > and IE, and the application returned zero errors. Also,
    I validated the
    > html
    > code for IE 3.0 and 4.0, Netscape 3.0 and 4.0, HTML 4.0,
    and Cold Fusion
    > MX7. I
    > really don't have a clue of what I am doing wrong. I am
    going to attach
    > the
    > code too.
    >
    > Thanks for your help
    >
    > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01
    Transitional//EN"
    > "
    http://www.w3.org/TR/html4/loose.dtd">
    > <HTML>
    > <HEAD>
    > <TITLE>Purdue-HP Color Central CPWT</TITLE>
    > <META HTTP-EQUIV="Content-Type" CONTENT="text/html;
    charset=iso-8859-1">
    > <!-- ImageReady Preload Script (index.psd) -->
    > <!-- End Preload Script -->
    > <SCRIPT TYPE="text/javascript">
    > <!--
    >
    > function newImage(arg) {
    > if (document.images) {
    > rslt = new Image();
    > rslt.src = arg;
    > return rslt;
    > }
    > }
    >
    > function changeImages() {
    > if (document.images && (preloadFlag == true)) {
    > for (var i=0; i<changeImages.arguments.length; i+=2)
    > document[changeImages.arguments
    ].src = changeImages.arguments[i+1];
    > }
    > }
    > }
    >
    > var preloadFlag = false;
    > function preloadImages() {
    > if (document.images) {
    > main_page_over = newImage("images/main-page-over.gif");
    > about_me_over = newImage("images/about-me-over.gif");
    > memories_over = newImage("images/memories-over.gif");
    > interests_over = newImage("images/interests-over.gif");
    > news_over = newImage("images/news-over.gif");
    > contact_over = newImage("images/contact-over.gif");
    > preloadFlag = true;
    > }
    > }
    >
    > // -->
    > </SCRIPT>
    > <style type="text/css">
    > <!--
    >
    > .style2 {color: #000066}
    > .style3 {color: #3A4A73}
    > .style4 {color: #324A6B}
    >
    >
    > .bottomStyle {
    > background:url(images2/b_links.gif);
    > width:528px;
    > height:80px;
    > }
    >
    > body,td,th {
    > color: #314B73;
    > }
    > body {
    > background-color: #FFFFFF;
    > }
    > a:link {
    > color: #314B73;
    > }
    > .style5 {color: #314B73}
    > a {
    > font-family: tahoma;
    > }
    > ol {
    > font-family: Tahoma;
    > font-size: 10px;
    > font-style: normal;
    > line-height: 2em;
    > font-weight: normal;
    > font-variant: normal;
    > text-transform: none;
    > color: #353535;
    > text-decoration: none;
    > text-align: left;
    > list-style-type: disc;
    > padding-top: 2px;
    > }
    > -->
    > </style>
    > <link href="research/css/styles.css" rel="stylesheet"
    type="text/css">
    > </HEAD>
    >
    > <BODY ONLOAD="preloadImages();">
    > <table width="775" border="0" cellpadding="0"
    cellspacing="0">
    > <tr>
    > <td colspan="3"><IMG SRC="images2/titleNew.gif"
    WIDTH=734 HEIGHT=88
    > ALT="Purdue-HP"></td>
    > <td rowspan="11"><IMG SRC="images2/main5.gif"
    WIDTH=41 HEIGHT=680
    > ALT=""></td>
    > </tr>
    > <tr>
    > <td rowspan="10"><img src="images2/main1.gif"
    width=121 height=592
    > alt=""></td>
    > <td><A HREF="research/research.shtml"
    > ONMOUSEOVER="window.status='mail'; changeImages('home',
    > 'images2/researchHome-over.gif'); return true;"
    > ONMOUSEOUT="window.status=''; changeImages('home',
    > 'images2/researchHome.gif'); return true;">
    > <IMG SRC="images2/researchHome.gif" ALT=""
    NAME="home" WIDTH=85 HEIGHT=23
    > border="0"></A></td>
    > <td rowspan="8"><iframe name="content"
    align="top" frameborder="0"
    > height="495" width="528"
    > scrolling="auto" src="itest.html" marginheight="1"
    marginwidth="1" >
    > </iframe></td>
    > </tr>
    > <tr><td><A
    HREF="research/researchers.shtml"
    > ONMOUSEOVER="window.status='main page';
    changeImages('main_page',
    > 'images2/researchers-over.gif'); return true;"
    > ONMOUSEOUT="window.status=''; changeImages('main_page',
    > 'images2/researchers.gif'); return true;">
    > <IMG NAME="main_page" SRC="images2/researchers.gif"
    WIDTH=85 HEIGHT=21
    > BORDER=0 ALT="main page"></A></td>
    > </tr>
    > <tr><td><A HREF="research/papers.shtml"
    > ONMOUSEOVER="window.status='paper sec';
    changeImages('papers',
    > 'images2/publications-over.gif'); return true;"
    > ONMOUSEOUT="window.status=''; changeImages('papers',
    > 'images2/publications.gif'); return true;">
    > <IMG SRC="images2/publications.gif" ALT="paper sec"
    NAME="papers"
    > WIDTH=85
    > HEIGHT=21 BORDER=0></A></td>
    > </tr>
    > <tr><td><A HREF="research/protos.shtml"
    > ONMOUSEOVER="window.status='thoughts sec';
    changeImages('thoughts',
    > 'images2/prototypes-over.gif'); return true;"
    > ONMOUSEOUT="window.status=''; changeImages('thoughts',
    > 'images2/prototypes.gif'); return true;">
    > <IMG SRC="images2/prototypes.gif" ALT="thoughts sec"
    NAME="thoughts"
    > WIDTH=85 HEIGHT=21 BORDER=0 ></A></td>
    > </tr>
    > <tr><td><A HREF="research/meetings.shtml"
    > ONMOUSEOVER="window.status='mail';
    changeImages('research',
    > 'images2/meetings-over.gif'); return true;"
    > ONMOUSEOUT="window.status=''; changeImages('research',
    > 'images2/meetings.gif'); return true;">
    > <IMG SRC="images2/meetings.gif" ALT="research sec"
    NAME="research"
    > WIDTH=85
    > HEIGHT=21 BORDER=0
    id="research"></A></td>
    > </tr>
    > <tr><td><A HREF="research/docs.shtml"
    > ONMOUSEOVER="window.status='mail'; changeImages('Docs',
    > 'images2/documents-over.gif'); return true;"
    > ONMOUSEOUT="window.status=''; changeImages('Docs',
    > 'images2/documents.gif');
    > return true;">
    > <IMG NAME="Docs" SRC="images2/documents.gif" WIDTH=85
    HEIGHT=21 BORDER=0
    > alt="Documents"></A></td>
    > </tr>
    > <tr><td><IMG NAME="contact"
    SRC="images2/blackb.gif" WIDTH=85 HEIGHT=21
    > BORDER=0 alt=""></td>
    > </tr>
    > <tr><td rowspan="3"><IMG
    SRC="images2/main3.gif" WIDTH=85 HEIGHT=443
    > ALT="ColorCentral : CPWT"></td>
    > </tr>
    > <tr><td><IMG SRC="images2/down.gif"
    WIDTH=528 HEIGHT=16 ALT=""></td>
    > </tr>
    > <tr><td align="right" valign="top"
    class="text7" width="528" height="80">
    > <div id="layer1" class="bottomStyle">
    > <!--<a
    > href="
    http://cobweb.ecn.purdue.edu/~hsantosv/research/research.shtml">Research
    > Home</a> |
    > <a href="mailto:[email protected]">Contact
    Us</a>
    > <p>
    > <span class="text3">designed by</span>
    > <a href="
    http://www.templatesbox.com"
    >
    target="_blank">Templatesbox</a></p>-->
    > </div></td></tr>
    > </table>
    > </BODY>
    > </HTML>
    >

  • HTMLDB_MAIL.SEND problem when sending HTML

    We had a test application running off of the Oracle hosted site. We used HTMLDB_MAIL.SEND and P_BODY_HTML successfully. However, now we are running on our own hosted site of the production release of 1.6 (no code changes whatsoever, just an export/import). When we send the P_BODY_HTML it is not converted to html, it is sent as text with the html tags embedded.
    In the meantime we have written our own mail procedure, but we were hoping the version of 1.6 that is available was the same as the hosted version.
    Is there something else we should be aware of?
    Thanks!

    Joel,
    I have the following with P_EMAIL_BODY my text body:
    create or replace PROCEDURE "MR_SEND_MAIL"
    ( P_TO_EMAIL IN VARCHAR2,
    P_EMAIL_BODY IN VARCHAR2,
    P_EMAIL_SUBJ IN VARCHAR2 ) is
    L_ERRMSG VARCHAR2(200);
    L_BODY VARCHAR2(4000):='';
    begin
    l_ERRMSG := 'HTMLDB_MAIL.SEND()';
    L_BODY:= L_BODY||'<HTML><HEAD><META http-equiv=Content-Type content="text/html; charset=iso-8859-1">'||chr(10);
    L_BODY:= L_BODY||'<META content="MSHTML 6.00.2900.2963" name=GENERATOR></HEAD>'||chr(10);
    L_BODY:= L_BODY||'<BODY style="MARGIN: 4px 4px 1px; FONT: 10pt Tahoma">'||chr(10);
    L_BODY:= L_BODY||replace(P_EMAIL_BODY,chr(10),'<BR>')||'</BODY></HTML>'||chr(10);
    HTMLDB_MAIL.SEND(
    P_TO => P_TO_EMAIL,
    P_FROM => '[email protected]',
    P_BODY => 'this must be viewed by an html enabled client',
    P_BODY_HTML => L_BODY,
    P_SUBJ => P_EMAIL_SUBJ);
    l_ERRMSG := 'PUSH_QUEUE.';
    BEGIN
    wwv_flow_mail.push_queue(
    P_SMTP_HOSTNAME => 'gilbert.esc.net',
                   P_SMTP_PORTNO => '25');
    EXCEPTION
    WHEN OTHERS THEN
    RAISE_APPLICATION_ERROR(-20080,'MR_SEND_MAIL: '||l_ERRMSG);
    END;
    end;
    It does not work properly. I'm using Groupwise and have my client set for HTML.
    Should I have mult-part somewhere?
    Any help be appreciated, Bill
    Message was edited by:
    Bill Carlisle

  • Problem when importing HTML code to JSP

    When I copy HTML code to JSP strange thing happens - "It's" became "It?s". But that's not all. I changed "It?s" to "It's", but when I run the JSP output on the screen is still "It?s".
    Why does this happens?
    What to do?

    Pls state the server, browser and complete code snippet

  • Problem When downloading the data to Appplication Server in CSV Format

    HI,
    I m doing the development which has the internal table with 24 field filld in the program, I need to download the internal table content to excel sheet and put in the application server , Can you pls suggest how to go for this.
    I m using the open dataset for output and tranfer the internal table contents, But the Excel Sheet which I m downloading in Appl Server is no getting clealy ( Individual Fields is not going to individail colums in excel , Total Record is getting in one colums only).
    I have trying with the function SAP_CONVERT_CSV , Then also it does'nt work
    Can you pls do needful
    Thanks&Regards
    Uday Kiran

    kindly check.
    [http://saplab.blogspot.com/2007/10/sample-abap-program-for-output-file-to.html]

  • Problem when import reference data Regions for Vendor

    Import status is:
    Action items:  Map 'Name_English <Split Hierarchy> <Regions>' field value(s)
    In Map fields/values tab
    I don't know how to do there.
    Thanks

    Thanks for you guys' reply.
    Yes I'm working on SAP business content.(standdard)
    Here's screen shot.
    [mdm|http://0dlsqa.blu.livefilestore.com/y1p1DZhGrGx5EsTtxsqNZNm-L0x4Cr0z3Wm2BXkelhWs20sIzFTRsRF1Y3qHM1l-TMs8sN6TE7YrfVcT855M9bqXSNlFTJNAQfs/maps.jpg]
    you can see that 'map' button is gray.

Maybe you are looking for

  • What is wrong in this trigger

    Hello All, please tell me whats wrong in the following trigger, what effectively i am trying here is I wanted to insert the old records before update to a temporary table, if this is not the way, then what is the correct way. SQL> desc ttt1; Name Nul

  • How do I get my music from cds back onto library after it's been wiped?

    For no reason at all, I turned my itunes on one day to find that all my purchases are still there but the huge amount of music I've added from CDs is missing. It is still all on my ipod. All playlists are gone too from the library. How do I get them

  • How much truth in email solliciting about 'VIRUS' threats?

    I keep receiving email from a company that tells me: "...Macs don't get viruses. THINK AGAIN!..."..trying to sell me a 'Virus Barrier'. I have searched all info I could find on virusses (viri??) on these forums, and came up zero on real threats. As f

  • Generic extraction using table

    Hello friends, We have three methods in Generic extraction, as we know. 1. Using view/Table 2. Using FM 3. Using Infoset Query I know pretty well the extraction using View, but when do we use "Table"? Is there a specific method to perform generic ext

  • Functional Help required

    Hi,       can any one tell me the link where i can find the details of fields in the data base table? for example, in VBAK table whats VBELN? where it is used? in which module? My client just says material number, posting date, fiscal year etc... i n