Help needed in XML

We have xml like below.
<?xml version="1.0" encoding="UTF-8" ?>
<xapi:requestset xmlns:xapi="http://xmlns.oracle.com/oxp/xapi/">
<xapi:request select="/XXARXSGPO/LIST_G_SETUP/G_SETUP/LIST_G_CUST_NUM/G_CUST_NUM">
<xapi:delivery>
<xapi:filesystem output="${INSTANCE}/java/oracle/apps/xxod/arstatements/${SITE_USE_ID}"/>
</xapi:delivery>
<xapi:document output-type= "pdf">
<xapi:template type="rtf" location="/app/ebs/atgsidev02/gsidev02cust/xxcomn/java/oracle/apps/xxod/XXARPRST.rtf">
</xapi:template>
</xapi:document>
</xapi:request>
</xapi:requestset>
In the above code {INSTANCE} is having value '/app/ebs/atgsidev02/gsidev02cust/xxcomn'. Now we need to replace with the same variable {INSTANCE} in the <xapi:template type=..........> tag also. We tried with
<xapi:template type="rtf" location="${INSTANCE}/java/oracle/apps/xxod/XXARPRST.rtf">.
But it is not recognizing the INSTANCE value.
Any help on this appreciated.
Thanks,
Samba

Hi,
The INSTANCE is a tag and having the value '/app/ebs/atgsidev02/gsidev02cust/xxcomn'. So I need to pass this string dynamically to the
<xapi:document output-type= "pdf">
<xapi:template type="rtf" location="/app/ebs/atgsidev02/gsidev02cust/xxcomn/java/oracle/apps/xxod/XXARPRST.rtf">
</xapi:template>
</xapi:document>
So for the above one I replaced the INSTANCE as follows.
<xapi:document output-type= "pdf">
<xapi:template type="rtf"
location="${INSTANCE}/java/oracle/apps/xxod/XXARPRST.rtf">
</xapi:template>
</xapi:document>
But this one is not working.
Pls help me this is very high priority to me.
Thanks,
Samba

