Using XSL to remove redundant data

I am trying to produce an XML document from information on our 9i database. Using XDK I am able to produce the following XML document very easily:
<ROWSET>
  <ROW num="1">
    <CUSTOMER_ID>1</CUSTOMER_ID>
    <CUSTOMER_NAME>Cust 1</CUSTOMER_NAME>
    <ORDER_NO>1</ORDER_NO>
    <ORDER_DESC>The first customer's first order</ORDER_DESC>
  </ROW>
  <ROW num="2">
    <CUSTOMER_ID>1</CUSTOMER_ID>
    <CUSTOMER_NAME>Cust 1</CUSTOMER_NAME>
    <ORDER_NO>2</ORDER_NO>
    <ORDER_DESC>The first customer's second order</ORDER_DESC>
  </ROW>
  <ROW num="3">
    <CUSTOMER_ID>2</CUSTOMER_ID>
    <CUSTOMER_NAME>Cust 2</CUSTOMER_NAME>
    <ORDER_NO>3</ORDER_NO>
    <ORDER_DESC>The first customer's third order</ORDER_DESC>
  </ROW>
  <ROW num="4">
    <CUSTOMER_ID>2</CUSTOMER_ID>
    <CUSTOMER_NAME>Cust 2</CUSTOMER_NAME>
    <ORDER_NO>4</ORDER_NO>
    <ORDER_DESC>The second customer's first order</ORDER_DESC>
  </ROW>
  <ROW num="5">
    <CUSTOMER_ID>2</CUSTOMER_ID>
    <CUSTOMER_NAME>Cust 2</CUSTOMER_NAME>
    <ORDER_NO>5</ORDER_NO>
    <ORDER_DESC>The second customer's second order</ORDER_DESC>
  </ROW>
  <ROW num="6">
    <CUSTOMER_ID>3</CUSTOMER_ID>
    <CUSTOMER_NAME>Cust 3</CUSTOMER_NAME>
    <ORDER_NO>6</ORDER_NO>
    <ORDER_DESC>The third customer's only order</ORDER_DESC>
  </ROW>
</ROWSET>I would like to convert it into the following format:
<CUSTOMER>
  <ID>1</ID>
  <NAME>Cust 1</NAME>
  <ORDERS>
    <ORDER>
      <NO>1</NO>
      <DESC>The first customer's first order</DESC>
    </ORDER>
    <ORDER>
      <NO>2</NO>
      <DESC>The first customer's second order</DESC>
    </ORDER>
  </ORDERS>
</CUSTOMER>I presume XSL can do this, but I'm not sure where to start. Could anyone confirm if this is possible, and if so point me in the right direction?
Thanks in advance,
Paul.

Yes, an XSLT can do this. There are a number of free XSL tutorials on the web you can look at to get the basic ideas; when you're ready, I know of no better reference than O'Reilly's XSLT.
XSL, IIRC, is Turing-complete, so there's very little it can't do. But if you're accustomed to procedural scripting you'll have to rewire a bit of your brain, because it is not procedural. Good luck and have fun!

