Substring in XMLP

Hi,
My report takes data from XML. There is one field which gets its value from the other. For example, the name of the vendor is "Advanced Networks" .Then the name of the "description" field should be the first 5 characters of the vendor name.So the name should be "Advan". How can I achieve this using XMLP? In SQL we use substring. Can we use it here? If so can you please tell me how I can use it?

How about something like:
<?xdofx:substr((some_data),1,5)?>Just tested it in a sample .rtf template in XML Publisher.
Found on p 126 of 230 of 115xdoug.pdf
Oracle® XML Publisher
User’s Guide
Release 11i
Part No. B13817-02
http://download-uk.oracle.com/docs/cd/B24289_01/current/acrobat/115xdoug.pdf

Similar Messages

  • XSL and Extended SQL Funtion not working in XMLP 5.0

    Hi All,
    I am not able to get the following functions to work for FSG publishing in XMLP 5.0 11.5.10.2 apps), but they both work in XMLP 5.6.2.
    I am using the following function in the Segment Values Override field:
    <?substring(translate(@RptDetName,'()',’‘),13,25)?>
    <?xdofx:substr(translate(@RptDetName,'()',’‘),13,25)?>
    Any ideas? I rather not upgrade to XMLP 5.6.2 due to the lost functionality of Single Step FSG publishing.
    Thanks,
    Kelly

    Hi Tim,
    Do you know if there are any XDO patches (for version 5.0) that would help resolve this problem. I am not able to get XSL functions to work in my template using version XMLP 5.0, but the same template works on an instances running XMLP 5.6.2. We are currently applying the latest FSG consolidated patch to see if it helps resolve the problem.
    Thanks,
    Kelly

  • Dunning Letter Creation in XMLP running into Error

    Hi All,
    Although I'm trying to create a report from the seeded Dunning Letter concurrent program that is giving the intended XML files but when running the XML Report Publisher Concurrent program, the program is erroring out with the following error:
    *****************************************Start of Log *************************************
    XML Publisher: Version : 11.5.0 - Development
    Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
    XDOREPPB module: XML Report Publisher
    Current system time is 11-AUG-2006 09:13:51
    XML Report Publisher 5.0
    Updating request description
    Waiting for XML request
    Retrieving XML request information
    Preparing parameters
    Process template
    --XDOException
    java.lang.reflect.InvocationTargetException: oracle.xdo.parser.v2.XPathException: Extension function error: Method not found 'set_xslt_locale'
         at oracle.xdo.parser.v2.XSLExtFunctions.getMethod(XSLExtFunctions.java:285)
         at oracle.xdo.parser.v2.XPathExtFunction.evaluateMethod(XPathExtFunction.java:267)
         at oracle.xdo.parser.v2.XPathExtFunction.evaluate(XPathExtFunction.java:225)
         at oracle.xdo.parser.v2.XSLVariable.getValue(XSLVariable.java:205)
         at oracle.xdo.parser.v2.XSLStylesheet.processVariables(XSLStylesheet.java:638)
         at oracle.xdo.parser.v2.XSLStylesheet.execute(XSLStylesheet.java:503)
         at oracle.xdo.parser.v2.XSLStylesheet.execute(XSLStylesheet.java:485)
         at oracle.xdo.parser.v2.XSLProcessor.processXSL(XSLProcessor.java:264)
         at oracle.xdo.parser.v2.XSLProcessor.processXSL(XSLProcessor.java:150)
         at oracle.xdo.parser.v2.XSLProcessor.processXSL(XSLProcessor.java:187)
         at java.lang.reflect.Method.invoke(Native Method)
         at oracle.apps.xdo.common.xml.XSLT10gR1.invokeProcessXSL(XSLT10gR1.java:580)
         at oracle.apps.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:378)
         at oracle.apps.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:197)
         at oracle.apps.xdo.common.xml.XSLTWrapper.transform(XSLTWrapper.java:156)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:916)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:869)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:204)
         at oracle.apps.xdo.template.FOProcessor.createFO(FOProcessor.java:1497)
         at oracle.apps.xdo.template.FOProcessor.generate(FOProcessor.java:913)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.runProcessTemplate(TemplateHelper.java:1766)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:1277)
         at oracle.apps.xdo.oa.cp.JCP4XMLPublisher.runProgram(JCP4XMLPublisher.java:807)
         at oracle.apps.fnd.cp.request.Run.main(Run.java:148)
    Start of log messages from FND_FILE
    End of log messages from FND_FILE
    Executing request completion options...
    Finished executing request completion options.
    Concurrent request completed
    Current system time is 11-AUG-2006 09:13:59
    **************************************End of Log *******************************************
    As u can c from the error, it seems to indicate that I'm using the method 'set_xslt_locale' which evidently I'm not using in my Template. Does anyone 've any ideas as to why this error is been thrown out.
    I even tried putting a template with just the text as 'This is a test Template' in the RTF Template. I still get the above errors.
    Any potential workaround too greatly appreciated.
    Thanks for ur time.

    One thing of note is that when I downloaded the template using XDOLOADER, the xml publisher seems to 've created a .xsl file that has reference to the method mentioned above. So although, I'm not referencing it, XMLPublisher created .xsl is referencing it n hence the error. Also, I do remember having read that 'set variable..' method refernced above is only available for a higher version of XMLP. I think I'm on 5.0.
    So the question is do I've to upgrade to 5.5 or can I make do with 5.0 version? I would love to get around this problem without the upgrade.
    Thanks

  • IF and SUBSTR in XML Publisher

    Hi
    I am developing a XML RTF template for a report.
    All I am trying to do is, if first 4 letters of the data of xml tag ITEM = 'Summ'
    then print a constant word 'Notes'
    <?if: xdofx:substr(ITEM,1,4)=’Summ’?> Notes<?end if?>
    I have been trying hard. IF and SUBSTR is not at all going along. Always throwing some error. Can some one please help me to resolve this issue
    Thanks

    Hi,
    I have a similar requirement, however instead of static text in the example i.e ITEM I am trying to get a substring from a tag value directly. Ex - Tag Value <eod>23-10-2009<eod>. I am trying to pick up the value 10 in the particular example and trying to compare with 1, which would be false and hence I need to print as false. I cannot use a hardcoded value since the value between the tags <eod> is dynamic and I need to use that itself.
    Can you please provide me with the sytax which can achieve this?
    Regards,
    Praseed

  • Can we use Trunc,Substr in Excel templates

    Hi All,
    I have a date xml tag with value like "2012/04/01 00:00:00" i need to show this in excel output as "01-APR-2012".
    I am using Excel template, need your help to achieve the same.
    I tired to use Trunc,Substr,Format date but nothing is working.
    Please give me your valuable inputs to solve this issue.
    Thanks
    Rajehs

    Varma,
    Thanks for the reply, i have already checked the link but it doesn't have syntax to use Trunc,substr etc. functions.
    Also date in example is - "1996-02-03T00:00:00.000-07:00" , but in my case date format is different "2012/01/01 00:00:00".
    Thanks
    Rajesh

  • Issue with 'text box' in rtf sub template for peoplesoft XMLP

    Hi all,
    i have a weired problem using 'text Box' in a sub template. I am calling a sub template from my template. In my Sub template i have a text box ( i am using text box bcoz i want to justify the text not to the page margin but starting from a specific column.not sure if there is any other way with which i can do the same !!) . When i process the report (using application engine program) i get the below error
    Message Log entry:
    [052311_071441208][oracle.apps.xdo.common.xml.XSLTWrapper][ERROR] XSL error:
    psxmlp://SUB_BMX2<Line 63, Column 191>: XML-22031: (Error) Variable not defined: '_MR'.
    @Line 63 ==> </xsl:stylesheet>
    [052311_071441216][oracle.apps.xdo.template.FOProcessor][EXCEPTION] java.lang.reflect.InvocationTargetException
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
         at java.lang.reflect.Method.invoke(Method.java:618)
         at oracle.apps.xdo.common.xml.XSLT10gR1.invokeProcessXSL(Unknown Source)
         at oracle.apps.xdo.common.xml.XSLT10gR1.transform(Unknown Source)
         at oracle.apps.xdo.common.xml.XSLT10gR1.transform(Unknown Source)
         at oracle.apps.xdo.common.xml.XSLTWrapper.transform(Unknown Source)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(Unknown Source)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(Unknown Source)
         at oracle.apps.xdo.template.FOProcessor.createFO(Unknown Source)
         at oracle.apps.xdo.template.FOProcessor.generate(Unknown Source)
         at com.peoplesoft.pt.xmlpublisher.PTFOProcessor.generateOutput(PTFOProcessor.java:74)
    Caused by: oracle.xdo.parser.v2.XPathException: Variable not defined: '_MR'.
         at oracle.xdo.parser.v2.XSLStylesheet.flushErrors(XSLStylesheet.java:1534)
         at oracle.xdo.parser.v2.XSLStylesheet.execute(XSLStylesheet.java:521)
         at oracle.xdo.parser.v2.XSLStylesheet.execute(XSLStylesheet.java:489)
         at oracle.xdo.parser.v2.XSLProcessor.processXSL(XSLProcessor.java:271)
         at oracle.xdo.parser.v2.XSLProcessor.processXSL(XSLProcessor.java:155)
         at oracle.xdo.parser.v2.XSLProcessor.processXSL(XSLProcessor.java:192)
         ... 13 more
    [052311_071441218][oracle.apps.xdo.template.FOProcessor][ERROR] End Memory: max=64MB, total=11MB, free=1MB
    PeopleTools 8.49.27 - Application Engine
    Copyright (c) 1988-2011 PeopleSoft, Inc.
    All Rights Reserved
    Processing started
    data extraction for EMPLID:1000646332 EMPL_RCD:0 EFFDT:2009-12-28 and EFFSEQ:6
    CFilem::LoadDefn(RDCRHIUTEECKNDZN2SPSRQ) : read 1 chunks
    UnchunkStuff : read 1 chunks for nCharDataLen 10520 chars
    CFilem::LoadDefn(RDCRHIUTEECKNDZN2SPSRQ) : after decode & decompress: 35330 bytes
    Calling XMLP
    Processing Report Defn:TR_BMX2
    Error Executing XMLP.Error generating report output: (235,2309) PSXP_RPTDEFNMANAGER.ReportDefn.OnExecute Name:ProcessReport PCPC:51952 Statement:1163
    Called from:TR_LATAM_CONTRACTS.ContractsXML.OnExecute Name:ExecuteXmlp Statement:16
    Called from:TR_LAMCNTRCT.MAIN.GBL.default.1900-01-01.Step04.OnExecute Statement:20
    Process 442706 ABENDED at Step TR_LAMCNTRCT.MAIN.Step04 (PeopleCode) -- RC = 22 (108,524)
    Process %s ABENDED at Step %s.%s.%s (Action %s) -- RC = %s
    It works fine when i remove the text box from my sub template. I tried to put the text box directly in the main template and it worked fine !! it is erroring out only when i use the text box in sub template !!
    Template file:
    <?import:psxmlp://SUB_BMX2?>
    <?choose:?>
    <?when: .//LETTER_CD=”PA4”?>
    <?call: BA101?>
    <?end when?>
    <?otherwise:?>
    Invalid Letter Code. No Sub Template Call defined for this Letter Code.
    <?end otherwise?>
    <?end choose?>
    Sub Template:
    <?template:BA101?>
    Testing without text box.
    Testing with text box
    there is a text box with text here .. cannot be copied from word !!
    <?end template?>
    i got the below error when i tried to 'preview' the report from my report definition.
    Error generating the report output: During calling method PTFOProcessor.generateOutput, the XDO engine throws an exception:NULL. (235,3101) (235,2309)
    Error occurred during the process of generating the output file from template file, XML file, and the translation XLIFF file.
    Any help would be greatly appreciated.
    Edited by: Naveen Kumar on May 23, 2011 4:31 AM

    misunderstood =/
    Original (Coming - output):  "<PAY_TXT>PAYκ Contact your bank or financial institution to make this payment from your cheque, savings, debit or transaction account.</PAY_TXT>"
    it's in output but what is data in database ?
    sorry but without knowing about source data for forming the xml i haven't ideas about your problem
    in db it's "TM " or "™" or ... ?
    Original (Coming - output):  "<PAY_TXT>PAYκ Contact your bank or financial institution to make this payment from your cheque, savings, debit or transaction account.</PAY_TXT>"
    Something like XAE or "K" after PAY Value in the xml tag and continued the text value.  (Tag value is not getting copied exactly here - i am sorry for that )
    that's ok. i need to see the problem not the data as is
    Expected (output):  "Here it needs to produce the "PAY TM" (Here "TM" should be super scripted to "PAY" Value in tag).
    as super scripted in xml?
    as idea - you can have <PAY_TXT>PAY TM</PAY_TXT> and in publisher set TM as super
    Designing XSL Subtemplates - 11g Release 1 (11.1.1)

  • Help with calculations in XMLP Template

    Hi,
    I would like to get some guidance on how the below could be done in XMLP. I am getting the 'Amount' column from FSG and would like to calculate the percentage in the template. Is it possible to calculate rows and store results in column like in the example below in XMLP? Many thanks for your help.
    Type-------Amount-----%
    Gross-----------10-----166.7 (Gross/Net*100)
    Discount---------4-------66.7 (Discount/Net*100)
    ======================
    Net (G-D)--------6-----100.0 (Net/Net*100) or (Gross% - Discount%)

    Hi Hazan,
    I have done a similar Gross Margin Report using XMLP 5.5.
    I have used the concept of variables to store temporary values in my report and carry out complex calculations.
    Please let me know what version of XMLP are you using?
    Some of my form fields containing variables look like this:
    <?xdoxslt:set_variable($_XDOCTX, ’Sum1’, CS_TCOST + CS_TCOST1)?>
    <?xdoxslt:get_variable($_XDOCTX, ’Sno’ )?> <?xdoxslt:set_variable($_XDOCTX, ’Sno’, xdoxslt:get_variable($_XDOCTX, ’Sno’) + 1)?>
    <?xdofx:if(CS_TSELL + CS_TSELL1) <= 0 then
    xdoxslt:set_variable($_XDOCTX, ’Sum1’, 1)
    end if?>
    I am not sure if you are looking at this or not. Do let me know if this solves the purpose and need be required some help :-o)
    HTH,
    Nitin

  • How to find a substring in XML-lookslike string?

    Hi,
    I have a question and wondering if anyone can help me with it.
    We have Java tool that does a string replacement inside another string (that is actually an XML request). It works fine when searching for a simple substring (that exists within 1 line of the XML string).
    But when I'm trying to find and replace a substring that covers more then 1 line of XML request - it does not work. And I'm not sure what is wrong or (more importantly) how to make it work.
    There is no return or new-line chars seen in the XML request.
    To make it more clear - here is what I have and trying to do:
    <a>
    <a>
    <b>
    <c>
    <d> </d>
    <c>
    <c>
    </c>
    </c>
    </c>
    </b>
    </a>
    </a>
    If I'll seach for either <c> OR </c> OR <d> </d> it all works fine ... BUT if Itry to find
    </c>
    </b>
    which will be copied directly from the XML request and past into field - thus it will look like this (horisontal line instead of vertical) </c> </b> - it does not work

    qavlad wrote:
    But when I'm trying to find and replace a substring that covers more then 1 line of XML request - it does not work. First statement - "more than 1 line"
    There is no return or new-line chars seen in the XML request.Second statement.
    There is no way that I can understand what you meant in your first statement in terms of your second.
    If there are no end of line characters at all then there is only one line. Period.
    If there are end of line characters, of any kind, then that would really suggest the source of the problem.

  • Get the values using substr

    Hi All,
    i am a comma seperated values into a variable. below are the values.
    "1234567,3,124567,3,14"
    the length of the values can vary. eg the output can also be
    "123,3,124567,443,1224"
    I need to get each value and store it a separate variable. is it possible using substr..?
    Please help me out...

    Hi,
    Here's how you can split a delimited list into parts in Oracle 9:
    WITH     got_part_cnt     AS
         SELECT     pk
         ,     csv
         ,     1 + LENGTH (csv)
                - LENGTH (REPLACE (csv, ','))     AS part_cnt
         FROM     table_x
    ,     cntr     AS
         SELECT     LEVEL     AS n
         FROM     ( SELECT  MAX (part_cnt)     AS max_part_cnt
                FROM       got_part_cnt
         CONNECT BY     LEVEL <= max_part_cnt
    ,     got_pos          AS
         SELECT     p.pk
         ,     p.csv
         ,     c.n
         ,     INSTR ( ',' || p.csv
                    , 1
                    , c.n
                    )          AS start_pos
         ,     INSTR ( p.csv || ','
                    , 1
                    , c.n
                    )      AS end_pos
         FROM    got_part_cnt     p
         JOIN     cntr          c     ON     c.n     <= p.part_cnt
    SELECT       pk
    ,       csv
    ,       n
    ,       SUBSTR ( csv
                 , start_pos
               , end_pos - start_pos
               )               AS item
    FROM       got_pos
    ORDER BY  pk
    ,            n
    ;Pk is the primary key of table_x. If you don't need it, you can omit it.
    Of course, this will work in versions later than 9, but you wouldn't want to if you could use REGEXP_SUBSTR.

  • How we get all string from substring,.,.

    Hi,
    I am doing one application . In that i have to enter substrubg in search user inputfield and then i click on search . Not i want to show all user which contain that substring . So please guide in that.
    Example...
    Like i am writing "ab*" then all users comes which contain ab substring.
    Regards,
    Gurprit Bhatia

    Hi,
    Try this logic.
    String searchString="ab*";
    searchString=searchString.subString(0,searchString.length-2);
    String[] matchedArray=new matchedArray(100);
    int j=0;
    //Let your compare strings be in an array strArray
    for(int i=0;i<strArray.length;i++){
    String temp=strArray<i>.subString(0,searchString.length-2);
    if(temp.equals(searchString)){
      matchedArray[j]=strArray<i>;
      j++;
    Then display the matched String array.
    Hope it helps.
    Regards,
    Srinivasan Subbiah

  • How to change default output XMLP report  to rtf/excel !

    I used xmlp 5.6.2
    The default output for report is pdf file.
    Now i want to change default output to rtf or excel file
    Please ! help me !

    Hi Brightsea,
    We customized the code in FNDRSRUN.fmb, But we are not able to get the output in RTF format.
    Our requirement is to display the report output in .rtf or .xls(Not required to defaultly as .rtf or .xls).
    we are getting the following error.
    "The XML page cannot be displayed
    Cannot view XML input using style sheet. Please correct the error and then click the Refresh button, or try again later.
    Invalid at the top level of the document. Error processing resource 'http://galaxian.bluestar.cvg0:8000/OA_CGI/FNDWRR.exe?t...
    {\rtf1\ansi\deff0"
    ^
    Regards,
    suresh.

  • Need help in using SUBSTR

    Hi,
    I have a table tablea where a column stores values like ABC LTD,BCD LTD,CEF LTD,DEFEF LTD.
    I want the output as
    ABC,BCD,CEF,DEF
    i have used substr but could not frame the result as the last value stores DEFEF so culd not do substr(1,3) from the table
    Any help will be needful for me
    Edited by: user13443042 on Jan 26, 2011 2:31 AM

    You mean like this?
    SQL> ed
    Wrote file afiedt.buf
      1  select trim('.' from replace('ABC LTD,BCD LTD,CEF LTD,DEF LTD.',' LTD'))
      2* from dual
    SQL> /
    TRIM('.'FROMREP
    ABC,BCD,CEF,DEF
    SQL>However, it looks like your data structure is wrong. You shouldn't store multiple values in a single string in a colulmn. These should be multiple records or multiple columns as appropriate.

  • Retrieve XMLP documents directly from BLOB fields in E1; Tools Release 8.97

    Hi,
    I want to be able to retrieve XML Publisher reports (PDF, RTF, HTML) directly from the database BLOB fields in EnterpriseOne. Instead of making users manually save each report to get a soft-copy of the report, I wanted to be able to retrieve the reports from a BLOB field, create a new external file for it, and open the file with the related editor (MS Word, Adobe, IE, etc.).
    We are on Oracle 10g, and I was able to get a file populated with some BLOB data for a particular RTF file. However, when I try to open the file in MS Word, all I get is junk.
    Does anyone know if JDE stores these documents differently into BLOB fields than standard?
    Here is the code I used using PL/SQL...
    DECLARE
    xmlstr BLOB;
    warn VARCHAR2(400);
    v_file Utl_File.file_type;
    line_buf RAW(32767);
    maxbufsize BINARY_INTEGER := 32767;
    amount BINARY_INTEGER;
    offset BINARY_INTEGER;
    dir varchar2(50) := 'XMLP_DIR';
    filename varchar2(50) := 'JPARK_TEST.rtf';
    bsize NUMBER;
    BEGIN
    v_file := utl_file.fopen(dir,filename,'wb',maxbufsize);
    SELECT xorpdxpblb INTO xmlstr FROM sy812.F95631 WHERE xorpdorgud = '2115630440008e-SMNQTWZCFI-YEKRWCIOUA';
    --SELECT xdrpdubblb INTO xmlstr FROM sy812.F95630 WHERE xdrpduogud = '21080156900001-SMNQTWZCFI-ORORNYFSYJ';
    bsize := dbms_lob.getLength(xmlstr);
    dbms_output.put_line(bsize);
    amount := maxbufsize;
    offset := 1;
    WHILE (offset<bsize) LOOP
    DBMS_LOB.read(xmlstr,amount,offset,line_buf);
    utl_file.put_raw(v_file,line_buf, TRUE);
    offset := offset+amount;
    --utl_file.fflush(v_file);
    --Dbms_Output.put_line(offset);
    END LOOP;
    utl_file.fclose(v_file);
    EXCEPTION
    WHEN OTHERS THEN
    UTL_FILE.FCLOSE_ALL;
    DBMS_OUTPUT.PUT_LINE('WHEN OTHERS');
    dbms_output.put_line(substr(sqlerrm,1,254));
    END;

    the database and blob fields are identical. In the 11i (eBusiness suite) we would store this information in fnd_lobs.
    Ike Wiggins
    http://bipublisher.blogspot.com

  • XMLP print - two steps or one step?

    When we were in 11.5.9 + XMLP 4.5 (with XMLP and CM integrated configuration), to print concurrent reports via XMLP always two steps. namely, the first step produces XML file and the second step is running XML Publisher Report to feed the XML file to the template and print pdf output.
    After we upgraded EBS from 11.5.9 to 11.5.10.2, the XMLP has also been upgraded to 5.0. Apperas to be (my observation) that SRS enabled reports(such as "Printed Purchase Order(Portait)", "Invoice Print Batch of Invoices", "Invoice Print Preview Report", "Invoice Print Selected Invoices", etc) can been printed in one step (no need to run the second step - run XMLP, OPP takes care of it).
    However, for non-SRS programs, such as "Print purchase order", "Print Statement", "Dunning Letter Print", it still need two steps. Oracle support says, it is bug to specific report (she gave Dunning Letter Print as example) and not related to SRS.
    Just wonder if any one in this forum has similar circumstances and has got any workaround.
    Any help and information appreciated.

    You are correct in your assessment. We created a program that submits the desired program then passes the request id, template, etc. to the xml report publisher concurrent program.
    Brett

  • XMLP package error

    Hi XMLP Gurus!!
    I am very much new to XML Publisher. I am facing an issue which has halted the progress of my work.
    I am developing a salary increment letter .
    While in the package ,dbms_output.put_line gives diferent value and the same column from cursor when taken into the xml format using
    fnd_file.put_line(fnd_output,...) gives a different value .
    How can this be possible . My client is a European client where values are in the different from in the database.
    For instance, in the database 400.45 is stored while the same thing is stored in 400,45 in application.
    I used nls_numeric characters functionality but still facing the issue.
    how can data in the package itself differ? dbms_output and fnd_file.put_line output should give same results though in xml format.
    **Urgent help please**

    Hi XMLP Gurus!!!
    I am facing that european numbers issue again.
    This is my XML output generated after running the concurrent program.
    - <PEOPLE>
    - <LINE>
    <p_date>01-JAN-10</p_date>
    <p_Employee_Number>546648</p_Employee_Number>
    <full_name>Vegger, Anders Jerring AJV</full_name>
    <address_line1>Gemmavej 25</address_line1>
    <address_line2 />
    <supervisor>Pedersen, Martti Boye MBP</supervisor>
    <Incr_In_C5>14155.93</Incr_In_C5>
    +*<Increase_In_Salary>630.08</Increase_In_Salary>*+
    <Increase_In_Fixedamend>0</Increase_In_Fixedamend>
    <New_Pension_Perc>15</New_Pension_Perc>
    <New_Telenor_Bonus_Mths>6</New_Telenor_Bonus_Mths>
    <New_Sales_Mgr_Bonus_Months>5</New_Sales_Mgr_Bonus_Months>
    <New_Salescomm>7066.67</New_Salescomm>
    <New_Fca_Rate>1.25</New_Fca_Rate>
    <New_Ferie_Days>6</New_Ferie_Days>
    <Spot_Bonus>0</Spot_Bonus>
    <Get_Salary>36430.08</Get_Salary>
    <Fixedamend>0</Fixedamend>
    <Fca_Allowance>764.92</Fca_Allowance>
    <Ferie_Allowance>840.69</Ferie_Allowance>
    <Curr_Salescomm>7066.67</Curr_Salescomm>
    <Telbonus>9107.52</Telbonus>
    <Smbonus>7589.6</Smbonus>
    <Indbonus>1000</Indbonus>
    <Ptbsc>0</Ptbsc>
    <Pfsc>0</Pfsc>
    <Psccs>0</Psccs>
    <C3>62799.48</C3>
    <Pension_Allowance>9179.08</Pension_Allowance>
    <Carallowance>0</Carallowance>
    <Car_a_Allowance>0</Car_a_Allowance>
    <Car_b_Allowance>0</Car_b_Allowance>
    <C5>71978.56</C5>
    <Telenor_Bonus_Mths>6</Telenor_Bonus_Mths>
    <Sales_Mgr_Bonus_Months>5</Sales_Mgr_Bonus_Months>
    <Pension_Perc>15</Pension_Perc>
    <Pension_Emp_Perc>3.7</Pension_Emp_Perc>
    <Curr_Fca_Rate>1.25</Curr_Fca_Rate>
    <Overtime>N</Overtime>
    <Newspaper>N</Newspaper>
    <Adsl>Y</Adsl>
    <Mobile>Y</Mobile>
    <Voip>N</Voip>
    <Mbb>N</Mbb>
    <Weekly_Hours>37</Weekly_Hours>
    </LINE>
    </PEOPLE>
    Now my requirements is such that if any value in this xml tags value comes out to be 0 from database (package) that whole line in my letter should be removed and
    the below line should come upwards,...this i am able to achieve but the problem is that of numbers. for eg,
    +*<Increase_In_Salary>630.08</Increase_In_Salary>*+
    the value 630.08 is stored as 630,08 in application and it has to be showed in letter(final report) like this only. How to achieve this??
    630.08 is wat stored in database and i need 630,08...i used nls_numeric_characters also still facing the issue?
    Can someone tell me a better remedy for this??
    Urgent help needed!!!
    thanx !!

Maybe you are looking for

  • I would like to ask how to retrieve Sever/Host IP address.

    Hello, I would like to ask how to retrieve Sever/Host IP address. sys_context('USERENV', 'IP_ADDRESS') returns client's IP address only, but what I want to acquire is Host/Server IP address Thank you

  • Aperture 3 problem with Sony NEX-5n raw files

    Hi all, I have a Sony Alpha NEX-5n camera and my brother advised to take the pictures in raw format in order to keep all the information the sensors gathered when making the picture. The problem I have is that the software Sony provides with the came

  • Print the amount in text number in one document

    Hi, I have one report in Crystal Report 10 , and i try to convert the amout to show me in text numbers, this application is to print one check and I need to print the amount in numbers in Text. I use this formula in my system but for some reason the

  • Unable to view my bill

    Hi, I got BT broadband infinity a month ago but I still cannot view my bill, manage my payments or see my usage on MyBT. I can log in to MyBT without problems but all I'm seeing is a message telling me that it can "take up to 48 hours after your orde

  • Why can't I print borderless on Epson R2880 from PE8 or Lightroom 3?

    Despite selecting no borders and/or borderless paper in Lightroom 3 or Photoshop Elements 8, the Epson R2880 prints with a border. Using i-Photo I can get borderless prints OK.