How to replace an html br tag in the field to a carriage return?

Hi All,
I have a requirement to replace the <<br>> tag in the text field with a carriage return character "
Currently the data in the Comments field looks like :
"20100627 -115541 SECURITY WILL MEET AT MAIN ENTERANCE"<<<br>>"20100627 -115605 Officer notified: ALPHA : DF-10-011891; ST VINCENTS HOSPITAL, ST VINCENTS HOSPITAL, SAINT VINCENTS HOSP, MERRION RD, MERRION, BOOTERSTOWN, DUBLIN; FIRE/ALARM ACTIVATION;'<<br>>'20100627 -115609 PDA MOBILISED AFTER AMENDMENT VIN1'<<br>>'20100627 -"
The <<br>> break tag was used for HTML purpose and now I would like to replace it with a carriage return character for BI Publisher report.
Appreciate3 your help.
Regards
B
Edited by: Bees on Jul 21, 2010 4:36 AM

I downloaded your html template and it works fine for that template and the xml, but in my case it is not working. I need to assign the template just for one field called "Comments" where I need <<br>> tag to work.
I modified the html as you suggested with the Tidy software, here is what I have done may be you can help me here. I very much appreciate your help.
1. I have imported the template with the tag <<?import:file:///C:/dfb/biPub/code/htmlmarkup.xsl?>> and it works fine.
2. Assigned the xsl - assign-template to the comments field.
<xsl:apply-templates select="Fact._COMMENTS_" />
*** IncidentsFact_._COMMENTS is the field name where it has <<br>><</br>> embedded into the comments data.
Edited by: Bees on Jul 30, 2010 6:29 AM

