Can't convert string element to XML node using XSL

We have a source XML with a node that contains another XML as string. Like this:
"<imp1:payload>&lt;?xml version = '1.0' encoding = 'ISO-8859-15' standalone = 'no'?>
&lt;!-- Oracle eXtensible Markup Language Gateway Server -->&lt;!DOCTYPE PROCESS_PO_007 SYSTEM "003_process_po_007.dtd">&lt;PROCESS_PO_007>&lt;CNTROLAREA>" etc
And we have a target XML that has the schema inside the string in the source file, like this:
"<PROCESS_PO_007>
<CNTROLAREA>"....etc.
How can we "parse" the string to a node using an XSL transformation file?

Hi,
Can you tell me which code are you using currently for transferrring the data? It might help me to figure out what your problem is.

Similar Messages

  • XML transform using XSL

    Hi,
    I am new to the javax technology.
    I have a xml that has data in this format
    <?xml version="1.0" encoding="UTF-8"?>
    <emps>
    <emp>
    <empName>Me</empName>
    <empAge>23</empAge>
    </emp>
    <emp>
    <empName>You</empName>
    <empAge>23</empAge>
    </emp>
    </emps>Can i convert this to an XML that has tags and data like
    <employees>
    <employee>
    <name>me</name>
    <age>23</age>
    </employee>
    <employee>
    <name>you</name>
    <age>23</age>
    </employee>
    </employees>using a XSLT?
    thanks,
    Dilip

    So the only change is changing the element names? Sure you can. Or at least I can. Here's a template that changes an emps element into an employees element and preserves its children:<xsl:template match="emps">
    <employees><xsl:apply-templates/></employees>
    </xsl:template>Use an identity transformation and put in one of these for each element whose name you want to change.

  • Cannot view XML input using XSL style sheet. Please correct the error and..

    Hi All,
    Scenario XML to IDOC.
    The interface determination decides whether to create IDOC X or IDOC Y based on a xml segment value.
    I have an error in the SXMB_MONI:
    <!--  Interface Determination
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="IF_DETERMINATION">CX_ID_PLSRV</SAP:Code>
      <SAP:P1>Problem evaluating a condition: Exception CX_SWF_RLS_RULE occurred (program: CL_SWF_RLS_CONDITION==========CP, include: CL_SWF_RLS_CONDITION==========CM00Q, line: 160).</SAP:P1>
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>Error when determining the inbound interface: Problem evaluating a condition: Exception CX_SWF_RLS_RULE occurred (program: CL_SWF_RLS_CONDITION==========CP, include: CL_SWF_RLS_CONDITION==========CM00Q, line: 160). Problem evaluating a condition: Exception CX_SWF_RLS_RULE occurred (program: CL_SWF_RLS_CONDITION==========CP, include: CL_SWF_RLS_CONDITION==========CM00Q, line: 160). Exception CX_SWF_RLS_RULE occurred (program: CL_SWF_RLS_CONDITION==========CP, include: CL_SWF_RLS_CONDITION==========CM00Q, line: 160). Exception CX_SWF_RLS_OPERAND_MISSING occurred (program: CL_SWF_RLS_COMPARISON=========CP, include: CL_SWF_RLS_COMPARISON=========CM002, line: 63). Exception CX_SWF_RLS_OPERAND_MISSING occurred (program: SAPMSSY1, include: , line: 0). Exception CX_SWF_EXP_EVALUATE occurred (program: CL_SWF_EXP_EXPRESSION=========CP, include: CL_SWF_EXP_EXPRESSION=========CM027, line: 38). Exception CX_SWF_EXP_EXPRESSION occurred (program: CL_SWF_EXP_EXPRESSION=========CP, include: CL_SWF_EXP_EXPRESSION=========CM01Z, line: 520). Exception CX_SWF_EXP_EXPRESSION occurred (program: CL_SAI_SWF_RULE_ENGINE========CP, include: CL_SAI_SWF_RULE_ENGINE========CM00S, line: 42). Problem extracting values from the Payload: Check line 2 column 1 of the XML document</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    From the SXMB_MONI, the inbound message payload is truncated with an error:
    - <ProductIdentification>
      <GlobalProductIdentifier />
    - <PartnerProductIdentification>
    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.
    The following tags were not closed: Pip3B12ShippingOrderConfirmation, ShippingOrder, ShipmentLineItem, isContainsHazardousMa...
    ">   <GlobalPartnerClassificationCode />
      <ProprietaryProductIdentifier>000000000000101369</ProprietaryProductIdentifier>
      </PartnerProductIdentification>
      </ProductIdentification>
    - <QuantityInformation>
    - <confirmedQuantity>
      <ProductQuantity>1.00</ProductQuantity>
      </confirmedQuantity>
    I've checked that the xml format is OK.
    As a matter of fact, if I try to resend the xml file from directory, the message is processed correctly and the payload shows all the xml file.
    Thanks.
    Daniele
    Edited by: Daniele*Verdone on Feb 1, 2010 11:22 AM
    Edited by: Daniele*Verdone on Feb 1, 2010 11:23 AM

    Hi Suraj,
    That option is not available in FTP mode..
    This option is applicable only for the File adapter. If you enter a value in this field when configuring the sender FTP adapter, it will have no effect.
    Yes, you're right !!
    Are you sure that the message is not getting picked in half-way
    Now, at this time, I can't see the XML data in the CC monitoring because the tool shows only the recent polling execute in the last 10 minutes. If the error recurs, I will check the payload of CC.
    How can I solve the problem with reading incomplete file (FTP mode)?
    ...Meanwhile I will try with Full cache refresh.
    Thanks
    Daniele

  • Transform LiveCycle form xml output using xsl

    I've completed my first form but now want to format the xml that's generated.
    Whilst I work for a big Company, I don't think they'll stretch to purchasing the Reader Extensions Module so I can output as PDF. Also there will be more than 500 users completing the form, so I can't just extend the rights using Adobe Acrobat.
    Therefore, I'd like to transform the xml created using xsl (as I have knowledge in this area) - I'd like the transformation to occur when the form is submitted via email so that a 'friendly' attachment is added to the email and not the xml output.
    Any ideas on this one?

    First thing is, the fonts did not work in my system.. So I can not really understand where the email address fields are..
    Few things:
    1) You have used an Email submit button and tried to place the code in the MouseDown event.
        You need to change this button to "Regular Type Button". and place the code in the Click event to work.
    2) I placed a sample button and put in my code for your reference.. This is working fine..You can check the below sample.
    https://acrobat.com/#d=tQa4E*8aA*mJq6aijSHuDQ
    3) You can do the same way for your form..
    4) If you have Acrobat software, you can enable JavaScript debugger which can give you the specific error message rather than Submit cancelled. If you do not, then you need to put some messageBox statements and check..
    Thanks
    Srini

  • XML page cannot be displayed cannot view XML input using XSL style sheet Please correct the error and then click the REfresh

    XML page cannot be displayed cannot view XML input using XSL style sheet Please correct the error and then click the REfresh

    Is the error message displayed in Firefox or in IE, or in a customized window that doesn't identify the browser?
    ''If it displays in Firefox:''
    It's possible that the Troubleshooter doesn't work correctly unless IE is your default browser. You could test that possibility by having IE make itself the default and testing the Troubleshooter again.
    ''If it displays in IE or embedded in another Microsoft application:''
    In a web search I found these suggestions:
    (1) Reset your Internet Explorer settings, according to http://answers.microsoft.com/en-us/ie/forum/ie8-windows_7/cannot-view-xml-using-xsl-style-sheet/ccfe80c6-c0db-4594-a7e3-475f9eac0e85
    (2) Try the System File Checker, according to http://ask-leo.com/why_do_i_get_the_xml_page_cannot_be_displayed_after_running_a_microsoft_troubleshooter.html
    Any luck?

  • 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.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Convertion of String to XML node using Xquery transformation in OSB

    How to convert string to XML node elementusing a built in function using Xquery transformation in OSB?

    check this out - http://www.javamonamour.org/2011/06/fn-beainlinedxml.html
    if in SOA (BPEL & Mediator) you can use oraext:parseXML.
    you should thoroughly analyse where to implement your requirement as some good practices advise to implement more complex logic in SOA and leave OSB to only connect to the services' endpoints.
    Hope this helps,
    A.

  • How can I convert string to the record store with multiple records in it?

    Hi Everyone,
    How can I convert the string to the record store, with multiple records? I mean I have a string like as below:
    "SecA: [Y,Y,Y,N][good,good,bad,bad] SecB: [Y,Y,N][good,good,cant say] SecC: [Y,N][true,false]"
    now I want to create a record store with three records in it for each i.e. SecA, SecB, SecC. So that I can retrieve them easily using enumerateRecord.
    Please guide me and give me some links or suggestions to achieve the above thing.
    Best Regards

    Hi,
    I'd not use multiple records for this case. Managing more records needs more and redundant effort.
    Just use single record. Create ByteArrayOutputStream->DataOutputStream and put multiple strings via writeUTF() (plus any other data like number of records at the beginning...), then save the byte array to the record...
    It's easier, it's faster (runtime), it's better manageable...
    Rada

  • Can't add new element to model node from web service

    Hi Folks,
    we are using the old WebService (not adaptive one) for calling a service on XI. We are reusing the same service for loading the data and also sending them back to the backend to modify, delete or add new elements. Request and response tree structure consist basically of the same structure.
    Now everything works fine so far except adding a new element to the model tree.
    So what are we doing:
    After calling the service for reading (and invalidate on the response), we copy the received data from response node into the request node. All the view forms are bound to the model elements in the request.
    Modifying single attributes worked just fine (from dialog and programatically). A new element we add to the model tree shows up in the dialog and seems to work equally fine, but when we trigger the service call to send the collected data, every change to the model data is send except the new added element. It just won't be send.
    What's the problem here? Seems to me this must be somehow related to the supplying relation role maybe.
    What code do you need to look at and how do I mark code in the new forum editor so it gets displayed properly formatted?
    Thanks,
      ok

    Hi,
    Can you tell me which code are you using currently for transferrring the data? It might help me to figure out what your problem is.

  • Can I convert my Elements licence from Windows to IOS

    I am using Premier Elementson on a windows 7 PC, can I convert this to run only on an IMAC running IOS Yosemite ?

    ronb
    What version of Premiere Elements on your Windows 7? Nevertheless....
    No if all you have are Premiere Elements Windows installation files from purchase of an online download.
    Premiere Elements Windows does not work on Premiere Elements Mac and vice versa. Also, project files from Windows version do not work on Mac version and vice versa.
    If you had purchased the box packaging you would be expected to have two discs, one for Windows version and one for Mac version. Then use the Mac disc for installation of the product
    on Mac.
    If your purchase was from online download, then all you have are installation files specific to the computer operating system to which the files were downloaded.
    ATR

  • How can i add selected element from one node to other node

    Hi All
    I have below requirement.
    Say In the view leftside Available Languages ItemList Box  Rightside Available Languages ItemList Box and Add & Remove Buttons in the middle.
    User selects languages from Available Languages ItemList Box clicks on add it will adds to the Available Languages Item List box and ViceVersa with Remove Button.
    1) I have created 2 nodes 1) AvlLang 2) SelLang both contains two attributes Key and Value.
    2) For AvlLang node,  Property : Data Dictonary binded with table. Values are coming fine in Available Languages ItemList Box.
    3) How can i add selected language into the node Available Languages.
    Please provide the code snippet how to achieve this.
    BR
    X- CW

    Hi Carlin,
    Find below code to copy selected record from one node to another.
    Here I am copying it_lips node into pack_mat node.
    DATA: wa_temp TYPE REF TO if_wd_context_element,
                lt_temp TYPE wdr_context_element_set,
                count type c.
          DATA : lo_nd_it_lips TYPE REF TO if_wd_context_node,
                 lo_el_it_lips TYPE REF TO if_wd_context_element,
                 ls_it_lips TYPE wd_this->Element_it_lips,
                 lt_it_lips TYPE wd_this->Elements_it_lips,
                 ls_unpack TYPE wd_this->Element_unpack,
                 lt_unpack TYPE wd_this->Elements_unpack.
    * navigate from <CONTEXT> to <IT_LIPS> via lead selection
          lo_nd_it_lips = wd_context->path_get_node( path = `ZRETURN_DEL_CHANGE.CHANGING_3.IT_LIPS` ).
          CALL METHOD lo_nd_it_lips->get_selected_elements
            RECEIVING
              set = lt_temp.
    * navigate from <CONTEXT> to <PACK_MAT> via lead selection
          lo_nd_pack_mat = wd_context->get_child_node( name = wd_this->wdctx_pack_mat ).
          LOOP AT lt_temp INTO wa_temp.
            CALL METHOD wa_temp->get_static_attributes
              IMPORTING
                static_attributes = ls_it_lips.
                  ls_pack_mat-vgbel = ls_it_lips-vgbel.
                  ls_pack_mat-vgpos = ls_it_lips-vgpos.
                  append ls_pack_mat to lt_pack_mat.
                  CLEAR ls_pack_mat.
          endloop.
            lo_nd_pack_mat->bind_table( new_items = LT_PACK_MAT
                                        SET_INITIAL_ELEMENTS = abap_true ).
    Cheers,
    Kris.

  • Delete elements from XML file using DOM and java

    Hi
    I want now is to remove element from my XML file
    for example
    i have following xml
    <?xml version="1.0" encoding="UTF-8"?>
    <printing>
    <firstLineTexts>
              <firstLineText />
              <firstLineText>|line11</firstLineText>
              <firstLineText>|line12</firstLineText>
    </firstLineTexts>
    </printing>how do i remove all elements fireLineText
    my final output should be
    <?xml version="1.0" encoding="UTF-8"?>
    <printing>
    <firstLineTexts>
    </firstLineTexts>
    </printing>How do i do it using DOM,
    I can create instance of DOM and write it using TransformerFactory
    Ashish

    Hi
    I am trying the following code,
    but it is not working
                    NodeList nScene = doc.getElementsByTagName("firstLineTexts");
              NodeList nScene1 = nScene.item(0).getChildNodes();
              for (int i = 0; i < nScene1.getLength(); i++)
                   Node n = nScene1.item(i);
                        nScene.item(0).removeChild(n);
              }

  • Retrieve xml attribute value of nth xml node using xpath query

    I have an xml with following stucture...
    <xml>
    <header>
     <DocumentReference OrderId="order001">
     <DocumentReference OrderId="order002">
     <DocumentReference OrderId="order003">
    I have to loop through this xml and retrieve the orderId values inside Biztalk orchestration.
    In the expression shape, I get the count of 'DocumentReference' nodes using an xpath query and then
    Added a loopshape to make sure it loops thru all nodes
    Loop condition:   n<=nodeCount     (where n is an integer variable, n=0 to begin with, incremented by 1 thru each loop, nodeCount is # of DocumentReference nodes)
     I try retrieve to the orderId in the following expression shape using the below xpath query
      xpathQuery = System.String.Format("//*[local-name()='OrderReference'][{0}]/@orderID)",n);
      sOrderId = xpath(MsgSingleInvoice,xpathQuery);
    And I get the following exception:
    Inner exception: '//*[local-name()='OrderReference'][1]/@orderID)' has an invalid token.
    Exception type: XPathException
    Appreciate any help!   thanks!

    Thanks for the quick response. I got rid of it.
    And I see a different error:
    Inner exception: Specified cast is not valid. Exception type: InvalidCastException
    Source: Microsoft.XLANGs.Engine  
    Target Site: System.Object XPathLoad(Microsoft.XLANGs.Core.Part, System.String, System.Type)
    Since variable 'n' is of integer type, I suspected it and changed it to n.ToString() and tested again and still see the same error.

  • Edit XML node using actionscript?

    How would I go about editing an XML node from within
    actionscript?
    I load the XML from a file, and before I pass it to an
    HTTPService I would like to set the field DateTime. The XML file
    that I am using can be seen here:
    XML Document
    When I try doing something like
    myXML.fiAPI.fiHeader.Service.DateTime="time here", it creates a new
    fiAPI node with all new children. However, I wish to edit the
    current DateTime field without creating a new one.
    All help is appreciated.

    Thanks to both of you.
    ctzn99: I tried that as well, after realizing my mistake.
    However, it still does not work. I'm certain I have the path right,
    but nothing is set (or in other cases, returned). Even when I use
    myXML.fiHeader..., It creates a new fiHeader node and the
    corresponding nodes underneath it.
    ntsiii: That's a very complex example, like you said...
    almost overkill for my problem?
    Thanks though!

  • Can I convert my VHS tapes into DVD using iMAC?

    How can I convert my VHS tapes into DVD by using iMAC?

    From VHS to DVD
    http://www.macworld.com/article/1030972/fromvhstodvd.html   <<< click here.
    How to Convert a VHS to a DVD for Mac OS X
    http://www.ehow.com/how_6515774_convert-dvd-mac-os-x.html   <<< click here.
    Roxio unveils VHS to DVD converter for Mac
    http://www.macnn.com/articles/09/05/26/roxio.vhs.to.dvd/   <<< click here.
    How to Convert VHS to DVD on Mac OS X
    http://www.daniusoft.com/tutorial/burn-vhs-to-dvd-on-mac.html   << click here.

Maybe you are looking for