Similar Messages

  • Help needed in XML Bursting

    Hi,
    I am working first time on XML report bursting concept.
    I have two remit to addresses in my report xml. I nedd to burst my report at address level.
    This is my report xml:
    <ARXSGPO>
    <LIST_G_SETUP>
    <G_SETUP>
    <LIST_G_STATEMENT>
    <G_STATEMENT>
    <LIST_G_AMOUNT_DUE>
    <G_AMOUNT_DUE>
    <LIST_G_LINE_CLUSTER>
    <G_LINE_CLUSTER>
    </G_AMOUNT_DUE>
    </LIST_G_AMOUNT_DUE>
    <LIST_G_1>
    <G_1>
    <CF_REMIT_TO_ADDRESS1>Phoenix Centre </CF_REMIT_TO_ADDRESS1>
    <CF_REMIT_TO_ADDRESS2>Millenium Way West</CF_REMIT_TO_ADDRESS2>
    <CF_REMIT_TO_ADDRESS3 />
    <CF_REMIT_TO_ADDRESS4 />
    <CF_REMIT_TO_ADDRESS5 />
    </G_STATEMENT>
    <G_STATEMENT>
    <LIST_G_AMOUNT_DUE>
    <G_AMOUNT_DUE>
    <LIST_G_LINE_CLUSTER>
    <G_LINE_CLUSTER>
    </G_LINE_CLUSTER>
    </LIST_G_LINE_CLUSTER>
    </G_AMOUNT_DUE>
    <LIST_G_1>
    <G_1>
    <CF_REMIT_TO_ADDRESS1>Second Avenue</CF_REMIT_TO_ADDRESS1>
    <CF_REMIT_TO_ADDRESS2>Poynton Industrial Estate </CF_REMIT_TO_ADDRESS2>
    <CF_REMIT_TO_ADDRESS3 />
    <CF_REMIT_TO_ADDRESS4 />
    <CF_REMIT_TO_ADDRESS5 />
    </G_SETUP>
    </LIST_G_SETUP>
    </ARXSGPO>
    I am defining my control file like this.
    <?xml version="1.0" encoding="UTF-8" ?>
    <xapi:requestset xmlns:xapi="http://xmlns.oracle.com/oxp/xapi" type="bursting">
    <xapi:request select="ARXSGPO/LIST_G_SETUP/G_SETUP/LIST_G_STATEMENT/G_STATEMENT/LIST_G_AMOUNT_DUE/G_AMOUNT_DUE/
    LIST_G_LINE_CLUSTERG_LINE_CLUSTER/LIST_G_1/G_1/CF_REMIT_TO_ADDRESS1">
    <xapi:delivery>
    <xapi:print id="printer1" printer="ipp://ipgpc1.us.oracle.com:631/printers/printer_p6op286a" copies="1" />
    </xapi:delivery>
    <xapi:document output-type="pdf" delivery="printer1">
    <xapi:template type="rtf" location="location="/disk3/oracle/viscomn/java/oracle/apps/fnd/cp/sample/statement.rtf" filter=".//G_1[INTERNAL_NOTES='PRINTER']" />
    </xapi:document>
    </xapi:request>
    </xapi:requestset>
    1) Can I use CF_REMIT_TO_ADDRESS1 in the attribute select under the request element
    2) In Database I have two printers attached for these addresses. I need to send output directly to printer. How can I differentiate details of
    printer in control file for each address?
    Please help me in this.
    Thanks in advance

    Hi,
    Thanks for your reply. when I am running my request I am getting java.lang.NullPointerException from Bursting program.
    Details of log file.
    Request ID: 6355955All
    Parameters: ReportRequestID=6355950:
    DebugFlag=YReport
    Req ID: 6355950Debug Flag: Y
    Updating request description
    Updated description
    Retrieving XML request informationNode Name:ORADB02
    Preparing parameters
    null output =/ora_code3/db04/db04comn/admin/out/db04_oradb02/o6355955.out
    inputfilename =/ora_code3/db04/db04comn/admin/out/db04_oradb02/o6355950.out
    Data XML File:/ora_code3/db04/db04comn/admin/out/db04_oradb02/o6355950.out
    Set Bursting parameters..Temp.
    Directory:/ora_code3/db04/db04comn/temp/[010808_021907137][][STATEMENT]
    Oracle XML Parser version ::: Oracle XDK Java 9.0.4.0.0 ProductionStart bursting process..[010808_021907140][][STATEMENT] /ora_code3/db04/db04comn/temp/[010808_021907146][][STATEMENT] BurstingProcessor ::: Property Key ---> burstng-source[010808_021907146][][STATEMENT] Inside burstingConfigParser[010808_021907150][oracle.apps.xdo.batch.BurstingProcessorEngine][STATEMENT] ========================> startElement() ::: startDocument is entered <========================--
    Exception
    null
    java.lang.NullPointerException     at oracle.apps.xdo.batch.BurstingProcessorEngine.burstingStartElement(BurstingProcessorEngine.java:1417)     at oracle.apps.xdo.batch.BurstingProcessorEngine.startElement(BurstingProcessorEngine.java:1110)     at oracle.xml.parser.v2.XMLContentHandler.startElement(XMLContentHandler.java:167)     at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1182)     at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:301)     at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:268)     at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:227)
    Please help me.
    Thanks

  • Urgent help needed for XML Tags using XMLForest()

    Folks
    I need some urgent help regarding getting use defined tag in your
    XML output.
    For this I am using XMLElement and XMLForest which seems to work fine
    when used at the SQL prompt but when used in a procedure throws and error
    SQL> Select SYS_XMLAGG(XMLElement("SDI",
                                       XMLForest(sdi_num)))
         From sdi
         where sdi_num = 22261;- WORKS FINE
    But when used in a procedure,doesnt seem to work
    Declare
        queryCtx  DBMS_XMLQuery.ctxType;
        v_xml     VARCHAR2(32767);
        v_xmlClob CLOB;
        BEGIN
        v_xml:='Select SYS_XMLAGG(XMLElement("SDI",
                                             XMLFOREST(sdi_num)))
        From sdi
        where sdi_num = 22261';
        queryCtx :=DBMS_XMLQuery.newContext(v_xml);
        v_xmlClob :=DBMS_XMLQuery.getXML(queryCtx);
        display_xml(v_xmlClob);
    End;
    CREATE OR REPLACE PROCEDURE  display_xml(result IN OUT NOCOPY CLOB)
    AS
         xmlstr varchar2(32767);
         line varchar2(2000);
    BEGIN
         xmlstr:=dbms_lob.SUBSTR(result,32767);
         LOOP
         EXIT WHEN xmlstr is null;
         line :=substr(xmlstr,1,instr(xmlstr,chr(10))-1);
         dbms_output.put_line('.'||line);
         xmlstr := substr(xmlstr,instr(xmlstr,chr(10))+1);
         END LOOP;
    end;
    SQL> /
    .<?xml version = '1.0'?>
    .<ERROR>oracle.xml.sql.OracleXMLSQLException: Character ')' is not allowed in an
    XML tag name.</ERROR>
    PL/SQL procedure successfully completed.
    SQL>HELP is appreciated as to where I am going wrong?

    Hi,
    if you want to transform something to something else, you should declare, what is your source.
    I would prefer to use plain XSL-Transformations, because you have a lot more options to transform your source and you can even better determine, how your output should looks like.
    Kind regards,
    Hendrik

  • Help needed in XML Bursting to set printer details

    Hi,
    In xml bursting to set the printer details, we need to Specify the printer attribute as a URI such as:"ipp://myprintserver:631/printers/printername"
    Here I am getting printername dynamically from report. But I am
    not understanding "ipp://myprintserver:631/printers". Here What I have to give?
    Please help me in this.
    Thanks in advance.

    Which environment are you trying this in ? In Enterprise server, bursting is defined by a SQL query which can be run against the table that you want. So you can even populate the printer name from your query. So the URI, ipp://myprintserver:631/printers/printername" is the syntax. In your case you have to create this string in your SQL query by concatenating the parts "ipp://" + printername + ":631/". If there is a name to the printer in the printserver, then that too can be concatenated.
    In case this is in EBS , the same has to be done in the control file.

  • Help needed in XML Form Builder

    Hi All,
    I require your help in XML form .
    when we create a XML form in Builder we can define some caption values such as $sap_user , $ locDate which displays the
    user id and date in the respective field when the form is opened.
    I need to dispaly the phone number,department etc from the LDAP /UME to my from .
    How can i get it .
    Please help.
    Regards,
    Nitesh

    Which environment are you trying this in ? In Enterprise server, bursting is defined by a SQL query which can be run against the table that you want. So you can even populate the printer name from your query. So the URI, ipp://myprintserver:631/printers/printername" is the syntax. In your case you have to create this string in your SQL query by concatenating the parts "ipp://" + printername + ":631/". If there is a name to the printer in the printserver, then that too can be concatenated.
    In case this is in EBS , the same has to be done in the control file.

  • Help needed with xml to flat file conversion

    Hi all,
    I am doing a webservice (SOAP) to file scenario. The file I get into the target directory is as below.
    <?xml version="1.0" encoding="UTF-8"?>
    <ns1:MT_Test_interface xmlns:ns1="http://test_namespace.co.uk"><fieldA>0000012345</fieldA><fieldB></fieldB><fieldC>0010203040</fieldC><transaction_type>NEW</transaction_type><transaction_date>2011/08/21</transaction_date><sales data>PARTNERS (((119006.258 169077.102), (372718.323 77854.466, 371449.872 70783.383), (382225.17 73214.976, 398410.463 95156.636)))</sales data></ns1:MT_Test_interface>
    But I want it to be a plain text file like below, not an xml file.
    0000012345
    0010203040
    NEW
    2011/08/21
    PARTNERS
    (((119006.258 169077.102), (372718.323 77854.466, 371449.872 70783.383), (382225.17 73214.976, 398410.463 95156.636)))
    What are all the modules I need and also the parameters and their values please?
    Any help is appreciated.
    Thanks.
    Ramesh.

    Thanks guys.
    My xml now is like this:
    <?xml version="1.0" encoding="UTF-8" ?>
    - <ns1:MT_test xmlns:ns1="http://test.co.uk">
    - <REPORT>
      <company_number>0000043239</company_number>
      <transaction_type>CREATE</transaction_type>
      <transaction_date>2011/08/21</transaction_date>
      <sales_data>Partners (((119006.258 169077.102), (372718.323 77854.466, 371449.872 70783.383), (382225.17 73214.976, 398410.463 95156.636)))</Partners>
      </REPORT>
      </ns1:MT_test>
    I am using the content conversion as below:
    Recordset Structure: REPORT
    Name: REPORT.addHeaderLine      Value: 1
    Name: REPORT.fieldSeparator      Value: ,
    Name: REPORT.endSeparator      Value: 'nl'
    Name: company_number.endSeparator      Value: 'nl'
    and I am getting the result as:
    company_number,transaction_type,transaction_date,sales_data
    0000043239,CREATE,2011/08/21,Partners (((119006.258 169077.102), (372718.323 77854.466, 371449.872 70783.383), 382225.17 73214.976, 398410.463 95156.636)))
    But I want file like this:
    company_number,transaction_type,transaction_date,sales_data
    0000043239
    CREATE
    2011/08/21
    Partners (((119006.258 169077.102), (372718.323 77854.466, 371449.872 70783.383), 382225.17 73214.976, 398410.463 95156.636)))
    What will be the CC parameters please?
    Many thanks.
    Ramesh.

  • Help need in XML to Proxy scenario

    HI Guys,
    I have got one scenaio from xml file --> ABAP proxy. This is for SNC integration, Product Acitivity Data. Please have a look the following xml file.
    <?xml version="1.0" encoding="UTF-8"?>
    <ROOT>
    <OUTPUT>
    <TRANS_HEADER>
      <SET_ID>852</SET_ID>
      <CNTL_NUMB>0001</CNTL_NUMB>
      <CUST_NUMB>3800580</CUST_NUMB>
      </TRANS_HEADER>
    <H01_XQ>
      <XQ01>H</XQ01>
      <XQ_Y2K_DATE1>20100601</XQ_Y2K_DATE1>
      </H01_XQ>
    <Group_N1>
    <H02_N1>
      <N101>ST</N101>
      <N102>SO. CALIF.</N102>
      <N103>UL</N103>
      <N104>0083967005509</N104>
      </H02_N1>
    <H02_N1_N4>
      <N401>SANBERNARDINO CALIFORNIA</N401>
      <N402>CA</N402>
      <N403>92407-185</N403>
      </H02_N1_N4>
    <H02_N1_DTM>
      <DTM01>600</DTM01>
      <DTM_Y2K_DATE>20100531</DTM_Y2K_DATE>
      </H02_N1_DTM>
      </Group_N1>
    <Group_LIN>
    <D01_LIN>
      <LIN02>CB</LIN02>
      <LIN03>225037</LIN03>
      <LIN04>UA</LIN04>
      <LIN05>001230035569</LIN05>
      <LIN06>UK</LIN06>
      <LIN07>00012300355698</LIN07>
      <LIN08>ZZ</LIN08>
      <LIN09>0</LIN09>
      </D01_LIN>
    <D01_PO4>
      <P0401>10</P0401>
      </D01_PO4>
    <D01_N9>
      <N901>VN</N901>
      <N902>0000005121</N902>
      </D01_N9>
    <Group_ZA>
    <D02_ZA>
      <ZA01>QA</ZA01>
      <ZA02>0.0</ZA02>
      <ZA03>CT</ZA03>
      <ZA06>LJ</ZA06>
      <ZA07>XX</ZA07>
      </D02_ZA>
    <D02_ZA>
      <ZA01>QN</ZA01>
      <ZA02>1.0</ZA02>
      <ZA03>CT</ZA03>
      <ZA06>LJ</ZA06>
      <ZA07>XX</ZA07>
      </D02_ZA>
    <D02_ZA>
      <ZA01>QO</ZA01>
      <ZA02>0.0</ZA02>
      <ZA03>CT</ZA03>
      <ZA06>LJ</ZA06>
      <ZA07>XX</ZA07>
      </D02_ZA>
    <D02_ZA>
      <ZA01>QP</ZA01>
      <ZA02>0.0</ZA02>
      <ZA03>CT</ZA03>
      <ZA06>LJ</ZA06>
      <ZA07>XX</ZA07>
      </D02_ZA>
    <D02_ZA>
      <ZA01>QS</ZA01>
      <ZA02>0.0</ZA02>
      <ZA03>CT</ZA03>
      <ZA06>LJ</ZA06>
      <ZA07>XX</ZA07>
      </D02_ZA>
      </Group_ZA>
      </Group_LIN>
    <Group_LIN>
    <D01_LIN>
      <LIN02>CB</LIN02>
      <LIN03>225052</LIN03>
      <LIN04>UA</LIN04>
      <LIN05>001230035570</LIN05>
      <LIN06>UK</LIN06>
      <LIN07>00012300355704</LIN07>
      <LIN08>ZZ</LIN08>
      <LIN09>2</LIN09>
      </D01_LIN>
    <D01_PO4>
      <P0401>10</P0401>
      </D01_PO4>
    <D01_N9>
      <N901>VN</N901>
      <N902>0000005121</N902>
      </D01_N9>
    <Group_ZA>
    <D02_ZA>
      <ZA01>QA</ZA01>
      <ZA02>0.0</ZA02>
      <ZA03>CT</ZA03>
      <ZA06>LJ</ZA06>
      <ZA07>XX</ZA07>
      </D02_ZA>
    <D02_ZA>
      <ZA01>QN</ZA01>
      <ZA02>1.0</ZA02>
      <ZA03>CT</ZA03>
      <ZA06>LJ</ZA06>
      <ZA07>XX</ZA07>
      </D02_ZA>
    <D02_ZA>
      <ZA01>QO</ZA01>
      <ZA02>0.0</ZA02>
      <ZA03>CT</ZA03>
      <ZA06>LJ</ZA06>
      <ZA07>XX</ZA07>
      </D02_ZA>
    <D02_ZA>
      <ZA01>QP</ZA01>
      <ZA02>0.0</ZA02>
      <ZA03>CT</ZA03>
      <ZA06>LJ</ZA06>
      <ZA07>XX</ZA07>
      </D02_ZA>
    <D02_ZA>
      <ZA01>QS</ZA01>
      <ZA02>0.0</ZA02>
      <ZA03>CT</ZA03>
      <ZA06>LJ</ZA06>
      <ZA07>XX</ZA07>
      </D02_ZA>
      </Group_ZA>
      </Group_LIN>
    <Group_LIN>
    <D01_LIN>
      <LIN02>CB</LIN02>
      <LIN03>225078</LIN03>
      <LIN04>UA</LIN04>
      <LIN05>001230035571</LIN05>
      <LIN06>UK</LIN06>
      <LIN07>00012300355711</LIN07>
      <LIN08>ZZ</LIN08>
      <LIN09>2</LIN09>
      </D01_LIN>
    <D01_PO4>
      <P0401>10</P0401>
      </D01_PO4>
    <D01_N9>
      <N901>VN</N901>
      <N902>0000005121</N902>
      </D01_N9>
    <Group_ZA>
    <D02_ZA>
      <ZA01>QA</ZA01>
      <ZA02>0.0</ZA02>
      <ZA03>CT</ZA03>
      <ZA06>LJ</ZA06>
      <ZA07>XX</ZA07>
      </D02_ZA>
    <D02_ZA>
      <ZA01>QN</ZA01>
      <ZA02>1.0</ZA02>
      <ZA03>CT</ZA03>
      <ZA06>LJ</ZA06>
      <ZA07>XX</ZA07>
      </D02_ZA>
    <D02_ZA>
      <ZA01>QO</ZA01>
      <ZA02>0.0</ZA02>
      <ZA03>CT</ZA03>
      <ZA06>LJ</ZA06>
      <ZA07>XX</ZA07>
      </D02_ZA>
    <D02_ZA>
      <ZA01>QP</ZA01>
      <ZA02>0.0</ZA02>
      <ZA03>CT</ZA03>
      <ZA06>LJ</ZA06>
      <ZA07>XX</ZA07>
      </D02_ZA>
    <D02_ZA>
      <ZA01>QS</ZA01>
      <ZA02>0.0</ZA02>
      <ZA03>CT</ZA03>
      <ZA06>LJ</ZA06>
      <ZA07>XX</ZA07>
      </D02_ZA>
      </Group_ZA>
      </Group_LIN>
    <Group_LIN>
    <S01_CTT>
      <CTT01>53</CTT01>
      </S01_CTT>
      </OUTPUT>
    <OUTPUT>
    <TRANS_HEADER>
      <SET_ID>852</SET_ID>
      <CNTL_NUMB>0001</CNTL_NUMB>
      <CUST_NUMB>3800580</CUST_NUMB>
      </TRANS_HEADER>
    <H01_XQ>
      <XQ01>H</XQ01>
      <XQ_Y2K_DATE1>20100601</XQ_Y2K_DATE1>
      </H01_XQ>
    <Group_N1>
    <H02_N1>
      <N101>ST</N101>
      <N102>SO. CALIF.</N102>
      <N103>UL</N103>
      <N104>0083967005509</N104>
      </H02_N1>
    <H02_N1_N4>
      <N401>SANBERNARDINO CALIFORNIA</N401>
      <N402>CA</N402>
      <N403>92407-185</N403>
      </H02_N1_N4>
    <H02_N1_DTM>
      <DTM01>600</DTM01>
      <DTM_Y2K_DATE>20100531</DTM_Y2K_DATE>
      </H02_N1_DTM>
      </Group_N1>
    <Group_LIN>
    <D01_LIN>
      <LIN02>CB</LIN02>
      <LIN03>225037</LIN03>
      <LIN04>UA</LIN04>
      <LIN05>001230035569</LIN05>
      <LIN06>UK</LIN06>
      <LIN07>00012300355698</LIN07>
      <LIN08>ZZ</LIN08>
      <LIN09>0</LIN09>
      </D01_LIN>
    <D01_PO4>
      <P0401>10</P0401>
      </D01_PO4>
    <D01_N9>
      <N901>VN</N901>
      <N902>0000005121</N902>
      </D01_N9>
    <Group_ZA>
    <D02_ZA>
      <ZA01>QA</ZA01>
      <ZA02>0.0</ZA02>
      <ZA03>CT</ZA03>
      <ZA06>LJ</ZA06>
      <ZA07>XX</ZA07>
      </D02_ZA>
    <D02_ZA>
      <ZA01>QN</ZA01>
      <ZA02>1.0</ZA02>
      <ZA03>CT</ZA03>
      <ZA06>LJ</ZA06>
      <ZA07>XX</ZA07>
      </D02_ZA>
    <D02_ZA>
      <ZA01>QO</ZA01>
      <ZA02>0.0</ZA02>
      <ZA03>CT</ZA03>
      <ZA06>LJ</ZA06>
      <ZA07>XX</ZA07>
      </D02_ZA>
    <D02_ZA>
      <ZA01>QP</ZA01>
      <ZA02>0.0</ZA02>
      <ZA03>CT</ZA03>
      <ZA06>LJ</ZA06>
      <ZA07>XX</ZA07>
      </D02_ZA>
    <D02_ZA>
      <ZA01>QS</ZA01>
      <ZA02>0.0</ZA02>
      <ZA03>CT</ZA03>
      <ZA06>LJ</ZA06>
      <ZA07>XX</ZA07>
      </D02_ZA>
      </Group_ZA>
      </Group_LIN>
    <Group_LIN>
    <D01_LIN>
      <LIN02>CB</LIN02>
      <LIN03>225052</LIN03>
      <LIN04>UA</LIN04>
      <LIN05>001230035570</LIN05>
      <LIN06>UK</LIN06>
      <LIN07>00012300355704</LIN07>
      <LIN08>ZZ</LIN08>
      <LIN09>2</LIN09>
      </D01_LIN>
    <D01_PO4>
      <P0401>10</P0401>
      </D01_PO4>
    <D01_N9>
      <N901>VN</N901>
      <N902>0000005121</N902>
      </D01_N9>
    <Group_ZA>
    <D02_ZA>
      <ZA01>QA</ZA01>
      <ZA02>0.0</ZA02>
      <ZA03>CT</ZA03>
      <ZA06>LJ</ZA06>
      <ZA07>XX</ZA07>
      </D02_ZA>
    <D02_ZA>
      <ZA01>QN</ZA01>
      <ZA02>1.0</ZA02>
      <ZA03>CT</ZA03>
      <ZA06>LJ</ZA06>
      <ZA07>XX</ZA07>
      </D02_ZA>
    <D02_ZA>
      <ZA01>QO</ZA01>
      <ZA02>0.0</ZA02>
      <ZA03>CT</ZA03>
      <ZA06>LJ</ZA06>
      <ZA07>XX</ZA07>
      </D02_ZA>
    <D02_ZA>
      <ZA01>QP</ZA01>
      <ZA02>0.0</ZA02>
      <ZA03>CT</ZA03>
      <ZA06>LJ</ZA06>
      <ZA07>XX</ZA07>
      </D02_ZA>
    <D02_ZA>
      <ZA01>QS</ZA01>
      <ZA02>0.0</ZA02>
      <ZA03>CT</ZA03>
      <ZA06>LJ</ZA06>
      <ZA07>XX</ZA07>
      </D02_ZA>
      </Group_ZA>
      </Group_LIN>
    <Group_LIN>
    <D01_LIN>
      <LIN02>CB</LIN02>
      <LIN03>225078</LIN03>
      <LIN04>UA</LIN04>
      <LIN05>001230035571</LIN05>
      <LIN06>UK</LIN06>
      <LIN07>00012300355711</LIN07>
      <LIN08>ZZ</LIN08>
      <LIN09>2</LIN09>
      </D01_LIN>
    <D01_PO4>
      <P0401>10</P0401>
      </D01_PO4>
    <D01_N9>
      <N901>VN</N901>
      <N902>0000005121</N902>
      </D01_N9>
    <Group_ZA>
    <D02_ZA>
      <ZA01>QA</ZA01>
      <ZA02>0.0</ZA02>
      <ZA03>CT</ZA03>
      <ZA06>LJ</ZA06>
      <ZA07>XX</ZA07>
      </D02_ZA>
    <D02_ZA>
      <ZA01>QN</ZA01>
      <ZA02>1.0</ZA02>
      <ZA03>CT</ZA03>
      <ZA06>LJ</ZA06>
      <ZA07>XX</ZA07>
      </D02_ZA>
    <D02_ZA>
      <ZA01>QO</ZA01>
      <ZA02>0.0</ZA02>
      <ZA03>CT</ZA03>
      <ZA06>LJ</ZA06>
      <ZA07>XX</ZA07>
      </D02_ZA>
    <D02_ZA>
      <ZA01>QP</ZA01>
      <ZA02>0.0</ZA02>
      <ZA03>CT</ZA03>
      <ZA06>LJ</ZA06>
      <ZA07>XX</ZA07>
      </D02_ZA>
    <D02_ZA>
      <ZA01>QS</ZA01>
      <ZA02>0.0</ZA02>
      <ZA03>CT</ZA03>
      <ZA06>LJ</ZA06>
      <ZA07>XX</ZA07>
      </D02_ZA>
      </Group_ZA>
      </Group_LIN>
    <Group_LIN>
    <S01_CTT>
      <CTT01>53</CTT01>
      </S01_CTT>
      </OUTPUT>
    </ROOT>
    1. Can you please tell me, Do we need Multimapping in this?
    2. To take this file into PI, do we need to use Ananimity bean parameters to sender file adapter module?
    3. the sender side XSD schma as follows is it okay are any change are required
    ROOT     Complex Type          
    OUTPUT     Element          0..unbounded
    TRANS_HEADER     Element          0..unbounded
    SET_ID     Element     xsd:string     0..1
    CNTL_NUMB     Element     xsd:string     0..1
    CUST_NUMB     Element     xsd:string     0..1
    H01_XQ     Element          0..unbounded
    XQ01     Element     xsd:string     0..1
    XQ_Y2K_DATE1     Element     xsd:date     0..1
    Group_N1     Element          0..unbounded
    H02_N1     Element          0..1
    N101     Element     xsd:string     0..1
    N102     Element     xsd:string     0..1
    N103     Element     xsd:string     0..1
    N104     Element     xsd:string     0..1
    H02_N1_N4     Element          0..1
    N401     Element     xsd:string     0..1
    N402     Element     xsd:string     0..1
    N403     Element     xsd:string     0..1
    H02_N1_DTM     Element          0..1
    DTM01     Element     xsd:string     0..1
    DTM_Y2K_DATE     Element     xsd:date     0..1
    Group_LIN     Element          0..unbounded
    D01_LIN     Element          0..unbounded
    LIN02     Element     xsd:string     0..1
    LIN03     Element     xsd:string     0..1
    LIN04     Element     xsd:string     0..1
    LIN05     Element     xsd:string     0..1
    LIN06     Element     xsd:string     0..1
    LIN07     Element     xsd:string     0..1
    LIN08     Element     xsd:string     0..1
    LIN09     Element     xsd:string     0..1
    D01_PO4     Element          0..unbounded
    P0401     Element     xsd:integer     0..1
    D01_N9     Element          0..unbounded
    N901     Element     xsd:string     0..1
    N902     Element     xsd:string     0..1
    Group_ZA     Element          0..unbounded
    D02_ZA     Element          0..unbounded
    ZA01     Element     xsd:string     0..unbounded
    ZA02     Element     xsd:decimal     0..unbounded
    ZA03     Element     xsd:string     0..unbounded
    ZA04     Element     xsd:string     0..unbounded
    ZA05     Element     xsd:string     0..unbounded
    ZA06     Element     xsd:string     0..unbounded
    ZA07     Element     xsd:string     0..unbounded
    ZA08     Element     xsd:string     0..unbounded
    ZA09     Element     xsd:string     0..unbounded
    S01_CTT     Element          0..unbounded
    CTT01     Element     xsd:string     0..1
    Any kind if help is good.
    Regards
    Many thanks in advance.
    San

    Hi Abhishek,
    Any example scenario do you about this model. I will explain our scenario situation, please give me your idea.
    We are doing Customer colloboration on SNC 7.0 with PI 7.11. Everyday customer sales files almost 100 comes individually EDI messages comes in EDI flat file, there is intermediate company will conver EDI flat file into xml messages. This xml file has got first 5 tags header information and the rest 50 to 100 lin items. This kind of header and lin information 3 to 5 messages per one xml.
    EX:  <RooT>
               <OUTPUT> -- 0..unbound
                  <Header-1>   --- 0..1
                  <Header-2>  ---  0..1
                  <Line -1>     0..n
                  <Line -7>     0..n
                       <ZA>      0..1
                       <ZA>      0..1
                  <Trailer>        0..1
    This is the structure. We need to populate all this customer information into Product Activity Notification on SNC 1..1.
    Could you please give me your ideas and recommandations.
    Many thanks for your help & effort.
    Regards
    San

  • Immediate help needed with XML Parser

    I am currently running Oracle 8i and trying to use the XML utilities. Just to make sure things are working, I tried a very simple program. I followed the xslsample.sql code that was supplied by Oracle. Code is as follows:
    declare
    p xmlparser.parser;
    begin
    p := xmlparser.newparser;
    end;
    When the code executes, I get a PLS-00201: identifier 'XMLPARSER.PARSER' must be declared. Anyone have any ideas on what is going on and how to fix it? Any assistance would be greatly appreciated. You can email directly if you wish since I am really under a tight timeline to get these utilities to work correctly.

    Michael,
    Seems to be some problem with privileges. XMLPARSER is owned by SYS. You will need to grant execute access from SYS to the user under which you are trying to compile the procedure. It might be useful to create a public synonym and then grant access.
    Hope this helps.

  • Help needed with xml list

    hi,
    i need to make a list in which all the list items will come
    from xml file. these items will also be clickable so that they open
    a new respective hyperlink on click. i need something like
    www.sponky.com ' s portfolio list. can somebody please help me? i
    really need your help.
    thanks,
    gaurav

    I'm hoping I understand what you're doing... I would probably
    do it all in one frame and just toggle the .visible property of the
    subcategory list after the first one has been clicked, but there's
    no rules about how you do it.
    Without being sure, I think what you may have done is put a
    second "copy" of the category list on another keyframe, which
    replaces the previous instance. By taking away the second copy it
    should work. If that's not the case, then I'm stumped... otherwise
    read on.
    So if you have the category list in its own layer, just have
    it in frame one, on frame 2 of the same layer have a frame but
    not a keyframe. This will mean the instance in frame one is
    still the same one when the playhead gets to frame 2.
    And have the subCategory list on a separate layer, it appears
    on frame 2...
    BTW the .getSelectedItem() method of the list reminds me of
    flash mx... is that the version you're using (curiosity only I
    don't think its relevant, because its obviously working).

  • Help Needed with XML Attribute Access (Bold/Italics)

    Hi,
    I have a form that displays data in livecycle designer. When someone imports an xml file into the form in Adobe Acrobat it should be able to display some data as bolded and some italicized based on the xml file.
    Here is the sample xml file
    <Table1>
         <Row1>
              <Cell1 style="none">1</Cell1>
              <Cell2 style="bold">2</Cell2>
              <Cell3 style="italics">3</Cell3>
         </Row1>
    </Table1>
    And the output should be:
    1 2 3 
    Can someone please help! If the xml file should be designed differently please let me know.
    Thank you!

    Paul,
    Thanks for the help! I tried it out and it worked. One last question please. According to your explanation I added to the xml file the tags
    <body xmlns:xfa="http://www.xfa.org/schema/xfa-data/1.0/" xmlns="http://www.w3.org/1999/xhtml" xfa:APIVersion="Acroform:2.7.0.0" xfa:spec="2.1">
    <p style="font-weight:bold;">2</p>
    </body>
    do I need to place this body tag around each number or can I place it in one location in the xml file?
    Thanks again.

  • Help needed adding xml into website

    I am looking for some help adding a few .xml files into my
    website using Dreamweaver
    First ..I would like to add the following RDS.xml file below.
    I would like it to go into a box that is 100 x 100 px
    <?xml version="1.0" encoding="utf-8" ?>
    - <Playing station="HAWK">
    - <item type="MUS">
    <DateTime>Thu 10:52AM</DateTime>
    <Cart />
    <Artist>THE ROLLING STONES</Artist>
    <SongTitle>JUMPIN' JACK FLASH</SongTitle>
    </item>
    </Playing>
    Second ..an event.xml file that will scroll info with box
    dimensions of 400 px w x 30 px h.
    Both xml files would be on my site in a user_files folder
    Any help would be greatly appreciated. Rob

    > To use Dreamweaver, you'll need to write some code to
    transform the XML
    > into
    > HTML. What code to write will depend on the server-side
    scripting language
    > you are using.
    It means that you can't just plop in XML in the middle of
    your HTML. Your
    pages are HTML, so the XML needs to be transformed in to HTML
    first. There
    are various ways to do this. Are you using PHP? ASP? Etc.
    Once we know that,
    we can narrow down a solution for you.
    -Darrel

  • Help Needed Importing XML into a Database

    Hi:
    I'm new to Appleworks databases. I would like to create a database by importing records from a large XML file containing thousands of records. Is there a user's guide (or something else) I could read to help me do this? I have the schema for the XML file.
    Thanks,
    -AstraPoint

    I'm new to Appleworks databases. I would like to
    create a database by importing records from a large
    XML file containing thousands of records. Is there a
    user's guide (or something else) I could read to help
    me do this? I have the schema for the XML file.
    AppleWorks is a flat-file database and not a relational database. It will import ASCII text files ie tab-delimited data (TSV file format).
    You need to write an XSL template to convert your XML data into a TSV or CSV. I'd be surprised if there already wasn't the basics of a XSL template that could do this on Google.

  • Help needed: HTTPService, XML, Repeater

    Hi there
    I am very much new to Flex 2 technology and require help
    regarding HTTPService and XML.
    In my main application (NestedRepeater.mxml), I have the
    following code:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    xmlns:comps="component.*" layout="absolute"
    creationComplete="userRequest.send()">
    <mx:HTTPService id="userRequest"
    url="/Users/ronnyk/Sites/book.xml" useProxy="false" method="POST"
    />
    <mx:VBox>
    <mx:Repeater id="Repeater1"
    dataProvider="{userRequest.lastResult.book.section}">
    <comps:Section
    sectionNumber="{Repeater1.currentItem.sectionnumber}"
    xmlSection="{Repeater1.currentItem}" />
    </mx:Repeater>
    </mx:VBox>
    </mx:Application>
    In my real app, I have a PHP script as the url for the
    HTTPService, but for the sake of simplicity, I'll just use
    book.xml:
    <?xml version="1.0" encoding="UTF-8"?>
    <book>
    <section>
    <sectionnumber>s1</sectionnumber>
    <chapter>
    <chapternumber>c1</chapternumber>
    </chapter>
    <chapter>
    <chapternumber>c2</chapternumber>
    </chapter>
    </section>
    <section>
    <sectionnumber>s2</sectionnumber>
    <chapter>
    <chapternumber>c3</chapternumber>
    </chapter>
    </section>
    </book>
    As you can see as well, I have a custom component called
    Section.mxml within the repeater of the main app, the custom
    component is as follows:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Canvas xmlns:mx="
    http://www.adobe.com/2006/mxml">
    <mx:Script>
    <![CDATA[
    [Bindable]
    public var xmlSection:XML;
    [Bindable]
    public var sectionNumber:String;
    ]]>
    </mx:Script>
    <mx:VBox>
    <mx:Panel id="panel1" layout="absolute" title="Section"
    width="166" height="70">
    <mx:VBox>
    <mx:Label text="{this.sectionNumber}"/>
    </mx:VBox>
    </mx:Panel>
    <mx:Repeater id="Repeater2"
    dataProvider="{xmlSection.chapter}">
    <mx:Panel layout="absolute" title="Chapter" height="100"
    width="166">
    <mx:Label text="{Repeater2.currentItem.chapternumber}"
    />
    </mx:Panel>
    </mx:Repeater>
    </mx:VBox>
    </mx:Canvas>
    I am passing xmlSection="{Repeater1.currentItem}" to the
    custom component so that I can correctly create nested children for
    each parent. But anyway, my problem happens when I include
    xmlSection="{Repeater1.currentItem}" to the custom Section
    component, it always displays only one section (the label "s1"
    doesn't even appear), but if I exclude
    xmlSection="{Repeater1.currentItem}", when I run it, it displays
    correctly:
    s1
    s2
    Any help/suggestion would be greatly appreciated as I am at
    my wits end regarding my project.
    Let me know if you need any more info.
    Thanks!

    Hi again,
    After going through the HTTPService topic forum, I should be
    using resultHandler for my HTTPService, so I change my main mxml
    app into:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    xmlns:comps="component.*" layout="absolute"
    creationComplete="userRequest.send()">
    <mx:Script>
    <![CDATA[
    import mx.rpc.events.ResultEvent;
    [Bindable]
    private var myData:XML;
    private function resultHandler(event:ResultEvent):void {
    myData = event.result.book.section as XML;
    ]]>
    </mx:Script>
    <mx:HTTPService id="userRequest"
    url="/Users/ronnyk/Sites/book.xml" resultFormat="e4x"
    result="resultHandler(event)" useProxy="false" method="POST" />
    <mx:VBox>
    <mx:Repeater id="Repeater1" dataProvider="{myData}">
    <comps:Section
    sectionNumber="{Repeater1.currentItem.sectionnumber}"
    xmlSection="{Repeater1.currentItem}" />
    </mx:Repeater>
    </mx:VBox>
    </mx:Application>
    But now, when I run it, it displays nothing, just a blank
    browser. Can someone please help? Maybe because I shouldn't use
    creationComplete="userRequest.send()" in the Application tag?
    Thanks!

  • Help Needed in Xml Stored Procedure

    Hi , i am trying to write one sp which takes xml document as a parameter. I want to update/Insert the data in the xml based on some conditions. So i put the data from xml to a global TEMPORARY table. The i process this data and will update /Insert the data based on the output.
    Right now i am unable to create global TEMPORARY table my stored procedure .When i compile the stored procedure , its showing the following error
    Compilation errors for PROCEDURE SYSTEM.TESTXML
    Error: PLS-00103: Encountered the symbol "CREATE" when expecting one of the following:
    begin case declare exit for goto if loop mod null pragma
    raise return select update while with <an identifier>
    <<
    close current delete fetch lock insert open rollback
    savepoint set sql execute commit forall merge pipe
    Line: 8
    Text: CREATE GLOBAL TEMPORARY TABLE temp
    I am attaching my sp below
    create or replace procedure testxml
    ( xmlDoc IN clob )
    is
    updCtx DBMS_XMLStore.ctxType;
    rows NUMBER;
    begin
    CREATE GLOBAL TEMPORARY TABLE temp
    ( cdcalendar NUMBER,
    cdperiod NUMBER,
    cdsubperiod NUMBER,
    cdglperiod NUMBER,
    dtstartsubperiod date,
    dtendsubperiod date
    ) ON COMMIT PRESERVE ROWS;
    updCtx := DBMS_XMLStore.newContext(temp)
    rows := DBMS_XMLStore.insertXML(updCtx,xmlDoc);
    DBMS_XMLStore.closeContext(updCtx);
    if Not exists
    (Select Distinct cd_calendar from Calendar_Period
    Where cd_calendar = select Distinct cdcalendar from temp )
    Then
    Insert into calendar_period
    cd_calendar,
    cd_period,
    cd_subperiod,
    cd_gl_period,
    dt_start_subperiod,
    dt_end_subperiod
    select cdcalendar,
    cdperiod,
    cdsubperiod,
    cdglperiod,
    dtstartsubperiod,
    dtendsubperiod
    from temp ;
    Else
    Update calendar_period
    Set cdp.cd_calendar = temp.cdcalendar ,
    cdp.cd_period = temp.cdperiod,
    cdp.cd_subperiod = temp.cdsubperiod ,
    cdp.cd_gl_period = temp.cdglperiod,
    cdp.dt_start_subperiod = temp.dtstartsubperiod ,
    cdp.dt_end_subperiod = temp.dtendsubperiod
    From
    calendar_period cdp Inner Join temp
    On
    cdp.cd_calendar = temp.cdcalendar
    cdp.cd_subperiod = temp.cdsubperiod
    cdp.cd_period = temp.cdperiod ;
    End if
    end testxml;
    Kindly guide me !!!!

    Hi,
    "CREATE GLOBAL TEMPORARY TABLE" is not a PL/SQL sommand; it is a SQL command. That explain the error message you're getting.
    Normally, tables (including Global Temporary Tables) are created once for all, without using PL/SQL. After they are created, you can write PL/SQL code to populate and use them. This job doies not seem to be an exception.
    In the rare event that you do need to create a table in PL/SQL, use EXECUTE IMMEDIATE, which can do any SQL command from withiin PL/SQL.
    EXECUTE IMMEDIATE is documented in the PL/SQL manual:
    http://download.oracle.com/docs/cd/B28359_01/appdev.111/b28370/dynamic.htm#sthref857

  • Help needed in XML Publisher rtf file

    Hi,
    My RTF is like, In first Page I will get Customer details, after that in the same page I will get invoice details, You can find my RTF srtucture from fallowing.
    Customer Name               Phone Number:
    Address
    Invoice_Number     Inv_Date     Inv_Amount
    My RTF output is fine. But I have another requirement like if Invoice details are going to second page then I need to show message 'Continued' in the first page bottom right side, I need to show this before the last page.
    How can I control the number of Invoice lines per each page and how can I show that 'continued' message?
    Could you help me in this?
    Thanks in advance

    Hi,
    Thanks for your help. I tried with that solution. But after page break I have another page which is like
    If you have any queries contact us
    Yours faithfully
    Emploee Name.
    This page is cominng repeatedly after each page break.
    Suppose If I give the variable value=4 then, this last page is coming one time for each page before the Invoice lines.
    Could you help me in this?
    Thanks

Maybe you are looking for

  • How do I upgrade to Itunes 12 on my HP Windows PC.

    How do I upgrade to ITunes 12 on my MS Windows 7 PC? Presently running ITunes 9 and my ITunes does not see the IPad to synch from the PC to the IPad.

  • Can't figure how to get larger fonts in terminal

    I am new and very happy to say I've got Arch/XFCE/nfs working on network and soon to work on Samba but how in the wide wide world of sports can I get larger font on my terminal when in XFCE? Thanks in advance, Dave

  • *Toshiba Bulletin Board* How do I put pictures..??

    How do I put pictures on my Toshiba Bulletin Board? Please Help

  • Apple ID only valid for purchases in Turkish Store

    Folks, I recently decide to move USA, for starting on right food applied for a software bootcamp and accepted. Bootcamp send me some preperation material just for being ready until the course but those books send via Amazon and I need to download Kin

  • OS X Lion Video Encoder Not Working

    I don't know what the problem is. I was super excited for the video encoder that came standard with Lion because I have an Apple TV, and I figured it would make converting videos much less of a headache. I apparently thought wrong. I've been very fru