Similar Messages

  • Using REGEXP_REPLACE to remove XML data from between XML tags

    Hello there,
    I am trying to use the REGEXP_REPLACE SQL function on a piece of XML, to remove the actual XML data from the elements. My end goal is to end up with a comma-delimited list of XML element names. As part of the first step, I just want to rip out all the actual data.
    I tested the following query, and it initially appeared to work:
    SELECT REGEXP_REPLACE('&gt;THIS IS A TEST&lt;',
                          '&gt;([[:alnum:]]\s|\S)*&lt;',
                          '&gt;&lt;' ) AS test_result
      FROM dual;Unfortunately, when I applied this to a full XML string, it didn't work. Here is the test query I used:
    SELECT REGEXP_REPLACE('&lt;ROW&gt;&lt;TEST_ELEMENT1&gt;123&lt;/TEST_ELEMENT1&gt;&lt;TEST_ELEMENT2&gt;THIS IS A TEST!&lt;/TEST_ELEMENT2&gt;&lt;/ROW&gt;',
                          '&gt;([[:alnum:]]\s|\S)*&lt;',
                          '&gt;&lt;') AS test_result
      FROM dual;I ended up with the following output:
    *&lt;ROW&gt;&lt;/ROW&gt;*
    What I was trying for was:
    *&lt;ROW&gt;&lt;TEST_ELEMENT1&gt;&lt;/TEST_ELEMENT1&gt;&lt;TEST_ELEMENT2&gt;&lt;/TEST_ELEMENT2&gt;&lt;/ROW&gt;*
    If you're reading this and you're a Posix RegExp Guru, please could you let me know exactly where I'm going wrong? RegExps are not my strong point, but I'd like to get better at them.

    jmcnaug2 wrote:
    Just out of interest, how would you go about writing the XQuery function so that it returns the actual XML Element values in comma-delimited form (This is Oracle Canonical XML, so has a very basic layout)? ;)Do you mean like this ?
    SQL> SELECT xmlquery(
      2    'for $i in $d/ROWSET/ROW
      3     return string-join($i/*, ",")'
      4    passing dbms_xmlgen.getXMLType('SELECT employee_id, last_name, first_name FROM employees WHERE rownum < 10') as "d"
      5    returning content
      6  ).getClobVal() as csv
      7  FROM dual;
    CSV
    100,King,Steven
    101,Kochhar,Neena
    102,De Haan,Lex
    103,Hunold,Alexander
    104,Ernst,Bruce
    105,Austin,David
    106,Pataballa,Valli
    107,Lorentz,Diana
    108,Greenberg,Nancy
    SQL>

  • How would you launch an applet using xsl and some xml data?

    Is is possible?

    Thanks for your input but I got it working with the correct CDATA syntax. The concept is to launch a database driven system using xml instead, so the applet piece is completely modular and can be added to any other application that can call a url. No databases need to be created. Its not crazy if the amount of info int he database is managebable.

  • Removal of data from 1 table after comparing with other table

    Hi,
    I have 2 table. Both have same primary key i.e. WO_ID. 1st table wrk_ord have no redundant data and the 2nd table wo_audit have few redundant data. Both table are related with WO_ID. Now I want to remove the redundant data from table wo_audit so that the uniq WO would be same in both the table. both the table are very huge. WO_ID table have 31million of record. I ran query
    delete from wo_audit where wo_id not in (select wo_id from wrk_ord);
    this query throw an error ora-01555. I just want to know the how can optimize this query.
    Thanks.

    Hi,
    delete from wo_audit where wo_id not in (select wo_id from wrk_ord);AFAIk, you not removing redundant data, but you are removing the data which does not exists in wrk_ord. Try to check things from business perspective.
    Tune the value of the UNDO_RETENTION parameter, check the the below one
    select max(maxquerylen) from v$undostat;
    - Pavan Kumar N
    Edited by: Pavan Kumar on Apr 8, 2011 1:36 PM

  • Need to build communication redundancy using serial RS-232 for Data Transfer b/w Host and RT irrespective of TCP/IP Data Transfer

    Hi - I would like to build the logic in which it should accomodate the communication redundancy using serial RS-232 for Data Transfer b/w Host and RT irrespective of TCP/IP Data Transfer.
    I want to do data transfer b/w host and RT through RS232 VISA portal whenever TCP/IP ethernet cable has been unplugged from the controller continuosly , it should keep on checking for TCP/IP link re-establishing also , when ever the tcp/ip link established again that time the communication should be using in that link only. This is accomplished by deploying the RT vi as execuatbale file. I made some logic regards to the above said logic , bur it was not working as much I expected.
    I request you to go through the attached two VI's and let me know , what I did wrong in that,
    Please do the needful.
    Attachments:
    TCP_Serial_Host.vi ‏33 KB
    TCP_Serial_RT.vi ‏41 KB

    even i am new to this topic and i am trying to get familiar with these protocols
    refer to tcp server/client examples in labview examples

  • Variable indent based on xml data using xsl-fo start-indent

    I am trying to make a report of a peoplesoft tree which includes xml data to indicate the level of the tree.
    I have a template which sort-of works but has some strange behavior. First I set a variable to the value of the treelevel, and multiply by ten to set the value for the indent that I want. I then apply that value for the indent to the start-indent attribute
    <?xdoxslt:set_variable($_XDOCTX, 'x', (fld_TREE_LEVEL_NUM)*10)?>
    <xsl:attribute name="start-indent" xdofo:ctx="table-cell"><?xdoxslt:get_variable($_XDOCTX, 'x')?></xsl:attribute>
    These tags are put in a table row which repeats within a for-each group along with the data to get indented.
    The problem is that the indenting seems to work but not consistently and some rows which clearly have different indent levels are printing as if they are at the same level.
    Any ideas would be appreciated.

    Hi! Use xsl:variable:
    <xsl:variable name="var"><?fld_TREE_LEVEL_NUM*10?></xsl:variable>
    <xsl:attribute name="start-indent" xdofo:ctx="table-cell"><xsl:value-of select="$var" /></xsl:attribute>

  • How to remove Exif data using terminal

    I want to remove Exif data from images using Terminal
    I've googled and cant find anything
    There's a Linux command, but nothing fro Terminal - or at least I cant find
    Thanks
    Omar

    @Frank Caggiano, thanks. i only want to remove and not do anything else. exiftool allows u to write as well
    my ideal solution: not to install anything
    that's something that comes from windows: fearing that installing things will clog up ur system. lol
    i need imagemagik for other image editing anyway
    thanks for the replies

  • HT4759 i have lost my iphone i dont have iemi number but i used icloud id on that as there any way to locate my phone and if not located the plz tell my the way i remove my data from it. thanks

    i have lost my iphone i dont have iemi number but i used icloud id on that as there any way to locate my phone and if not located the plz tell my the way i remove my data from it. thanks

    Go to icloud.com.  Log in with your Apple ID & Password.  Go to the Find My iPhone section.  Perform a remote wipe of the device.
    You don't have to have downloaded any app.  You only have to have enabled the Find My iPhone option under Settings > iCloud.  If you did not do that, then you cannot remotely access the device.
    If that's the case, then change ALL of your account passwords; email, banking, etc.  All of them.  And then monitor those accounts very closely!

  • How to use xsl-variables

    I have the following piece of code. The numbers are the number of the code lines.
    In line 17 I want to assign a value to the attribute value of the node options. The value should be the value of the xsl-variable "wildart" which i declared in line 7. How can use the value of this variable in line 17 correctly?
    1     String xsl =
    2      + "<form name=\"wildart\" action=\"/servlet/model/ServletTransformerTest\"  method=\"post\">"
    3      + "<select name=\"wildart\" onChange=\"form.submit()\">"
    4      + "<option>Bitte Ausw�hlen</option>"
    5      + "<xsl:for-each select=\"//tier\">"
    6      + "<xsl:sort select=\"@wildart\" data-type=\"text\"/>"
    7      + "<xsl:variable name=\"wildart\" select=\"@wildart\"/>"
    8      + "<xsl:variable name=\"name\" select=\"@name\"/>"
    9      + "<xsl:variable name=\"anzahl\" select=\"count(//tier[@wildart=$wildart])\"/>";
    10                
    11     if(optionSelected == null) {
    12
    13        xsl = xsl           
    14        + "<xsl:for-each select=\"//tier[@wildart =$wildart]\">"
    15        + "<xsl:if test=\"position()=last()\">"
    16        + "<xsl:if test=\"@name=$name\">"         
    17        + "<option value=\"$wildart\">"
    18        + "<xsl:value-of select=\"@wildart\"/>"
    19        + "</option>"
    20        + "</xsl:if>";
    21     }

    use : "<option value=\"{$wildart}\">"

  • How to do Grouping of Workbooks using XSL in Discoverer Viewer?

    Hello Discoverer Experts,
    My question is related to grouping of workbook names using XSL in Discoverer Viewer. This is a sample xml data file which contains 6 workbooks.
    <eul>
         <workbooks>
              <workbook>
                   <wb_name>Purchasing Workbook 1</wb_name>
                   <worksheets>
                        <worksheet>
                             <ws_name>A</ws_name>
                        </worksheet>
                        <worksheet>
                             <ws_name>B</ws_name>
                        </worksheet>
                   </worksheets>
              </workbook>
              <workbook>
                   <wb_name>Purchasing Workbook 2</wb_name>
                   <worksheets>
                        <worksheet>
                             <ws_name>C</ws_name>
                        </worksheet>
                        <worksheet>
                             <ws_name>D</ws_name>
                        </worksheet>
                   </worksheets>
              </workbook>
              <workbook>
                   <wb_name>Manufacturing Workbook 1</wb_name>
                   <worksheets>
                        <worksheet>
                             <ws_name>E</ws_name>
                        </worksheet>
                        <worksheet>
                             <ws_name>F</ws_name>
                        </worksheet>
                   </worksheets>
              </workbook>
              <workbook>
                   <wb_name>Manufacturing Workbook 2</wb_name>
                   <worksheets>
                        <worksheet>
                             <ws_name>G</ws_name>
                        </worksheet>
                        <worksheet>
                             <ws_name>H</ws_name>
                        </worksheet>
                   </worksheets>
              </workbook>
              <workbook>
                   <wb_name>CEO Workbook 1</wb_name>
                   <worksheets>
                        <worksheet>
                             <ws_name>I</ws_name>
                        </worksheet>
                        <worksheet>
                             <ws_name>J</ws_name>
                        </worksheet>
                   </worksheets>
              </workbook>
              <workbook>
                   <wb_name>CEO Workbook 2</wb_name>
                   <worksheets>
                        <worksheet>
                             <ws_name>K</ws_name>
                        </worksheet>
                        <worksheet>
                             <ws_name>L</ws_name>
                        </worksheet>
                   </worksheets>
              </workbook>
         </workbooks>
    </eul>
    The XSL is generating a List of Workbooks in <table> by using <xsl:for-each select="eul/workbooks/workbook">
    <table>
    <tr><td>Purchasing Workbook 1</td></tr>
    <tr><td>Purchasing Workbook 2</td></tr>
    <tr><td>Manufacturing Workbook 1</td></tr>
    <tr><td>Manufacturing Workbook 2</td></tr>
    <tr><td>CEO Workbook 1</td></tr>
    <tr><td>CEO Workbook 2</td></tr>
    </table>
    Now my question is:
    1. The client want to see this report in Groups i.e
    <table>
    <tr><th>Group Name: Purchasing</th></tr>
    <tr><td>Purchasing Workbook 1</td></tr>
    <tr><td>Purchasing Workbook 2</td></tr>
    </table>
    <table>
    <tr><th>Group Name: Manufacturing</th></tr>
    <tr><td>Manufacturing Workbook 1</td></tr>
    <tr><td>Manufacturing Workbook 2</td></tr>
    </table>
    <table>
    <tr><th>Group Name: CEO</th></tr>
    <tr><td>CEO Workbook 1</td></tr>
    <tr><td>CEO Workbook 2</td></tr>
    </table>
    How can I achieve this grouping using XSL ? Has anybody tried customizing the XSL file to achieve grouping of workbooks by name?
    Any help is highly appreciated.
    Thanks in advance.
    Warm Regards,
    Pranav Desai

    Hi Friends..
    This is not the reply.
    I have also some question..
    Some related topic I found on this.
    That's why I am posting the same question here also..
    Dear friends..
    I need help to customize our discoverer viewer.
    We are creating work sheets in arial font size 8.
    But, when it's viewing through discoverer viewer it's coming big size.
    If we saw the source code by right click, it's taking some style sheets where
    the font size is mentioned as 8. not 8px.
    How I can modify the work sheets in viewer.
    Exactly which tag I should modify for this.
    And the other thing is the heading section is coming something as
    jung.
    Like this...
    &nb12.09.52 PM 27-OCT-02; 27-OCT-02 &n12.09.52 PM12.09.52 PM
    From: 01-JAN-2002 To: 30-DEC-2002o Page :1 / 1
    How we will correct this ?
    Please reply me as the earliest.
    With Thanks & Regards,
    Sheeja
    [email protected]

  • Can't i use xml schema and oledb data connection at the same time?

    Hello to all and thanks in advance.I use xml schema and oledb data connection at the same time and the problem is that when I try to export the xml, the outcome is not what i expect.Without the oledb connection everything is ok (just the schema) and the xml complies with the schema.
    Can't i have both schema and oledb and the exported xml be as i want it?

    You can use both at the same time, but not gor Internet access if that's what you're asking.
    Now there is a thing called Link Aggregation, which combines a number of interfaces for speed/redundancy, but it really only works locally, and then only with ALL special equipment in the route, and most likely OSX Server involved.
    Sorry.

  • Acrobat x pro crashes when I try to flatten a pdf after using typewriter to insert a date

    acrobat x pro crashes when I try to flatten a pdf after using typewriter to insert a date.
    Has anybody else seen this problem? Is there a fix?
    I wanted to download the demo of acrobat XI but it says the previous version will be removed and deactivate the license. That sucks!

    Yes it is up to date.
    I can use the stamp tool and flatten it after with no problems, but the typewriter tool crashes it upon attempting to flatten.

  • Using XSL to tranform xml in Livecycle designer es3

    Hi,
    I have a dynamic form (.xdp), an .xml data file binded to it, we need to make many manupulations to the text (the below xml does not have much text to show but that is our purpose)(i.e) to show partial bolds in some sentences etc, we figured out that this is not possible to manipulate the text in XML , so we thought of using XSL to overcome, but here comes the real problem,
    i am starting it with real basic xsl-- used  The option Trnsforming Incomimg data, but when i try to preview the .pdf from the designer it throws
    XSLT parsing error 1011: Parsing Error (1011):
        systemID:  'file:///C:/Users/c-sds/Desktop/ALC/'
        publicID:  ''
        line:    
        column:    !
    Form version is higher than target version. This form may not run properly on target.
    Xml:
    Xml:
    <Correspondance>
    <Header>
    <CaseNo>Record ID:  02/9441926</CaseNo>
    <Barcode>*90002425393011</Barcode>
    <CAOAddress>
    <Name>SOUTHERN</Name>
    <Address>
    <AddressLine1>Linetest2</AddressLine1>
    <AddressLine2>Linetest1</AddressLine2>
    <city>XXXX</city>
    <state>xx</state>
    <zip>xxxxx</zip>
    <Replyzip>xxxxx-xxxx</Replyzip>
    </Address>
    <PhoneNo>412-565-2232</PhoneNo>
    <FaxNo>412-565-5179</FaxNo>
    </CAOAddress>
    <MailDate>Mail Date:  04/05/2013</MailDate>
    <ClientAddress>
    <Name>\b.INTERNET EXPLORER\b0.</Name>
    <PaymentName></PaymentName>
    <AlternateName></AlternateName>
    <Address>
    <AddressLine1>19</AddressLine1>
    <AddressLine2></AddressLine2>
    <city>ASDF</city>
    <state>xx</state>
    <zip>1xxx5</zip>
    </Address>
    <PhoneNo></PhoneNo>
    </ClientAddress>
    </Header>
    <Correspondance>
    my xsl:
    <?xml version="1.0"?>
    <xsl:stylesheet
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" >
    <xsl:template match="Header">
          <xsl:text>CaseNo</xsl:text>&nl;
        <xsl:if test="//Correspondance/Header/CaseNo">
          <xsl:value-of select="//Correspondance/Header/CaseNo"/>&nl;
        </xsl:if>
                </xsl:template>
                </xsl:stylesheet>
    i am just trying ot field by field in xsl but it doest seem to work any way
    Thanks in Advance
    V sri

    Hi,
    I have a dynamic form (.xdp), an .xml data file binded to it, we need to make many manupulations to the text (the below xml does not have much text to show but that is our purpose)(i.e) to show partial bolds in some sentences etc, we figured out that this is not possible to manipulate the text in XML , so we thought of using XSL to overcome, but here comes the real problem,
    i am starting it with real basic xsl-- used  The option Trnsforming Incomimg data, but when i try to preview the .pdf from the designer it throws
    XSLT parsing error 1011: Parsing Error (1011):
        systemID:  'file:///C:/Users/c-sds/Desktop/ALC/'
        publicID:  ''
        line:    
        column:    !
    Form version is higher than target version. This form may not run properly on target.
    Xml:
    Xml:
    <Correspondance>
    <Header>
    <CaseNo>Record ID:  02/9441926</CaseNo>
    <Barcode>*90002425393011</Barcode>
    <CAOAddress>
    <Name>SOUTHERN</Name>
    <Address>
    <AddressLine1>Linetest2</AddressLine1>
    <AddressLine2>Linetest1</AddressLine2>
    <city>XXXX</city>
    <state>xx</state>
    <zip>xxxxx</zip>
    <Replyzip>xxxxx-xxxx</Replyzip>
    </Address>
    <PhoneNo>412-565-2232</PhoneNo>
    <FaxNo>412-565-5179</FaxNo>
    </CAOAddress>
    <MailDate>Mail Date:  04/05/2013</MailDate>
    <ClientAddress>
    <Name>\b.INTERNET EXPLORER\b0.</Name>
    <PaymentName></PaymentName>
    <AlternateName></AlternateName>
    <Address>
    <AddressLine1>19</AddressLine1>
    <AddressLine2></AddressLine2>
    <city>ASDF</city>
    <state>xx</state>
    <zip>1xxx5</zip>
    </Address>
    <PhoneNo></PhoneNo>
    </ClientAddress>
    </Header>
    <Correspondance>
    my xsl:
    <?xml version="1.0"?>
    <xsl:stylesheet
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" >
    <xsl:template match="Header">
          <xsl:text>CaseNo</xsl:text>&nl;
        <xsl:if test="//Correspondance/Header/CaseNo">
          <xsl:value-of select="//Correspondance/Header/CaseNo"/>&nl;
        </xsl:if>
                </xsl:template>
                </xsl:stylesheet>
    i am just trying ot field by field in xsl but it doest seem to work any way
    Thanks in Advance
    V sri

  • Problem in transforming xml to html using xsl

    Hi everybody ,
    I am creating a xml in memory and i want to transform using xsl into an html.
    I want to embed some html code also in the data node.But when I get the html it simply writes as it is. I tried to make it cdata section but it did not worked. Pls help.
    crypticashu
    import javax.xml.parsers.DocumentBuilder;
    import javax.xml.parsers.DocumentBuilderFactory;
    import javax.xml.parsers.ParserConfigurationException;
    import javax.xml.transform.dom.DOMSource;
    import org.w3c.dom.*;
    import javax.xml.transform.*;
    import javax.xml.transform.stream.*;
    public class mytemp {
         public static void main(String args[])
         DocumentBuilder builder = null;
         Document document = null;
         DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
         try
         builder = factory.newDocumentBuilder();
         document = builder.newDocument();
         catch (ParserConfigurationException e)
         e.printStackTrace();
         Element root = (Element) document.createElement("REPORT");
         document.appendChild(root);
         Node child = document.createElement("DATA");
         CDATASection data = document.createCDATASection("<b>Hello World </b>");
         child.appendChild(data);
         root.appendChild(child);
         document.getDocumentElement().normalize();
         DOMSource domsource = new DOMSource(document);
              TransformerFactory tfactory = TransformerFactory.newInstance();
              File f = new File("c:/mytemp/report.xsl");
              StreamSource xsl = new StreamSource(f);
              File html = new File("c:/myhtml.html");
              try
                   Templates templates = tfactory.newTemplates(xsl);
                   Transformer transformer = templates.newTransformer();
                   transformer.transform(domsource, new StreamResult(html));
              catch(Exception e)
                   e.printStackTrace();
         }

    want to embed some html code also in the data node.But when I get the html it simply writes as it is.That statement contradicts:
    In real application i will be getting data containg html tags.I want the parser to read that data as simple text. Both cannot be true. You either want the HTML to not be parsed or you want the transformer to deal with it. Which one?
    - Saish

  • The XML page cannot be displayed Cannot view XML input using XSL stylesheet

    Hi Oracle Gurus,
    I got this error ...once i have submitted request it shows warning ..I opened output it shows the below error...i cant understand how to resolve this error...Please help me...It is PL/SQ L STORED PROCEDURE CODE...
    The XML page cannot be displayed
    Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.
    A semi colon character was expected. Error processing resource 'http://orappsus64.tsindia.in:8009/OA_CGI/FNDWRR.exe?temp_id...
    <CP_PROJECT>IT/Quintiles/J&J COGNOS</CP_PROJECT>
    ----------------------------^
    n-left:1em;text-indent:-2em"> <GL_MAIN_PERIOD>Jun-12</GL_MAIN_PERIOD>
    <TOTAL_REVENUE>4026.14</TOTAL_REVENUE>
    <GL_PERIOD>Jun-12</GL_PERIOD>
    </G_TOTAL_REVENUE_CAT>
    THIS IS MY LOG FILE
    [10/1/12 10:44:26 AM] [main] Starting GSF service with concurrent process id = 157635.
    [10/1/12 10:44:26 AM] [main] Initialization Parameters: oracle.apps.fnd.cp.opp.OPPServiceThread:2:0:max_threads=5
    [10/1/12 10:44:26 AM] [Thread-22] Service thread starting up.
    [10/1/12 10:44:26 AM] [Thread-23] Service thread starting up.
    [10/1/12 10:52:33 AM] [OPPServiceThread1] Post-processing request 1296337.
    [10/1/12 10:52:33 AM] [157635:RT1296337] Executing post-processing actions for request 1296337.
    [10/1/12 10:52:34 AM] [157635:RT1296337] Starting XML Publisher post-processing action.
    [10/1/12 10:52:34 AM] [157635:RT1296337]
    Template code: XXTGSCPR004
    Template app: PA
    Language: en
    Territory: US
    Output type: EXCEL
    [100112_105234216][][EXCEPTION] [DEBUG] ------- Preferences defined PreferenceStore -------
    [100112_105234216][][EXCEPTION] [DEBUG] ------- Environment variables stored in EnvironmentStore -------
    [100112_105234216][][EXCEPTION] [DEBUG] [FND_JDBC_IDLE_THRESHOLD.LOW]:[-1]
    [100112_105234216][][EXCEPTION] [DEBUG] [SECURITY_GROUP_ID]:[0]
    [100112_105234216][][EXCEPTION] [DEBUG] [FND_JDBC_BUFFER_DECAY_INTERVAL]:[300]
    [100112_105234217][][EXCEPTION] [DEBUG] [NLS_CHARACTERSET]:[US7ASCII]
    [100112_105234217][][EXCEPTION] [DEBUG] [RESP_APPL_ID]:[-1]
    [100112_105234217][][EXCEPTION] [DEBUG] [NLS_LANGUAGE]:[AMERICAN]
    [100112_105234217][][EXCEPTION] [DEBUG] [FND_JDBC_BUFFER_MIN]:[1]
    [100112_105234217][][EXCEPTION] [DEBUG] [FND_JDBC_BUFFER_MAX]:[2]
    [100112_105234217][][EXCEPTION] [DEBUG] [NLS_NUMERIC_CHARACTERS]:[.,]
    [100112_105234217][][EXCEPTION] [DEBUG] [APPS_JDBC_URL]:[jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS_LIST=(LOAD_BALANCE=YES)(FAILOVER=YES)(ADDRESS=(PROTOCOL=tcp)(HOST=orappsus64.tsindia.in)(PORT=1530)))(CONNECT_DATA=(SID=clone)))]
    [100112_105234217][][EXCEPTION] [DEBUG] [RESP_ID]:[-1]
    [100112_105234217][][EXCEPTION] [DEBUG] [FND_MAX_JDBC_CONNECTIONS]:[500]
    [100112_105234217][][EXCEPTION] [DEBUG] [FND_JDBC_USABLE_CHECK]:[false]
    [100112_105234218][][EXCEPTION] [DEBUG] [USER_ID]:[-1]
    [100112_105234218][][EXCEPTION] [DEBUG] [NLS_TERRITORY]:[AMERICA]
    [100112_105234218][][EXCEPTION] [DEBUG] [FND_JDBC_PLSQL_RESET]:[false]
    [100112_105234218][][EXCEPTION] [DEBUG] [FND_JDBC_CONTEXT_CHECK]:[true]
    [100112_105234218][][EXCEPTION] [DEBUG] [NLS_DATE_FORMAT]:[DD-MON-RR]
    [100112_105234218][][EXCEPTION] [DEBUG] [FND_JDBC_BUFFER_DECAY_SIZE]:[5]
    [100112_105234218][][EXCEPTION] [DEBUG] [FND_JDBC_IDLE_THRESHOLD.HIGH]:[-1]
    [100112_105234218][][EXCEPTION] [DEBUG] [NLS_SORT]:[BINARY]
    [100112_105234218][][EXCEPTION] [DEBUG] [NLS_DATE_LANGUAGE]:[AMERICAN]
    [100112_105234218][][EXCEPTION] [DEBUG] [LOGIN_ID]:[-1]
    [100112_105234218][][EXCEPTION] [DEBUG] ------- Properties stored in Java System Properties -------
    [100112_105234219][][EXCEPTION] [DEBUG] [APPLTMP]:[AP1/oracle/PROD01/inst/apps/clone_orappsus64/appltmp]
    [100112_105234219][][EXCEPTION] [DEBUG] [java.runtime.name]:[Java(TM) SE Runtime Environment]
    [100112_105234219][][EXCEPTION] [DEBUG] [sun.boot.library.path]:[AP1/oracle/PROD01/apps/tech_st/10.1.3/appsutil/jdk/jre/lib/i386]
    [100112_105234219][][EXCEPTION] [DEBUG] [java.vm.version]:[11.0-b15]
    [100112_105234219][][EXCEPTION] [DEBUG] [OVERRIDE_DBC]:[true]
    [100112_105234219][][EXCEPTION] [DEBUG] [dbcfile]:[AP1/oracle/PROD01/inst/apps/clone_orappsus64/appl/fnd/12.0.0/secure/clone.dbc]
    [100112_105234219][][EXCEPTION] [DEBUG] [java.vm.vendor]:[Sun Microsystems Inc.]
    [100112_105234219][][EXCEPTION] [DEBUG] [java.vendor.url]:[http://java.sun.com/]
    [100112_105234219][][EXCEPTION] [DEBUG] [path.separator]:[:]
    [100112_105234219][][EXCEPTION] [DEBUG] [APPLCSF]:[AP1/oracle/PROD01/inst/apps/clone_orappsus64/logs/appl/conc]
    [100112_105234220][][EXCEPTION] [DEBUG] [java.vm.name]:[Java HotSpot(TM) Server VM]
    [100112_105234220][][EXCEPTION] [DEBUG] [file.encoding.pkg]:[sun.io]
    [100112_105234220][][EXCEPTION] [DEBUG] [sun.java.launcher]:[SUN_STANDARD]
    [100112_105234220][][EXCEPTION] [DEBUG] [user.country]:[US]
    [100112_105234220][][EXCEPTION] [DEBUG] [sun.os.patch.level]:[unknown]
    [100112_105234220][][EXCEPTION] [DEBUG] [java.vm.specification.name]:[Java Virtual Machine Specification]
    [100112_105234220][][EXCEPTION] [DEBUG] [user.dir]:[AP1/oracle/PROD01/inst/apps/clone_orappsus64/logs/appl/conc/log]
    [100112_105234220][][EXCEPTION] [DEBUG] [java.runtime.version]:[1.6.0_10-b33]
    [100112_105234220][][EXCEPTION] [DEBUG] [CLIENT_PROCESSID]:[25943]
    [100112_105234220][][EXCEPTION] [DEBUG] [java.awt.graphicsenv]:[sun.awt.X11GraphicsEnvironment]
    [100112_105234220][][EXCEPTION] [DEBUG] [java.endorsed.dirs]:[AP1/oracle/PROD01/apps/tech_st/10.1.3/appsutil/jdk/jre/lib/endorsed]
    [100112_105234221][][EXCEPTION] [DEBUG] [os.arch]:[i386]
    [100112_105234221][][EXCEPTION] [DEBUG] [JTFDBCFILE]:[AP1/oracle/PROD01/inst/apps/clone_orappsus64/appl/fnd/12.0.0/secure/clone.dbc]
    [100112_105234221][][EXCEPTION] [DEBUG] [java.io.tmpdir]:[tmp]
    [100112_105234221][][EXCEPTION] [DEBUG] [line.separator]:[
    [100112_105234221][][EXCEPTION] [DEBUG] [java.vm.specification.vendor]:[Sun Microsystems Inc.]
    [100112_105234221][][EXCEPTION] [DEBUG] [os.name]:[Linux]
    [100112_105234221][][EXCEPTION] [DEBUG] [FND_JDBC_BUFFER_MIN]:[1]
    [100112_105234221][][EXCEPTION] [DEBUG] [cpid]:[157635]
    [100112_105234221][][EXCEPTION] [DEBUG] [sun.jnu.encoding]:[UTF-8]
    [100112_105234221][][EXCEPTION] [DEBUG] [oracle.apps.fnd.common.Pool.leak.mode]:[stderr:off]
    [100112_105234221][][EXCEPTION] [DEBUG] [java.library.path]:[AP1/oracle/PROD01/apps/tech_st/10.1.3/appsutil/jdk/jre/lib/i386/server:/AP1/oracle/PROD01/apps/tech_st/10.1.3/appsutil/jdk/jre/lib/i386:/AP1/oracle/PROD01/apps/tech_st/10.1.3/appsutil/jdk/jre/../lib/i386:/AP1/oracle/PROD01/apps/tech_st/10.1.3/lib32:/AP1/oracle/PROD01/apps/tech_st/10.1.3/lib:/AP1/oracle/PROD01/apps/apps_st/appl/cz/12.0.0/bin:/AP1/oracle/PROD01/apps/apps_st/appl/iby/12.0.0/bin:/AP1/oracle/PROD01/apps/apps_st/appl/pon/12.0.0/bin:/AP1/oracle/PROD01/apps/apps_st/appl/sht/12.0.0/lib:/usr/java/packages/lib/i386:/lib:/usr/lib]
    [100112_105234222][][EXCEPTION] [DEBUG] [java.specification.name]:[Java Platform API Specification]
    [100112_105234222][][EXCEPTION] [DEBUG] [java.class.version]:[50.0]
    [100112_105234222][][EXCEPTION] [DEBUG] [sun.management.compiler]:[HotSpot Tiered Compilers]
    [100112_105234222][][EXCEPTION] [DEBUG] [queue_appl_id]:[0]
    [100112_105234222][][EXCEPTION] [DEBUG] [os.version]:[2.6.18-128.el5]
    [100112_105234222][][EXCEPTION] [DEBUG] [LONG_RUNNING_JVM]:[true]
    [100112_105234222][][EXCEPTION] [DEBUG] [user.home]:[home/applmgr01]
    [100112_105234222][][EXCEPTION] [DEBUG] [user.timezone]:[Asia/Kolkata]
    [100112_105234222][][EXCEPTION] [DEBUG] [java.awt.printerjob]:[sun.print.PSPrinterJob]
    [100112_105234222][][EXCEPTION] [DEBUG] [file.encoding]:[UTF-8]
    [100112_105234222][][EXCEPTION] [DEBUG] [java.specification.version]:[1.6]
    [100112_105234222][][EXCEPTION] [DEBUG] [CACHEMODE]:[DISTRIBUTED]
    [100112_105234222][][EXCEPTION] [DEBUG] [conc_queue_id]:[6269]
    [100112_105234222][][EXCEPTION] [DEBUG] [java.class.path]:[AP1/oracle/PROD01/apps/tech_st/10.1.3/appsutil/jdk/lib/dt.jar:/AP1/oracle/PROD01/apps/tech_st/10.1.3/appsutil/jdk/lib/tools.jar:/AP1/oracle/PROD01/apps/tech_st/10.1.3/appsutil/jdk/jre/lib/rt.jar:/AP1/oracle/PROD01/apps/apps_st/comn/java/lib/appsborg2.zip:/AP1/oracle/PROD01/apps/apps_st/comn/java/classes]
    [100112_105234222][][EXCEPTION] [DEBUG] [user.name]:[applmgr01]
    [100112_105234222][][EXCEPTION] [DEBUG] [DBCFILE]:[AP1/oracle/PROD01/inst/apps/clone_orappsus64/appl/fnd/12.0.0/secure/clone.dbc]
    [100112_105234222][][EXCEPTION] [DEBUG] [java.vm.specification.version]:[1.0]
    [100112_105234222][][EXCEPTION] [DEBUG] [java.home]:[AP1/oracle/PROD01/apps/tech_st/10.1.3/appsutil/jdk/jre]
    [100112_105234222][][EXCEPTION] [DEBUG] [sun.arch.data.model]:[32]
    [100112_105234223][][EXCEPTION] [DEBUG] [user.language]:[en]
    [100112_105234223][][EXCEPTION] [DEBUG] [java.specification.vendor]:[Sun Microsystems Inc.]
    [100112_105234223][][EXCEPTION] [DEBUG] [java.vm.info]:[mixed mode]
    [100112_105234223][][EXCEPTION] [DEBUG] [logfile]:[AP1/oracle/PROD01/inst/apps/clone_orappsus64/logs/appl/conc/log/FNDOPP157635.txt]
    [100112_105234223][][EXCEPTION] [DEBUG] [java.version]:[1.6.0_10]
    [100112_105234223][][EXCEPTION] [DEBUG] [java.ext.dirs]:[AP1/oracle/PROD01/apps/tech_st/10.1.3/appsutil/jdk/jre/lib/ext:/usr/java/packages/lib/ext]
    [100112_105234223][][EXCEPTION] [DEBUG] [sun.boot.class.path]:[AP1/oracle/PROD01/apps/tech_st/10.1.3/appsutil/jdk/jre/lib/resources.jar:/AP1/oracle/PROD01/apps/tech_st/10.1.3/appsutil/jdk/jre/lib/rt.jar:/AP1/oracle/PROD01/apps/tech_st/10.1.3/appsutil/jdk/jre/lib/sunrsasign.jar:/AP1/oracle/PROD01/apps/tech_st/10.1.3/appsutil/jdk/jre/lib/jsse.jar:/AP1/oracle/PROD01/apps/tech_st/10.1.3/appsutil/jdk/jre/lib/jce.jar:/AP1/oracle/PROD01/apps/tech_st/10.1.3/appsutil/jdk/jre/lib/charsets.jar:/AP1/oracle/PROD01/apps/tech_st/10.1.3/appsutil/jdk/jre/classes]
    [100112_105234223][][EXCEPTION] [DEBUG] [java.vendor]:[Sun Microsystems Inc.]
    [100112_105234223][][EXCEPTION] [DEBUG] [FND_JDBC_BUFFER_MAX]:[2]
    [100112_105234223][][EXCEPTION] [DEBUG] [file.separator]:[]
    [100112_105234223][][EXCEPTION] [DEBUG] [java.vendor.url.bug]:[http://java.sun.com/cgi-bin/bugreport.cgi]
    [100112_105234223][][EXCEPTION] [DEBUG] [sun.io.unicode.encoding]:[UnicodeLittle]
    [100112_105234223][][EXCEPTION] [DEBUG] [sun.cpu.endian]:[little]
    [100112_105234223][][EXCEPTION] [DEBUG] [APPLOUT]:[out]
    [100112_105234223][][EXCEPTION] [DEBUG] [sun.cpu.isalist]:[]
    [10/1/12 10:52:35 AM] [UNEXPECTED] [157635:RT1296337] java.lang.reflect.InvocationTargetException
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at oracle.apps.xdo.common.xml.XSLT10gR1.invokeParse(XSLT10gR1.java:517)
         at oracle.apps.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:224)
         at oracle.apps.xdo.common.xml.XSLTWrapper.transform(XSLTWrapper.java:177)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:1044)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:997)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:212)
         at oracle.apps.xdo.template.FOProcessor.createFO(FOProcessor.java:1665)
         at oracle.apps.xdo.template.FOProcessor.generate(FOProcessor.java:975)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.runProcessTemplate(TemplateHelper.java:5936)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3459)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3548)
         at oracle.apps.fnd.cp.opp.XMLPublisherProcessor.process(XMLPublisherProcessor.java:285)
         at oracle.apps.fnd.cp.opp.OPPRequestThread.run(OPPRequestThread.java:173)
    Caused by: oracle.xdo.parser.v2.XMLParseException: Expected ';'.
         at oracle.xdo.parser.v2.XMLError.flushErrors1(XMLError.java:337)
         at oracle.xdo.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:305)
         at oracle.xdo.parser.v2.XMLParser.parse(XMLParser.java:289)
         ... 17 more
    [10/1/12 10:52:35 AM] [157635:RT1296337] Completed post-processing actions for request 1296337.
    [GC 8059K->6286K(8692K), 0.0076290 secs]
    [Full GC[Unloading class sun.reflect.GeneratedSerializationConstructorAccessor17]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor19]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor18]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor13]
    6286K->3865K(8692K), 0.0446370 secs]
    Please help great appriciation.
    Thanks,
    Sidharth.

    A semi colon character was expected. Error processing resource 'http://orappsus64.tsindia.in:8009/OA_CGI/FNDWRR.exe?temp_id...
    <CP_PROJECT>IT/Quintiles/J&J COGNOS</CP_PROJECT>
    ----------------------------^
    n-left:1em;text-indent:-2em">   <GL_MAIN_PERIOD>Jun-12</GL_MAIN_PERIOD>
      <TOTAL_REVENUE>4026.14</TOTAL_REVENUE>
      <GL_PERIOD>Jun-12</GL_PERIOD>
      </G_TOTAL_REVENUE_CAT>
    {code}
    Your PL/SQL code doesn't produce a valid XML document.
    In the XML grammar, "&" is a special character and must be escaped using the character entity "&#38;amp;".
    If you were using standard methods to build XML from Oracle (SQL/XML functions for instance), I'm sure you wouldn't have this error.
    Please show us the PL/SQL code you're using to produce this XML output and we'll be able to help you further.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

Maybe you are looking for

  • Error message when installing nvidia-173xx package

    I get an error message when I try to install nvidia-173xx driver: pacaur -S nvidia-173xx :: Package(s) nvidia-173xx not found in repositories, trying AUR... :: resolving dependencies... cat: /usr/lib/modules/extramodules-3.15-ARCH/version: No such fi

  • Error when importing EPS files in Publisher 2010

    Whenever I attempt to insert an EPS file (possibly other image types as well) into a Publisher document I get a prompt asking for what type of file the source is and then this error: "An error occurred while importing this file." This is running as a

  • Dock not appearing & system freeze

    I'm runing OSX 10.6.8 and yesterday started having an issue where my dock pops up during start up and then goes away, comes back a few times, but ultimately will not come up at all. Then system slows down and then freezes with a spinning beach ball.

  • Odd link to thread in email notification

    I didn't see a section for the forum software itself, so I'll post this here. I just got notification of a response to a question I asked. The email had two links: 1. Mark it as solved 2. This doesn't solve my problem I find both of these odd and ver

  • Jarsigner - IllegalStateException: zip file closed

    E:\>e:\j2sdk1.4.2\bin\jarsigner.exe -verify -verbose e:\eclipse\startup.jar jarsigner: java.lang.IllegalStateException: zip file closed any idea? unzip can do unpack the .jar file with no problem the jar utility can manage the file: E:\>e:\j2sdk1.4.2