Parser for XML as output from DB..

Hi Guys,
Can some one tell me a parser which can take a query and gives the output as an XML format. And takes an XML file and puts the data into DB. pl. let me know from where i can download the parser. and if u have any sample code pl give me.
Any help would be appreciated greatly.
Thanks in advance.
Anil([email protected]).

Thanks alot Bernhard.
I got it. But now i would like to know, can i specify the XML format to be generated(DTD kind of thing)when we make a query, like the query will be getting the data of two tables say master and child. so for each record of master there can be multiple childs. at that time i dont want the master data come along with all the childs(master data duplication should not be there). let me put like this. In the master tag there can/should be multiple child tags(sub tags). can this be done using the XSU or XDK ? In the same way can we insert data into two tables at a time. its like we will be taking the data from two tables do some operations reduce some data and then insert into two tables again. can this be achieved with xml file. And i would like to know how to generate one xml for one master record(including its child records, going to be join or sub query etc..) Am i clear on to my question ? If u have any sample data on this could u give me. once again thanks alot for the url.
Any help would be appreciated greatly.
Thanks in advance.
Anil([email protected]).

Similar Messages

  • Different interfaces for purchase order output from MM system

    Dear Guru's,
    We are configuring the business scenarios of service procurement classic and Plan driven procurement with supplier enablement in the MM-SUS environment for our SRM7.01/ECC6 ehp 5 combination.
    These two scenarios are using different interfaces for purchase order output.
    The service procurement classic is using the proxy interface PurchaseOrderERPRequest_
    Out_V1 for purchase order output from ERP.
    However, the plan driven procurement uses the interface ORDERS.ORDERS02 for idoc message for purchase order output from ERP.
    Why are there two different interfaces for the same document output in two different business scenario? How the system will determine which interface needs to be used in the runtime for the purchase order output?
    Any thoughts will be highly appreciated.
    Thanks and regards,
    Ranjan

    Hi Ranjan,
    Please add the value 'CL' in the table SWF_CATIDS
    Then it will work.
    With Regards,
    Malay

  • How to get XML format output from Hyperion Financial Reporting

    Dears,
    We are using Hyperion Financial Reporting to replace FSG in fusion. I found that Hyperion FR report can be exported to html/excel/pdf format. However, I would like the report to export to xml format.It means I only need the xml data source.
    Anyone who knows how to get the xml format output from Hyperion FR, is there any avaiable API?

    I think if you export the report, you will be able to open the .des file in Notepad/Wordpad and see xml content.

  • XML parser for fatching multiple values from XML

    Hi,
    In my scenirio i have to facth multiple values from XML file and then set in to Table in webdynpro...
    Fo example my xml has values like...
    <xml>
         <item>
              <item1>
                   <quantity>
                        100
                   </quantity>
                   <price>
                        50
                   </price>
              </item1>
              <item2>
                   <quantity>
                        200
                   </quantity>
                   <price>
                        20
                   </price>
              </item2>
              <item3>
                   <quantity>
                        300
                   </quantity>
                   <price>
                        10
                   </price>
              </item3>
         </item>
    </xml>
    then i have to fcath those quantity and price and set in to table...
    How to do taht in webdynpro and does any one have parser code for retriving multiple values...

    Hi,
    1) You need to use JDOM parser.
    2) The code for parsing XML using JDOM parser is readily available if you search on google.
    3) You will have to check the attribute during every parsing and then if attribute is quantity you can fetch the corresponding tags.
    4) Something similar to this:
    org.jdom.Document document = parser.build(file);
                    org.jdom.Element rootElement = document.getRootElement();
                    org.jdom.Element childElement = rootElement.getChild("file");
                    Element xmlElement = childElement.getChild("item");
                    if (xmlElement != null) {
                        List itemElementsList = xmlElement.getChildren("item1");
                        if (itemElementsList != null) {
                            Iterator iterator3 = itemElementsList.iterator();
                            while (iterator3.hasNext()) {
                                //For each group get quantity
                                Element itemElement = (Element) iterator3.next();
                                List quantityElementsList =
                                        itemElement.getChildren("quantity");
                                if (quantityElementsList != null) {
                                    Iterator iterator2 =
                                            quantityElementsList.iterator();
                                    while (iterator2.hasNext()) {
    // Your code                                                                               
    You might need to make some changes as per your rquirement. Just use this sample to understand how you need to parse the xml
    Hope it helps.
    Regards.
    Rajat
    Edited by: Rajat Jain on Jan 22, 2009 9:51 AM

  • Custom parser for XML

    Hello forum,
    I want to put in iFS XML documents with binary content encoded in base64.
    I have created "PrintedDoc" base on "Document" with new attributes: Name, Pages, PeportName.
    I created test XML file and iFS parses it just fine.
    This is an example of XML file:
    <?xml version = '1.0' standalone = 'yes'?>
    <PrintedDoc>
    <Name> Angebot-Nr. 123 vom 12.06.2002.pdf </Name>
    <FolderPath> /printed/Angebote </FolderPath>
    <Pages> 3 </Pages>
    <Format RefType="name"> PDF </Format>
    <ReportName> Angebot </ReportName>
    <Content>AABC-+.....AABCD</Content>
    </PrintedDoc>
    Now I want to decode content back into binary format and store binary data. I have written java class for decoding. I will write a parser that decodes base64 content into binary data.
    My question: How I can register my parser for that xml document? I read about including namespace into document and registering custom XML parser, but this will give me the whole xml document as incoming data.
    I would appreciate if you share your experience or give some hints.
    TIA
    Alexandre

    Hi again,
    I'm trying to write XML pareser implementing XmlParserInterface. I have implemented parse methods and used IfsXmlParser.CreateDOM to get parsed XMLDocument.
    As far as I know, my xml parser should be instaneiated by IfsXmlParser, which in turn calls one of parse methods. The problem is that XmlParserInterface doesn't contain constructors to implement. For example, interface Parser has constructor with argument of type LibrarySession.
    How I can get current LibrarySession from my XML parser? Should I implement both interfaces Parser and XmlParserInterface?
    Thanks for any help,
    Alexandre.
    PS: are Java sources of iFS available somewhere? It would be helpful to get knowledge of how the things working. There is no documentation for creating XML parsers. I have only found about writing usual custom parsers in Developer Guide and a little in iFS API. But that is very scant. :(((

  • PL/SQL Parser for XML

    When production version of Oracle XML Parser for PL/SQL is
    available?
    and what are other XML utilities to be available for PL/SQL?
    null

    Do you have more precison about the date of the production
    version of Oracle XML Parser for PL/SQL?
    Oracle XML Team wrote:
    : We have not yet announced a production date for the PL/SQL
    : version as this just went beta and we need to get sufficient
    : feedback. Have you tried it? Other PL/SQL XML utilities can
    be
    : found at http://www.oracle.com/xml/plsxml/index.html.
    : Oracle XML Team
    : http://technet.oracle.com
    : Oracle Technology Network
    : Boris Kolodny (guest) wrote:
    : : When production version of Oracle XML Parser for PL/SQL is
    : : available?
    : : and what are other XML utilities to be available for PL/SQL?
    null

  • EBS: Email XML publisher output, from After Report Trigger in Data Template

    Here is what I'm trying to do:
    -- In EBS (11.5.10 CU2), I'm using XML publisher (5.6.2) data template and layout template to generate Output files (PDF, EXCEL etc)
    --In the Data Template's AfterReport Trigger, I'm using the Concurrent Request Id to locate the Output file name and trying to Email that output file.
    Problem:
    -- When the AfterReport trigger code is executed, the code is NOT seeing the output file and hence the file is NOT emailed.
    Observations/Questions:
    -- From what I observe, the Output Post Processor ( that generates the Excel / PDF files) is running AFTER the code in AfterReport trigger... and hence the AfterReport trigger is Not quite seeing / able to access the output file.
    So, the sequence of execution seems to be:
    -- Before Report Trigger
    -- Data Query (SQL statement)
    -- After Report Trigger
    -- Output Post Processor
    Because the AfterReport Trigger is running before the Output Post Processor, it is Not able to see the output file. Is that a True statement?
    If Yes, how else can the DataTemplate access the Output file?
    If No, what could cause the AfterReport trigger to not see the output file?

    Because the AfterReport Trigger is running before the Output Post Processor, it is Not able to see the output file. Is that a True statement?
    I believe so, as the OPP works on the output of the Report after the Report has completed execution.
    You could use the same approach as we do for bursting the report to different users. Write a Java Concurrent program based on "oracle.apps.xdo.oa.cp. XMLPReportBurst" with delivery channel Email to send the email output. You would need to add code to launch the Concurrent child request in your AfterReport Trigger:
    function AfterReport return boolean is
    jreq_id number;
    begin
    srw.message (100, 'DEBUG: AfterReport_Trigger +');
    jreq_id:= FND_REQUEST.SUBMIT_REQUEST ('XDO','XDOBURST','','',FALSE,:P_CONC_REQUEST_ID,'Y',chr(0),
    If (jreq_id=0)
    then
    srw.message (100,'Request id is zero');
    end if;

  • Output is not going to Printer Directly for XML (PDF) Output

    Hi,
    I am trying to print the AP Check Advice output directly to printer,using FND_REQUEST.set_print_options before submission of concurrent request. This was working perfectly,when report was RDF(with PDF) output. I changed it as XML with PDF output. Please help here.
    CREATE OR REPLACE PROCEDURE <NAME>(ERRBUFF OUT VARCHAR2,
    RETCODE OUT VARCHAR2,
    P_PAYMENT_BATCH IN VARCHAR2) IS
    L_REQUEST_NO NUMBER := 0;
    L_PRINTER BOOLEAN := TRUE;
    L_OUPTPUT_FORMAT VARCHAR2(100);
    XML_LAYOUT BOOLEAN;
    BEGIN
    -- Submit the request to Run the report
    L_OUPTPUT_FORMAT := 'PDF';
    XML_LAYOUT := FND_REQUEST.ADD_LAYOUT(TEMPLATE_APPL_NAME => 'SQLAP',
    TEMPLATE_CODE => 'SDAPBFAD',
    TEMPLATE_LANGUAGE => 'en',
    TEMPLATE_TERRITORY => 'IN',
    OUTPUT_FORMAT => L_OUPTPUT_FORMAT);
    IF XML_LAYOUT THEN
    IF l_printer = FND_REQUEST.set_print_options('bapr001',
    'PDF_PORT',
    1,
    TRUE,
    'N',
    'RESOLVE') then
    FND_FILE.PUT_LINE(FND_FILE.LOG, 'Printer Setup Completed');
    END IF;
    L_REQUEST_NO := FND_REQUEST.SUBMIT_REQUEST(APPLICATION => 'SQLAP',
    PROGRAM => 'SDAPBFAD',
    START_TIME => NULL,
    SUB_REQUEST => FALSE,
    ARGUMENT1 => P_PAYMENT_BATCH,
    ARGUMENT2 => FND_GLOBAL.LOCAL_CHR(0));
    END IF;
    COMMIT;
    END ;

    Payables: Version : 11.5.0
    Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
    SDAPBFAD module: SDD Format Payments (Advice Print)
    Current system time is 01-JUL-2009 11:20:31
    +-----------------------------
    | Starting concurrent program execution...
    +-----------------------------
    Arguments
    P_PAYMENT_BATCH='Quick Payment: ID=461458'
    Environment will now switch to UTF-8 code-set.
    Parts of this log file may not display correctly
    as a result. This is an expected behavior.
    XML_REPORTS_XENVIRONMENT is :
    /app/oapps/11.5.5/opm7ora2/8.0.6/guicommon6/tk60/admin/Tk2Motif_UTF8.rgb
    XENVIRONMENT is set to /app/oapps/11.5.5/opm7ora2/8.0.6/guicommon6/tk60/admin/Tk2Motif_UTF8.rgb
    Current NLS_LANG and NLS_NUMERIC_CHARACTERS Environment Variables are :
    AMERICAN_AMERICA.UTF8
    MSG-00001: After SRWINIT
    MSG-00002: After Get_Company_Name
    MSG-00003: After Get_NLS_Strings
    MSG-00004: After Get_Base_Curr_Data
    MSG-00800: Getting Payment Batch details....
    MSG-00007: After Custom_Init
    MSG-00020: After SRWEXIT
    MSG-00010: L_REQUEST_ID
    MSG-00020: Printer Setup Compeltedbapr002SDDCHECK
    MSG-00010: L_REQUEST_ID23907445
    MSG-01001: Quickcheck - deleting temporary records....
    Report Builder: Release 6.0.8.27.0 - Production on Wed Jul 1 11:20:31 2009
    (c) Copyright 1999 Oracle Corporation. All rights reserved.
    Enter Username:
    Start of log messages from FND_FILE
    End of log messages from FND_FILE
    Executing request completion options...
    ------------- 1) PUBLISH -------------
    Beginning post-processing of request 23907442 on node HOUN35 at 01-JUL-2009 11:20:42.
    Post-processing of request 23907442 completed at 01-JUL-2009 11:20:48.
    ------------- 2) PRINT   -------------
    Printing output file.
    Request ID : 23907442      
    Number of copies : 1      
    Printer : bapr001
    Finished executing request completion options.
    Concurrent request completed successfully
    Current system time is 01-JUL-2009 11:20:49
    <stdin>: The file is damaged and could not be repaired.

  • Need guide on how to design LabVIEW layout for displaying an output from Kelly Controller to control the CompactRio

    Hi guys. Do need some help here.
    My task is to design a LabVIEW design shematic to display the regeneration current drawn from the BLDC motor through Kelly Controller with an output voltage range of 0-5V. The Kelly Controller is to communicate with the CompactRio. However, I do not know how to start it and I'm kinda new to LabVIEW.
    Really appreciate any kind help and guide that can progress me ahead. Thanks.

    Hi kienyang90,
    CompactRio guide can be found in NI website via this link http://www.ni.com/pdf/products/us/fullcriodevguide.pdf 
    By reading the guide, you will get an idea on how it works.
    To connect compactRio with external module or sensor, you need an i/o module.
    for example an analog input module is this one http://sine.ni.com/nips/cds/view/p/lang/en/nid/208798
    You have to pick modules depend on what kind of output source you are going to give to the compactRio
    Hope this help
    TuiTui

  • How to prepare Block Structure data for D/A output from DIAdem

    Dear Sir:
    I'm trying to do D/A convert from DIAdem and DAQCard6062E,whereas when I located the data file to be output, and specified the channel, DIAdem gave the Error as following:
    --Error-- DIAdem
    Error from DAC simulation input file(read data file)
    The DAT file'...'must have Block Strucure!!!
    What I want to know is how to prepare or how to save my *.tdm file to a file of Block Strucure.
    Thank you very much
    jing

    Hi jing,
    i think there´s no chance to do online reading with tdm-files.
    There are two ways to solve your problem:
    1. Using the "channel simulation block" to read data out of DIAdem data cache.
    2. Store as DAT.File named in 8.3-notation using block-format.
    I don´t know the english menue-items, but all you need is in the Files.menu selection "DAT-Files".
    By the way:
    If you change the setting in the "datastorage-dialog" from "data area" to "file" for recording data, you´ll get a "playable" DAT-File.
    CU
    Martin

  • Document type definitions for xml documents exported from SBO?

    I am looking for DTD or XSD specifications for the documents that are exported from SBO via the DI API. It seems that this information is not available with the standard DI API documentation. Does anyone have a clue about where to look for these specifications ?
    Best regards,
                Henry Nordströ

    The DI Company object has a GetBusinessObjectXmlSchema method which allows you to retreive the schema details.
    Below is the sample from the DI help file.
    Dim XMLStr As String
    Dim domDoc As DOMDocument
    Set domDoc = New DOMDocument
    XMLStr = vCmp.GetBusinessObjectXmlSchema(oInvoices)
    domDoc.loadXML (XMLStr)
    domDoc.save ("C:\ XMLFiles \MyXML2.xml")
    Regards,
    John.

  • Settings for XML PO Output in SRM

    Hi All,
    I have been tasked with developing a solution to send PO's to the vendor using XML via PI. I know there is functionality in SRM to do this but do not know where to start.
    I would really appreciate any help the SRM experts can provide.
    Kind Regards
    David

    Hi Nikhil,
    I need send XML PO's to vendor's from SRM and need to identify the config settings that are required in SRM - changes to vendor data and badi used etc. We are using Extended Classic version and will only be sending items that were generatd from the catalogue. I know little about SRM but understand that I need to set the output of the vendor to send the message to PI - from here PI will convert this into an XML document and then forward this to the vendor. Do you have any links where I can find out more about the settings to be made in SRM?
    Kind Regards
    David

  • Parser for XML

    Hi you all,
    I would just like to hear from you, what parser do you usually use to work with XML.
    JAXP or JDOM.
    THere so many choices...
    Many Thanks,
    MeTitus

    `hi
    DOM is mainly used if we have to build or alter the xml docs and sax if we have to only read the xml docs
    DOM is mainly prefered in the real world
    hope this helps

  • SAX Parser For XML

    Hello all,
    I am trying Parsing XML thorugh SAX. Were to get SJXP.jar and parser.jar files on sun site
    if any body have these files plz mail :[email protected]

    String buf = (new String(ch, start, length)).trim();
    if (thisElement != "root"){   
    if ((buf.length() == 0) && (thisElement !="") ){
    It run ok!
    Thanks 58871!
    Now, i want to export oracle table to xml file like :
    <?xml version="1.0" encoding="UTF-8"?>
    <root>
    <emp>
    <ename>aaa</ename>
    <sal>3000</sal>
    </emp>
    <emp>
    <ename>bbb</ename>
    <sal>5000</sal>
    </emp>
    </root>
    Can SAX export to xml format?
    Pham Thanh Tung

  • PLSQL parser for XML

    What is wrong with this?
    declare
    n xmlparser.DOMNode;
    n1 xmlparser.DOMNode;
    n2 xmlparser.DOMNode;
    e xmlparser.DOMElement;
    begin
    e := xmlparser.createElement (document,'TEST_ELEMENT');
    n1 := xmlparser.makeNode(e);
    n2 := xmlparser.appendChild(n,xmlparser.makeNode(e));
    creates a empty node
    <Location>
    <Country>US
    <TEST_ELEMENT/>
    </Country>
    </Location>
    Question : How can I create a Text Node under <TEST_ELEMENT>,
    example
    <TEST_ELEMENT>Test element comment node
    </TEST_ELEMENT>
    Thanks for your help.
    null

    sk (guest) wrote:
    : What is wrong with this?
    : declare
    : n xmlparser.DOMNode;
    : n1 xmlparser.DOMNode;
    : n2 xmlparser.DOMNode;
    : e xmlparser.DOMElement;
    : begin
    : e := xmlparser.createElement (document,'TEST_ELEMENT');
    : n1 := xmlparser.makeNode(e);
    : n2 := xmlparser.appendChild(n,xmlparser.makeNode(e));
    : creates a empty node
    : <Location>
    : <Country>US
    : <TEST_ELEMENT/>
    : </Country>
    : </Location>
    : Question : How can I create a Text Node under <TEST_ELEMENT>,
    : example
    : <TEST_ELEMENT>Test element comment node
    : </TEST_ELEMENT>
    : Thanks for your help.
    Use the createTextNode method to create a new text node. Then
    convert the DOMElement to a DOMNode using makeNode. Now, you can
    use appendChild to append the text node to the DOMElement.
    Oracle XML Team
    http://technet.oracle.com
    Oracle Technology Network
    null

Maybe you are looking for

  • Deleteing files on an external hard disk with finder

    lately i have been having problems deleting files on external hdd with finder cos the file doesn't appear to be deleted, it deletes them into the ext. hdd pls how do i make finder delete the files permanetely from the drive?

  • Problem installing windows XP in bootcamp

    http://img201.imageshack.us/img201/9862/screenshot20101105at125.png I think i tried to make a partition before, and it worked, But then i quitted bootcamp (it never installed xp becaouse i didnt want to when it was done to create the partition) ... H

  • Undo-function not works :-(

    I've just lost a few hours of work with FCPX, because the undo-Fuktion was suddenly not available anymore, what reason ever... So I had to close FCPX (what I had to allready 5 times this morning, because FCPX got stucked) and when I reopened it, all

  • What's the maximum RAM my Macbook Pro can support?

    According to Apple's website, my Mac (MacBook Pro, 13-inch, late 2011) can support up to 8 GB of RAM (two cards of 4 GB each) as a max. Yet, in other websites (like Kingston's) and questions in Apple's Support Communities site itself I've seen that i

  • Can I connect a single fp-1001 to two fp-1000's each on seperate cpu's?

    Is it possible to poll a single FP1001 from two computers using an FP1000 on each of the computers?