Similar Messages

  • How to display HTML formatted text in the field with Item Style: Raw Text

    How can I display HTML formatted text in the field with Item Style: Raw Text.
    Currently the Item Style is Raw Text, but the text is being displayed along with HTML tags without formatting.
    Regards

    Hi,
    Use Item Style formattedText.
    Regards,
    Gyan

  • How to add my html title tag and html meta name and meta keywords

    how to add my html title tag and html meta name and meta keywords in iweb 09

    Like you will see on Roddy's page iWeb SEO Tool will do the job very easily:
    Click to view full size
    Click to view full size
    It remembers what tags went to which pages so they are easily reapplied when you have to republish.
    OT

  • How can I know in which Tables are the fields stored

    Hi,
    In transaction FSE3 Display Financial Version
    Statement Version, if I drilldown in details, I can
    see Item No, Chart of Acc, From Accountm To Account D,
    C.
    when I do a F1 on the fields, I can see that it is a
    structure. How can I know in which Tables are the
    fields store?

    Hi Ankit,
    There are no rules or guidelines for finding the table but i will share some of the tips used generally.........but i am not sure if we can do it for a tree structure..but try anyways....
    Double click on the structure name seen on the F1 pop up window...
    in the structure screen, try to analyse the field which is very important something like a key in that set of fields or do the same for the fields which we feel are more important,then click on the domain for that field....once in the domain..click on the "where used list for the domain" on the top...
    it will display a pop up -> select only "table" and then press "Tick/OK"..A list will be displayed with the data element and table name ..from this we need to find out the right one we need either by going for text of the table or going through each and every one
    It takes time but does the job.....
    Regards
    Byju

  • How to update Tr code FB02   and update the field reference key1 (bseg-xref

    Can any body
    help me how to update   Tr code   fb02
    and  update the field  reference  key1 (bseg-xref1)  with the interest amount
    calculated.
    Below i have  written My  program  flow logic
    The program should read the open items i.e debit items in the customer account,
    Based on the  invoice date and customer payment terms  calculate the due date and then the  interest should be  calculated on that item based on the due date.
    Use the  transaction  fb02  and update the field  reference  key 1 (BSEG-xref1)
    with the interest amount calculated
    Only  consider  customers whose  interest indicator  knb1-vzskz = 'vk'.
    Interest is to be  calculated for every  30  days
    at the rate of  1% .please see example below.
    Document date is 01.01.2007
    for amount  1000SGD   payment  term  7  days
    It becomes  due  on  08.01.2007
    until  06.02.2007 you should not  consider  for calculation of interest
    SGD  on   7.02.2007 run you can consider this  item for interest calculation

    Hi Robert,
    Thanks for answering.
    I am looking at Ref 2 should flow automatically to clearing document from the accounitng document for billing.
    Ex: Billing document is created and accounted. Ref 2 is AB
    Now when receipt is accounted for this biling document this AB should flow automatically to Ref 2 field.
    Thanks
    NNS.

  • How can open a html, pdf files from the server (c:\foldername\filename)

    Hi all,
    I am developing an application. in this app i have to implement RMI.
    My problem is this, How can a client open a files from the server.
    all the html, pdf files are stored in the server's directory like C:\audit\filename.
    There is a folder on the server's C directory which contains all the html , pdf files.
    please tell me how can a client open a file from the server using RMI.
    Please send me the solution as soon as possible.
    Thanks & Regards
    Bhavishya

    That's doing it the hard way. Why not use HTTP or FTP?

  • How do you programmatically register custom tags through the adminapi?

    Hello,
    I am not able to find much documentation out on the net on how to write codes to programmatically register custom tags through the adminapi (extensions.cfc). The only examples I have been seeing involve setting up datasources. Any advice you can provide is appreciated. Thanks.
    Best regards,
    C. Lee

    Short answer:
    The problem is that the login method is a bit goofy in that it requires the password first and the username second. Assuming you are using a valid password (and not the string "password" you are showing), reversing them should solve your problem.
    Long answer:
    As background for those interested, in order to call any method in any of the Admin API CFCs, one does have to log in programmatically, providing a valid CF Admin password, or password/username combination if you have enabled multiple user logins for the CF Admin. (Multiple user logins in the Admin is an optional feature since CF 8.)
    If one does not setup multiple user names, then you only need to pass a password to the login method (just as on the login page of the CF Admin). Technically, the default username in that case is "admin", and you can specify it if you want to, but again it has to be password then username, on this login method. (The Admin API was added in CF 7, before the multiple usernames feature was added, so it looks like they just added it as a new argument.)
    You can learn more about multiple user logins in the CF Admin (and an option to change or remove the default "admin" username) an Adobe DevCenter article linked to from http://www.carehart.org/articles/#2009_1.
    Note finally that the username/password field values are case-sensitive, even on Windows, and the default username really is "admin" not "Admin".
    This discussion of needing to login is documented on the page that Adam pointed to (see the "using" and "examples" sections of the page). There's even a comment from someone pointing out the need to put them in password/username order (because it's not mentioned in the docs). I also just added a comment there about the case sensitivity, either of which could bite someone. Let's hope they update the docs in the next release to clarify both these points.
    /charlie

  • How to render a html content in a text field?

    Hi! Is it possible to render a html content(like <strong>< b >This text is bold  </strong></b>) in a Text field with Crystal Report for Eclipse Basic . In .Net there were a field called  Text Interpretation where you could choose HTML. But in Eclipse I can&#39;t find it.    Thanks in Advance,                           Jeff

    I don't think the Text object supports the Text Interpretation feature.  I think this is limited to specific type of objects like database, formula and parameter fields.  I checked the full product CR designer and it too does not support this feature for Text objects.
    As a workaround, you could use a Formula field to specify the HTML data and format the formula field for HTML interpretation.
    -MJ

  • How do I combine duplicate keyword tags in the organizer ?

    While organizing my photos I realized I made duplicate keyword tags for the same person. Is there a way that I can combine two keyword tags for one person  into one ?

    Do you mean you assigned two slightly different keywords to the same person ? Like personA  and personB ? If that is the case, select all persoB, assign also person A. Then delete 'personB' keyword.

  • How to enter numbers in Arabic font in the fields

    Hi Everyone,
    I installed Adobe Reader 10.0.1 multi-Language and I am able to enter Arabic alphabet in the fields, but when I enter numbers in the fileds, it is English. I don't have this issue in MS-Word. i.e., both letters and numbers depend on my keyboard setting and is English or Arabic respectively. The numbers setting in windows in "depend on context" and I think is fine. Do you know how I can fix this issue? Is there any setting in Adobe that overwrights the Windows setting for numbers?
    Thanks a lot

    I won't say I am very clear about this topic. But I will give an example, which seems to show that number (in the double type) is logically of the form -000.00 while locale spacific String object can be both of the forms "000.00-" and "-000.00"
    // you can show the string below (formatted) on a JLabel with the following
    //<JLabel_instance>.setFont(new Font("Lucida Sans", Font.PLAIN, 22));
    NumberFormat nf = NumberFormat.getInstance(new java.util.Locale("ar","EG"));
    //NumberFormat nf = NumberFormat.getInstance(new java.util.Locale("fr","Fr"));   // compare
    DecimalFormat df=null;
    DecimalFormatSymbols dfs= null;
      if (nf instanceof DecimalFormat) {
          df = (DecimalFormat)nf;
          dfs = df.getDecimalFormatSymbols();
          dfs.setZeroDigit('\u0660');// set the beginning of the range to Arabic digits.. this can be commented out
          df.setDecimalFormatSymbols(dfs);
      String formatted = nf.format(-1234567.89);

  • How do you print comments that extend beyond the field?

    I have created a form in LiveCycle Designer 8.0.  It contains a text field that allows recipients to write "beyond the size of the field" if they desire.  When we recieve the completed form, of course, we can view the extended comments by clicking on the + sign.  But, when we print the form the comments are cut off at the end of the box.  How can we print the entire comment directly from the PDF without having to cut and paste into another document?  Thanks.

    One easy way to resolve this is to change your form to a dynamic form and make that field expandable. To do this, save the file as "Adobe Dynamic XML Form". You will need to change the layout of your form to make it Flowed vs. positioned but before you do that, you will want to prepare the form for this.
    Flowed forms layout the fields for you and place each field below the last so you can't control the layout. Positioned layout allows you to put the objects wherever you want with the caveat that you can't expand fields.
    What you want to do, is highlight all fields that are positioned and wrap them into a subform. Leave the field you want to expand out of this subform. Then, on the page in Hierarchy view, select the page and the object view and choose Subform "Flowed". Now, on the object that you want to expand with text entry, do the following: on object view, check "allow multiple lines" and "allow page breaks within content"; under layout under height check "expand to fit". Click save and preview. Make sure to change preview settings to Preview Type: Interactive; Preview Adobe XML Form as: Dynamic XML Form.
    I will try and attach an example.
    Mallard27

  • How to make  struts html:select tag readOnly....!!!!

    Hi All,
    In my below code I want to make <html:select> as readonly like I did for <html:text>
    I don't want to make it disabled as it is graying out that field.
    My requirement is that it should be visible and also it shouldn't be editable.
    I am using Struts...!!!
    <html:text property="paramName" size="20" maxlength="50" readonly="true"/>                                
    <html:select property="paramTypeId" disabled="true"> // I dont want to use this--- disabled="true"
         <html:options collection="queryReturnType" property="value" labelProperty="label"/>
    </html:select>Thanks in advance....!!

    Can some one tell me in the below code
    *1. what is test="${controlEnabled}"....wha is this controlEnabled variable*
    *2. do I need to create an attribute for paramTypeId_Label in my form bean ??*
    I just wanna to make my <html:select> readonly..pls see my first post in this thread....!!
    <c:choose>
         <c:when test="${controlEnabled}">
           <html:select property="paramTypeId" >
                <html:options collection="queryReturnType" property="value" labelProperty="label"/>
           </html:select>
         </c:when>
         <c:otherwise
           <html:text property="paramTypeId_Label" value="${queryReturnType[paramTypeId].label}" readonly="true"/>
           <html:hidden property="paramTypeId"/>
         </c:otherwise>
    </c:choose>--Thanks                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • How to Load a html page into Flex the application?

    I want to load separate html page in to my flex application.
    for example
    think I am in my shopping cart and I wanna buy something and pay for that.Then I am try to pay they will load a separate html page into my shoipping cart.
    How can I do that inside flex application?
    Any ideas are appreciated..
    thnx

    Hi snkd,
    You need to make use of iframe to load html content in Flex application.
    Check out the link below...there is also source code included..
    http://www.deitte.com/archives/2006/08/finally_updated.htm
    Thanks,
    Bhasker

  • How to start your container div tag at the very top of the page?

    I'm currently making a website for a friend and I can't seem to get my web page to start at the very top of the browser window. It seems like when you create a website in dreamweaver it want's to start it with a gap at the top. How do I take the top gap out?

    Best if you upload the page you're working on to the web and post a link here so we can see what you're doing.
    Try adding
    body {
         margin: 0;
         padding: 0;
    to your CSS stylesheet.

  • How do you remove those yellow tags following the cursor all the time?

    You know those yellow tags with information about the words your cursor is on.
    Some times they cover the things you are reading and get really annoying.
    Any input?

    I thought there was something to remove all filters right?
    Not unless you applied the Filters as Smart Filters or duplicated the Layer prior to Filtering.
    That’s why working non-destructively is so highly advised.
    What kind and number of Filters are you talking about anyway?
    Could you post a full-res segment of the image?

Maybe you are looking for