Blank line after removeChild()

Can anybody help with this question?
Looking for answer in forum archives - I found several answers which doesn't work.
1) use - normalize() - no effect
2) transformer.setOutputProperty(OutputKeys.DOCTYPE_SYSTEM, "GMAadapter.dtd") - no effect
1. I have such XML:
<?xml version="1.0" encoding="windows-1251"?>
<PurchaseOrder>
     <Company>Our company</Company>
     <Product>
     <Prod1>Tee</Prod1>
     <Prod2>Coffe</Prod2>
</Product>
</PurchaseOrder>
2. I try to remove Node <Prod1> with all its content
document = builder.parse(new InputSource(new java.io.StringReader( xmlString )));
NodeList nodelist = document.getElementsByTagName("Product");
Node parentNode = nodelist.item(0);
NodeList childNodeList=parentNode.getChildNodes() ;
parentNode.removeChild(childNodeList.item(1));
3. After this I transform document to String
ByteArrayOutputStream out;
Transformer transformer=null;
TransformerFactory tfactory;
String resultTransformedXML;
tfactory = TransformerFactory.newInstance();
transformer = tfactory.newTransformer();
transformer.setOutputProperty(OutputKeys.METHOD, "xml");
transformer.setOutputProperty(OutputKeys.OMIT_XML_DECLARATION, "no");
transformer.setOutputProperty(OutputKeys.ENCODING, "WINDOWS-1251");
transformer.setOutputProperty(OutputKeys.INDENT, "yes");
transformer.setOutputProperty(OutputKeys.DOCTYPE_SYSTEM, "GMAadapter.dtd");
out = new ByteArrayOutputStream();
transformer.transform(new DOMSource(doc.getDocumentElement()), new StreamResult(out));
if (out != null)
resultTransformedXML = new String(out.toByteArray());
4. As the result I have such string
<?xml version="1.0" encoding="WINDOWS-1251"?>
<!DOCTYPE PurchaseOrder SYSTEM "GMAadapter.dtd">
<PurchaseOrder>
     <Company>Our company</Company>
     <Product>
     <Prod2>Coffe</Prod2>
</Product>
</PurchaseOrder>
I' ll be glad for any reply!!

Originally your Product element had 5 children:
1. A text node containing a newline
2. A Prod1 element
3. A text node containing a newline
4. A Prod2 element
5. A text node containing a newline
You deleted child 2 of those. What do you have now?
1. A text node containing a newline
2. A text node containing a newline
3. A Prod2 element
4. A text node containing a newline
I'm not sure what normalize() does but it might result in this:
1. A text node containing two newlines
2. A Prod2 element
3. A text node containing a newline
which looks the same in any case.

Similar Messages

  • Inserting Blank Line after subtotal in ALV

    Hi,
    I am using REUSE_ALV_GRID_DISPLAY for my report output and I am displaying the following fields :
    Company Code Comp Name  Bank Name Amount Data
    I am sorting my output based on the company code and displaying the subtotal for each company code.
    My requirement is that I need to insert a Blank line after every subtotaled value in the report output. like after the subtotaled value of company code say XXX a blank line should be inserted and then I should start displaying data for company code YYY.
    Please let me know if this is possible and if yes how to do that.
    In case I am not clear with my question please let me know.
    Regards,
    Lalit Kabra

    Hi,
    Following is my code ::
      wa_sort-fieldname = 'BUKRS'.
      wa_sort-tabname = 'WT_OUTPUT'.
      wa_sort-spos = '1'.
      wa_sort-up = 'X'.
      wa_sort-subtot = 'X'.
      wa_sort-group = 'UL'.
      APPEND wa_sort TO it_sort.
      CLEAR wa_sort.
      wa_sort-fieldname = 'WRBTR'.
      wa_sort-tabname = 'WT_OUTPUT'.
      wa_sort-spos = '4'.
      wa_sort-up = 'X'.
      wa_sort-group = 'UL'.
      APPEND wa_sort TO it_sort.
      CLEAR wa_sort.
    I have put the wa_sort-Group = 'UL' but could not get the desired results.
    What my need is that say for one company code there are five line items, and I need to sort the output by company code then after displaying the 5 line items, I need to display the subtotal of amount for that company code , then a blank line and then the data for the next company code should start.
    Please suggest how this can be achieved.
    regards,
    Lalit

  • Introduce blank line after every sub-total

    I want to add a blank line after each sub-total to improve readability. I thought CHAR(13) would do the trick. Do you have any ideas on how to accomplish this?
    Thanks,
    Dinesh.

    In Pivot Table, you can do duplicate layer on the column that you are subtotalling on. Then in the sum property of the duplicate column, specify label only. Hide the duplicate column.
    hth
    -Prakash

  • Report Painter insert blank line after report header

    Hi Expert,
    I have a problem to insert a blank line (a spacing) after the report header of my customized report painter.
    For example, in standard cost center report, S_ALR_87013611, there is a small box listed information like cost center/group ... and reporting period.
    Right after reporting period, the report header box ends, and there is a space line between it and the cost element data ...
    For my customized report painter, I cannot make this space line.
    I tried edit > row > insert blank line ... but not successful ... kindly advise.
    Thanks and regards,
    -CK

    Hi
    In KKO2 go to output tab, here under layout, tick header and then press pencil symbol and in the editor you write your header. I think this will give you desired result.
    Regards
    Rajneesh Saxena

  • Remove blank line after File Content Conversion

    I have a File>Conversion on PI7.0 (SP10).
    It seems to add a blank line. The XML is:
    <?xml version="1.0" encoding="UTF-8" ?>
    - <ns0:EPIWCountFile xmlns:ns0="urn:com.somewhere.overthere.nothere">
      <Personal_Area>LU</Personal_Area>
    - <detail>
      <recordCount>17</recordCount>
      </detail>
      </ns0:EPIWCountFile>
    The conversion is done:
    recordset Structure=detail,
    name=detail.fieldseparator    ,
    The output file is
    17
    Hopefully you can see the blank line before the number!???
    I have changed the contexts while processing, and played with other options, but it always adds a blank line at the begin.
    All this file is a count of the number of records processed.  (The personal_area is for a variable name for file/folder creation)
    How can I remove the blank line, as the target system fails due to this anomaly?

    If you are in a development environment, try this
    Make your target structure
    <?xml version="1.0" encoding="UTF-8" ?>
    - <ns0:EPIWCountFile xmlns:ns0="urn:com.somewhere.overthere.nothere">
    - <detail>
    <b><Personal_Area>LU</Personal_Area></b>
    <recordCount>17</recordCount>
    </detail>
    </ns0:EPIWCountFile>
    Content conversion parameter
    detail.fieldFixedLengths 0,2
    detail.fixedLengthTooShortHandling Cut
    P.S: If you need <Pesonal_Area> tag only for File/Folder Name, then why dont you use Adapter specific Identifiers to achieve the same.
    Regards,
    Jai Shankar

  • Blank Line After Blank Line aka Mozolla Composer

    Every time I make changes in Creator 2.1 it appears to add a blank link between every data line in the associated java file..
    This was (and still is even in Sea Monkey) a problem with Mozilla Composer every since Netscape (Composer) 4.x.. way back when....
    I did not notice (see) this with Creator 2.. How can I resolve this (the hundreds of blank lines??
    Thanks

    just downlod latest patch

  • Space after Paragraph: How much picas equal a blank line in Garamond Regular 7.5?

    I'm using Indesign CC and  would like to add a blank line after every paragraph in my document. I found out how to do that, but the only unit I'm offered is picas. I could probably switch to inches, but that doesn't really help me. My main text is written in Garamond Regular font size 7.5 and I would like to have blank space after each paragraph equal to a blank line written in that font with that size. How do if find out much large a blank line with those font settings is? I guessed and it seems to be equal to 0p7, but it would be great if I could do that without guessing blindly. I'm glad for any help.

    I am not sure to understand.  Garamond (or any other typeface) 7.5 equals to… 7.5 pts. But the size of a typeface is measured from ascender to descender, so it does not give you an accurate idea of the real height of the line. But leading is measured from baseline to baseline and this corresponds to the measure you are looking for. Once again, you need to know the leading value and you have to enter this value for the space after.
    And 1 pica is equal to 12 pts.

  • Delete blank lines when downloading to excel from CL_GUI_ALV_TREE

    Hi Experts
    I have developed a report using the class CL_GUI_ALV_TREE. If the user wants to download it into local machine in the excel format, he is going to the print preview and downloadn through Syste --> LIst --> Save --> Local File.
    But in the excel file there are few blank lines after each node. Now my client wants to excluding of those blank lines while downloading the file into excel. Is there any method to achieve this.
    Please advice me if there is any solution.
    Thanks in advance
    Praveen

    Hi Praveen,
    We cannot do any thing if the user download the file by that selection,
    Disable the download option from the toolbar and you provide a download button on the toolbar. as the user clicks the button the delete the black entries from the table and download it using  CL_GUI_FRONTEND_SERVICES.
    Regards,
    Kumar M.

  • Removing blank line in smart from nested loop

    hi,
              I have been using table in the smart forms for printing purchase order (services) material under a single material  and in my table control I have been using two to three loops on different rows according to the requirements. in the last loop I have been getting blank lines after each row is printing. Can someone one tell me how to control that blank line.
    Regards,
    Zahid Hameed.

    HI ,
                  I HAVE TWO LOOPS RUNNING UNDER THE TABLE TOTAL OF THREE UNDER FIRST LOOP I HAVE BEEN PRINTING THE 6 COLS THAT IS "SNO, material description,qty/unit,rate and amount and yes under the material description I HAVE BEEN PRINTING THE LONG TEXT AFTER THIS THE SECOND LOOP STARTS WHICH PRINTS FOR ME THE SUB MATERIAL DESCRIPTION AMOUNT AND UNIT/QTY,AND IN THE THIRD LOOP I HAVE BEEN PRINTING CONDITION NAME UNDER THE MATERIAL DESCRIPTION AND AMOUNT IN THE NEXT FIELD. THIS IS HOW THE WHOLE SCENARIO IS RUNNING THE FIRST TWO LOOPS R WORKING PROPERLY BUT WHEN CONTROL COMES TO THE THIRD LOOP IT PRINT LIKE THIS.
    GROSS PRICE                                                                               
    . 1100.000
    DISCOUNT                                                                               
    . 100.00-
    ABSOLUTE VALUE
                                                                                    . 400.00
    FOR BOTH THE VALUES I HAVE BEEN USING THE DIFFERENT COLOUMNS BUT AND BOTH THE COLOMNS HAVE   ALOT OF SPACE I HAVE IMPLEMENTED UR SAID CONDITIONS ON MY UPPER LOOP START WORK FINE. BUT THE THIRD ONE HAS THE SAME EFFECT AS I HAVE MENTIONED ABOVE.
    REGARDS,
    ZAHID HAMEED.
    Edited by: ZAHID HAMEED on Jul 3, 2010 10:12 PM
    Moderator message: Please do not use all upper case in the future.
    Edited by: Thomas Zloch on Jul 5, 2010 11:30 AM

  • Getting extra line after each record when opening a .txt file in excel

    Hi All,
    I have developed a program which downloads a file at application server.
    each record of file is 500 characters long & have CRLF at end.
    the file looks fine when opened in .txt format.
    however when i download it from application server to presentation server (using function "download to my computer"), & at presentation when i try to open it in excel format, it shows a blank line after every record.
    i don't want this blank line to appear if i download it & open it in excel.
    the file record is declared as char500 type.
    Please suggest how to deal with this.
    thanks in advance.
    Regards,
    Puja.

    Hi Puja,
    Check the file in the application server whether it has any gaps between the lines.
    Or else as you said if the file looks ok in .txt format, download the file in .txt and open the same file in excel (i.e. open with excel)
    Hope this sloves your problem.
    Regards,
    SB.

  • How to display values and new char line (blank line)

    Hi,
    In database, one field contains values followed by new character lines (blank lines) after blank lines there is no values. Finally, I would say the field contains values and blank lines. Every thing is fine in database.
    In Crystal Reports the field is displaying only values. Need to display values and blank line.
    User is asking after values new character lines (blank line) to be shown. They enter like that in an application. The user doubt is why report is not showing what they enter in the application.
    In detail explanation, front end tool is ASP.NET and backend is SQL Server.
    User enter some values in note field, after that they hit enter button in the same field, cursor will go next line...user may hit u2018enter buttonu2019 more than 5 times. So note field contain values and some blank lines which are created by after hitting enter button.
    If user opens the application, they could see values plus blank lines in the note field.
    They are fine with the application.
    In Crystal Reports, the note field shows only values.
    User is questioning that why we could not see in report we enter.
    I checked in .Net application and SQL server database it is fine. It is displaying values and blank line.
    Please help me out how to display values followed by blank lines in Crystal Reports - the way they enter in the application.
    Thanks and Regards,
    Manjunath N. Jogin

    Hi,
    Sharonmat,
    I tried as you suggested. It is still displaying only values.
    I would like to explain again.
    it is not exactly null values.
    In .Net application it is called 'new char line'.
    it shows those many lines look like null.
    it is working fine in database.
    Why it is not working in Crystal Reports? I am wondering...
    Thanks for your suggestion.
    Debi,
    User may enter any number of blank lines or they may not enter blank lines.
    That is the reason I can not always give more height or blank text object.
    Thanks for your suggestion.
    Please suggest me some more suggestions,
    Thanks and Regards,
    Manjunath N. Jogin

  • File import skips last record without blank line

    The following code works great for importing a csv file and inserting the records into tables..
    but the last record is not read unless there is a blank line after it..
    what needs to be changed so that the last line works with or without a carriage return after it..
    create or replace PACKAGE BODY "HTMLDB_TOOLS"
    AS
    TYPE varchar2_t IS TABLE OF VARCHAR2(32767) INDEX BY binary_integer;
    -- Private functions --{{{
    PROCEDURE delete_collection ( --{{{
    -- Delete the collection if it exists
    p_collection_name IN VARCHAR2
    IS
    BEGIN
    IF (htmldb_collection.collection_exists(p_collection_name))
    THEN
    htmldb_collection.delete_collection(p_collection_name);
    END IF;
    END delete_collection; --}}}
    PROCEDURE csv_to_array ( --{{{
    -- Utility to take a CSV string, parse it into a PL/SQL table
    -- Note that it takes care of some elements optionally enclosed
    -- by double-quotes.
    p_csv_string IN VARCHAR2,
    p_array OUT wwv_flow_global.vc_arr2,
    p_separator IN VARCHAR2 := ','
    IS
    l_start_separator PLS_INTEGER := 0;
    l_stop_separator PLS_INTEGER := 0;
    l_length PLS_INTEGER := 0;
    l_idx BINARY_INTEGER := 0;
    l_quote_enclosed BOOLEAN := FALSE;
    l_offset PLS_INTEGER := 1;
    BEGIN
    l_length := NVL(LENGTH(p_csv_string),0);
    IF (l_length <= 0)
    THEN
    RETURN;
    END IF;
    LOOP
    l_idx := l_idx + 1;
    l_quote_enclosed := FALSE;
    IF SUBSTR(p_csv_string, l_start_separator + 1, 1) = '"'
    THEN
    l_quote_enclosed := TRUE;
    l_offset := 2;
    l_stop_separator := INSTR(p_csv_string, '"', l_start_separator + l_offset, 1);
    ELSE
    l_offset := 1;
    l_stop_separator := INSTR(p_csv_string, p_separator, l_start_separator + l_offset, 1);
    END IF;
    IF l_stop_separator = 0
    THEN
    l_stop_separator := l_length + 1;
    END IF;
    p_array(l_idx) := (SUBSTR(p_csv_string, l_start_separator + l_offset,(l_stop_separator - l_start_separator - l_offset)));
    EXIT WHEN l_stop_separator >= l_length;
    IF l_quote_enclosed
    THEN
    l_stop_separator := l_stop_separator + 1;
    END IF;
    l_start_separator := l_stop_separator;
    END LOOP;
    END csv_to_array; --}}}
    PROCEDURE get_records(p_blob IN blob,p_records OUT varchar2_t) --{{{
    IS
    l_record_separator VARCHAR2(2) := chr(13)||chr(10);
    l_last INTEGER;
    l_current INTEGER;
    BEGIN
    -- Sigh, stupid DOS/Unix newline stuff. If HTMLDB has generated the file,
    -- it will be a Unix text file. If user has manually created the file, it
    -- will have DOS newlines.
    -- If the file has a DOS newline (cr+lf), use that
    -- If the file does not have a DOS newline, use a Unix newline (lf)
    IF (NVL(dbms_lob.instr(p_blob,utl_raw.cast_to_raw(l_record_separator),1,1),0)=0)
    THEN
    l_record_separator := chr(10);
    END IF;
    l_last := 1;
    LOOP
    l_current := dbms_lob.instr( p_blob, utl_raw.cast_to_raw(l_record_separator), l_last, 1 );
    EXIT WHEN (nvl(l_current,0) = 0);
    p_records(p_records.count+1) := utl_raw.cast_to_varchar2(dbms_lob.substr(p_blob,l_current-l_last,l_last));
    l_last := l_current+length(l_record_separator);
    END LOOP;
    END get_records; --}}}
    -- Utility functions --{{{
    PROCEDURE parse_textarea ( --{{{
    p_textarea IN VARCHAR2,
    p_collection_name IN VARCHAR2
    IS
    l_index INTEGER;
    l_string VARCHAR2(32767) := TRANSLATE(p_textarea,chr(10)||chr(13)||' ,','@@@@');
    l_element VARCHAR2(100);
    BEGIN
    l_string := l_string||'@';
    htmldb_collection.create_or_truncate_collection(p_collection_name);
    LOOP
    l_index := instr(l_string,'@');
    EXIT WHEN NVL(l_index,0)=0;
    l_element := substr(l_string,1,l_index-1);
    IF (trim(l_element) IS NOT NULL)
    THEN
    htmldb_collection.add_member(p_collection_name,l_element);
    END IF;
    l_string := substr(l_string,l_index+1);
    END LOOP;
    END parse_textarea; --}}}
    PROCEDURE parse_file( --{{{
    p_file_name IN VARCHAR2,
    p_collection_name IN VARCHAR2,
    p_headings_item IN VARCHAR2,
    p_columns_item IN VARCHAR2,
    p_ddl_item IN VARCHAR2,
    p_table_name IN VARCHAR2 DEFAULT NULL
    IS
    l_blob blob;
    l_records varchar2_t;
    l_record wwv_flow_global.vc_arr2;
    l_datatypes wwv_flow_global.vc_arr2;
    l_headings VARCHAR2(4000);
    l_columns VARCHAR2(4000);
    l_seq_id NUMBER;
    l_num_columns INTEGER;
    l_ddl VARCHAR2(4000);
    BEGIN
    IF (p_table_name is not null)
    THEN
    l_ddl := 'insert into '||p_table_name||' '||
    'select '||v(p_columns_item)||' '||
    'from htmldb_collections '||
    'where seq_id > 0 and collection_name='''||p_collection_name||'''';
    execute immediate l_ddl;
    RETURN;
    END IF;
    BEGIN
    select blob_content into l_blob from wwv_flow_files
    where name=p_file_name;
    EXCEPTION
    WHEN NO_DATA_FOUND THEN
    raise_application_error(-20000,'File not found, id='||p_file_name);
    END;
    get_records(l_blob,l_records);
    IF (l_records.count < 2)
    THEN
    raise_application_error(-20000,'File must have at least 2 ROWS, ONE HEADER and ONE OR MORE DATA, id='||p_file_name);
    END IF;
    -- Initialize collection
    htmldb_collection.create_or_truncate_collection(p_collection_name);
    -- Get column headings
    csv_to_array(l_records(1),l_record);
    l_num_columns := l_record.count;
    if (l_num_columns > 50) then
    raise_application_error(-20000,'Max. of 50 columns allowed, id='||p_file_name);
    end if;
    -- Get column headings and names
    FOR i IN 1..l_record.count
    LOOP
    l_headings := l_headings||':'||l_record(i);
    l_columns := l_columns||',c'||lpad(i,3,'0');
    END LOOP;
    l_headings := ltrim(l_headings,':');
    l_columns := ltrim(l_columns,',');
    htmldb_util.set_session_state(p_headings_item,l_headings);
    htmldb_util.set_session_state(p_columns_item,l_columns);
    -- Save data into specified collection
    FOR i IN 2..l_records.count
    LOOP
    csv_to_array(l_records(i),l_record);
    l_seq_id := htmldb_collection.add_member(p_collection_name,'dummy');
    FOR i IN 1..l_record.count
    LOOP
    htmldb_collection.update_member_attribute(
    p_collection_name=> p_collection_name,
    p_seq => l_seq_id,
    p_attr_number => i,
    p_attr_value => l_record(i)
    END LOOP;
    END LOOP;
    DELETE FROM wwv_flow_files WHERE name=p_file_name;
    END;
    BEGIN
    NULL;
    END;

    found someone that helped me.. here was the fix:
    l_current := dbms_lob.instr( p_blob, utl_raw.cast_to_raw(l_record_separator), l_last, 1 );
    -- START of new code, lines above as per existing
    IF nvl(l_current,0) = 0 AND LENGTH(TRIM(utl_raw.cast_to_varchar2(dbms_lob.substr(p_blob,32767,l_last)))) > 0 THEN
    p_records(p_records.count+1) := utl_raw.cast_to_varchar2(dbms_lob.substr(p_blob,32767,l_last));
    END IF;
    -- END of new code,, lines below as per existing
    EXIT WHEN (nvl(l_current,0) = 0);

  • Inserting blank line in internal table

    Hi
    I am inserting a report  from a internal table for eg the content of my internal table is
    data : abc
    event initialization.
    perform read_data.
    Now I want  1 blank line after every line in the internal table for eg
    data:abc
    event initialization
    perform read_data.
    How to insert a blank line in an internal table?
    Edited by: priya singh on Feb 4, 2009 9:37 AM

    hi,
    DATA: BEGIN OF i_pernr OCCURS 1 ,
    pernr TYPE pa0002-pernr,
    vorna TYPE pa0002-vorna,
    nachn TYPE pa0002-nachn,
    END OF i_pernr.
    TYPES : BEGIN OF string1  ,
         a TYPE char100,
        END OF string1.
    DATA : wa_string TYPE string1,
           it_stirng TYPE TABLE OF string1.
    START-OF-SELECTION.
      SELECT pernr vorna nachn FROM pa0002 INTO TABLE i_pernr UP TO 20 ROWS.
      LOOP AT i_pernr.
        CONCATENATE i_pernr-pernr i_pernr-vorna i_pernr-nachn INTO wa_string-a SEPARATED BY '|'.
        APPEND wa_string TO it_stirng.
        APPEND INITIAL LINE TO it_stirng.
      ENDLOOP.
      BREAK-POINT.
    Thanks

  • Blank line in ALV

    Hello,
    I want to group the report by Vendor and subtotal at the end of each vendor and then have a blank line after.
    Can someone tell me how to do that?
    All the help is appreciated.
    Thanks,
    Sneha Singh.

    After ALV report generation, are you  grouping  according to Vendor and getting the subtotal ? , If so according to me you can not put the blank line after every vendor
    As you are generating your ALV report from some internal Table, first Internal table should have blank record, but such blank record will not get inserted in your internal table, for some filed you have yo populate some values and remaing values as blank filed,
    You can try like this, but still getting balnk line is a difficult task,
    Rani

  • Output csv file with blank line

    Hi Fellow PI friend,
    I encountered 1 problem where my output csv file always come with 2 blank lines after data line record. Can someone give me some advise or tip how to solve it?
    Thanks in advance.

    Hi ,
       Check if this link throws some light on your issue:
    Junk character at end of file from sender adapter creating a blank record
    Regards,
    Ravi

Maybe you are looking for

  • Web service deployment error - CE 7.2(CAF)

    I am getting deployment error for CE 7.2 CAF application. it was working fine. Suddenly with out any changes in the code or the web service, I am not able deploy the application. if I remove the modeled service , it is successfully deployed. But mode

  • Macbook Air to VHS/VRC

    My TV and VHS/VRS have digital Audio. I cant get a Apple TV because I cant afford to buy 42 inch TV for computer connect. I bought Mini DisplayPort to Audio cable for my Macbook Air. Problem is my Macbook Air is new and was made in 2010. A Mini Displ

  • Does User POV Supersedes Grid POV in Hyperion - Financial Reporting ver 9.3

    In Hyperion Financial Reporting studio , under grid POV , for a perticular dimension we have selected a perticular member from the list. Now on the User POV, for the same Dimension it is selected as "any member". Now when we open the FR report in PDF

  • How to change file type to application mapping

    I switched from OpenOffice to iWork. Now when I double click a file with an extension .doc or .xls, still OpenOffice opens by default. I would rather have the defaults set to iWork, but without completely removing OpenOffice (yet). How can I accompli

  • Page links not lining up on PC's?

    I created a three page links. They work fine on Macs and some PC's. Unfortunately they aren't working on my client's slightly older PC (about 4 old years he says)... where the last two letters are being dropped to the line below in the text box. http