Document on XML support in Oracle 8i

Hi.
I am looking for a brief document about Oracle 8i's support of XML. I am
aware of the whole book on XML under Online Documentation, but want a
more concise one. Could anyone help?
Regards,
Rahul

You can refer to Oracle XML Handbook (Book/CD-ROM package)
by Ben Chang, Mark Scardina, K. Karun, Stefan Kiritzov, Ian Macky, Niranjan Ramakrishnan

Similar Messages

  • XML support in Oracle 8i

    Hi,
    I have a requirement of storing XML documents in the Oracle
    database. As Oracle claims support for XML in Oracle 8i, I would
    be thankful if the following questions could be answered.
    There will be around 15000 or more XML documents generated
    annually, each of around 200 pages . Various views of the same
    XML instance will be shown to different customers depending on
    their preferences. All views will be generated dynamically and
    the results will be sent as HTML pages to the client or XML
    instances which will then be manipulated and shown as required
    on the clients machine.
    Please bear with me in case a few questions are naive
    Questions :
    1) Does Oracle 8i propose to have XML as a new datatype
    2) Does a document descriptor mean the mapping of the XML
    elements to certain columns in an Oracle table? Does it have
    anything to do with the DTD? Will an XML instance be mapped to a
    single table only or across multiple tables in a master-detail
    relationship as the heirarchy in the instance gets too complex ?
    3) How will the ConText cartridge be able to identify XML
    documents? How will the queries be written to enable 'element-
    level' searching?
    4)What is iFS , especially in relation to XML storage?
    Regards,
    Kedar‰
    null

    Kedar Sadekar (guest) wrote:
    : 1) Does Oracle 8i propose to have XML as a new datatype
    Not at this time.
    : 2) Does a document descriptor mean the mapping of the XML
    : elements to certain columns in an Oracle table? Does it have
    : anything to do with the DTD? Will an XML instance be mapped to
    :a single table only or across multiple tables in a master-detail
    : relationship as the heirarchy in the instance gets too complex?
    A Document Descriptor is basicly a mapping between a DTD and the
    tables and columns in the RDBMS. More that one table can be
    mapped to.
    : 3) How will the ConText cartridge be able to identify XML
    : documents? How will the queries be written to enable 'element-
    : level' searching?
    Context, now interMedia Text, does not 'identify' XML documents
    per se, but can index colums with imbedded XML and search the
    contents between specified tags.
    : 4)What is iFS , especially in relation to XML storage?
    Check out http://www.oracle.com/xml/documents/xml_twp/ for a
    complete description.
    Oracle XML Team
    http://technet.oracle.com
    Oracle Technology Network
    null

  • Unable to transform EDI document to XML payload in Oracle B2B inbound op

    Hi,
    In our current project we would be implementing Oracle B2B.So I am doing simple POC on Oracle B2B inbound operation for a EDI document for a project requirement.Facing issue if Transformation option selected in Oracle B2B console. Would really appreciate if you guys give me some pointer..
    Below is short desacription of POC:
    1) Created ECS file for Purchase Order(EDI_X12 Standard, 850, Version : 4010) in Spec Builder 6.6.0
    2) Created corresponding XSD and dummy test EDI data file(.dat) in Spec Builder 6.6.0
    3) In Oracle B2B Console, created Document Type and Document Definition
    4) Created 2 Trading Partners : Our Organisation(Host) and MyPartner(Remote)
    5) My Partner is Sender and Our Organisation is Receiver
    6) Linked Document Type to both Trading Partners
    7) Created a Listening Channel
    8) Protocol of Listening Channel is Generic File
    9) Mentioned Folder Path and File Type : %From PARTY%_%TO PARTY%_%DOCUMENT TYPE NAME_%DOCUMENT REVISION%.dat
    10) Agrrement validated and deployed
    11)Checked option Transformation for Agreement
    12) In SOA Composite created a simple Asynchronous BPEL process
    13) BPEL process using a B2B Adapter is subscribed to Document Type(Purchase Order) operatioon Receive and Mode Default
    14) Using a simple Assiign activity to map payload
    15) BPEL then inoke a File Adapter service to write sme XML payload(picked from B2B fatre EDI transformed to XML) to a file
    Issue Faced:
    1) B2B could make oput Sender and Receiver Trading Partners
    2) B2B could make out the Agrrement
    3) B2B is picking up EDI file
    4) If Agreemnet has Transformation option selected, then B2B is givinng below Error:
    [oracle.soa.b2b.engine] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@182461f] [userId: <anonymous>] [ecid: 0000JILzvC2E0Va_xLp2iW1EzqZ_0000pg,0] [APP: soa-infra] [dcid: 162dbcacafdb4641:19e705e4:13495b34174:-7fd3-0000000000000070] java.lang.UnsatisfiedLinkError: com.edifecs.xengine.xeobjects.XEHelper.createN2XNative()Lcom/edifecs/xengine/xeobjects/XEDataProc
    at com.edifecs.xengine.xeobjects.XEHelper.createN2XNative(Native Method)
    5) It is unable to transfer EDI payload to XML
    6) Checked payload in Wire Message : still showing EDI payload
    7) Due to this BPEL is facing issue since it is expecting XML payload
    8) In BPEL it is givimng Error: Index Out Of bound.. I guess may be due to EDI payload
    9) If transformation option unchecked in Agreement in B2B console then B2B working good but BPEl failing
    Options Tried:
    1) I Exported Repository,then purged design time data and Reimported and restarted Server and tested..not working
    2) I also created a Parser Scehma for Blank EDI document(that option I found in Spec Builder 6.6.0==>New Document-->Parser Schema(Blank EDI Document) and then placed that Parser Schema file(ECS file) in folder :
    C:\Oracle\Middleware\Weblogic\Oracle_SOA1\soa\thirdparty\edifecs\XEngine\config\schema
    and added an entry in XERegistry.xml
    <Item Name="SchemaFile">${XERoot}/config/schema/Spec2</Item>
    but not working..
    3) Checked namespace in XSd and WSDl for BPEL,they are correct
    Getting no clue how to resolve..Need help...
    Thank you...

    Log File :(Weblogic JDK pointing to 32 bit)
    [2012-01-01T01:32:01.818+05:30] [AdminServer] [ERROR] [] [oracle.soa.b2b.engine] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@182461f] [userId: <anonymous>] [ecid: 0000JILhj4XE0Va_xLp2iW1EzqZ_00002J,0] [APP: soa-infra] [dcid: 162dbcacafdb4641:19e705e4:13495b34174:-7fd3-0000000000000070] java.lang.UnsatisfiedLinkError: com.edifecs.xengine.xeobjects.XEHelper.createN2XNative()Lcom/edifecs/xengine/xeobjects/XEDataProc;[[
         at com.edifecs.xengine.xeobjects.XEHelper.createN2XNative(Native Method)
         at com.edifecs.xengine.xeobjects.XEHelper.createN2X(Unknown Source)
         at oracle.tip.b2b.document.edi.EDIDocumentPlugin.processIncomingDocument(EDIDocumentPlugin.java:1112)
    java.lang.UnsatisfiedLinkError: com.edifecs.xengine.xeobjects.XEHelper.createN2XNative()Lcom/edifecs/xengine/xeobjects/XEDataProc;
         at com.edifecs.xengine.xeobjects.XEHelper.createN2XNative(Native Method)
         at com.edifecs.xengine.xeobjects.XEHelper.createN2X(Unknown Source)
         at oracle.tip.b2b.document.edi.EDIDocumentPlugin.processIncomingDocument(EDIDocumentPlugin.java:1112)
         at oracle.tip.b2b.engine.Engine.processIncomingMessageImpl(Engine.java:2348)
         at oracle.tip.b2b.engine.Engine.processIncomingMessage(Engine.java:1533)
    [2012-01-01T01:32:01.834+05:30] [AdminServer] [ERROR] [] [oracle.soa.b2b.engine] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@182461f] [userId: <anonymous>] [ecid: 0000JILhj4XE0Va_xLp2iW1EzqZ_00002J,0] [APP: soa-infra] [dcid: 162dbcacafdb4641:19e705e4:13495b34174:-7fd3-0000000000000070] java.lang.IndexOutOfBoundsException: Index: 0, Size: 0[[
         at java.util.ArrayList.RangeCheck(ArrayList.java:547)
         at java.util.ArrayList.get(ArrayList.java:322)
         at oracle.tip.b2b.engine.Engine.processIncomingMessageImpl(Engine.java:2746)
         at oracle.tip.b2b.engine.Engine.processIncomingMessage(Engine.java:1533)
    [2012-01-01T01:32:01.846+05:30]
    ]]

  • XML Parsing in Java Stored Proc--Oracle XML Support Installation?

    I am working with a third party product that is having difficulty running a java stored proc that is parsing a supplied XML file. The proc basically looks like:
    import java.io.IOException;
    import javax.xml.parsers.DocumentBuilder;
    import javax.xml.parsers.DocumentBuilderFactory;
    import javax.xml.parsers.FactoryConfigurationError;
    import javax.xml.parsers.ParserConfigurationException;
    import org.w3c.dom.Document;
    import org.xml.sax.SAXException;
    InputStream is = getXMLAsInputStream(xml);
    try {
    DocumentBuilderFactory factory =
    DocumentBuilderFactory.newInstance();
    DocumentBuilder builder = factory.newDocumentBuilder();
    Document document = builder.parse( is );
    ... parse the document ....
    catch (FactoryConfigurationError e) {
    // unable to get a document builder factory
    We are running on 9.2.0.6, HP-UX 64-bit. At first, when we would attempt to run the proc, a database hang would occur; now after attempting to install using loadjava jars for xerces2.6: ORA-29532: Java call terminated by uncaught Java exception:
    javax.xml.parsers.FactoryConfigurationError: Provider
    org.apache.xerces.jaxp.DocumentBuilderFactoryImpl not found)
    The vendor says that the errors we are getting when running are not due to any dependency on xerces or jre1.4, and that we need to "install Oracle XML support", but I'm not certain what this means (I cannot find any documentation on what to install). I believe that there are jars that need to be loaded into the database to support the XML parsing, as jre1.3 does not include built-in XML support, and Oracle 9.2.0.6 uses jre1.3.
    So...does anyone have any thoughts as to how to resolve the missing references? Is there a way to "install Oracle XML support", or is it to install the necessary jars?
    Thanks,
    Candi

    Candi,
    The following resources should be of help:
    Oracle9i Database Release 2 (9.2) Documentation Library
    In particular, check out the following:
    Java Developer's Guide
    Java Stored Procedures Developer's Guide
    XML API Reference - XDK and Oracle XML DB
    XML Database Developer's Guide - Oracle XML DB
    XML Developer's Kits Guide - XDK
    If that doesn't help, then try the following:
    OracleJVM and Java Stored Procedures
    XML Technology Center
    Good Luck,
    Avi.

  • Details on TAF support in Oracle AS 10g

    Hi experts,
    I'm currently writing a Master's Thesis on High Availability of Applications based on Sun’s JEE platform.
    With Oracle being one of the big players in this market I'm going to investigate the features of the Oracle product stack and compare it with other solutions including opensource.
    At the moment I'm looking for details on TAF-support in Oracle AS 10g. Let’s assume one has installed the latest release of the Oracle 10g database in a RAC configuration on two or more physical nodes to store the applications data. Let’s further assume one has set up the latest release of the Oracle AS 10g on different hosts building an AS farm with clustered OC4J-instances. Now one would like to connect a JEE application running within these OC4J-instances to the RAC database.
    Therefore one can configure an OC4J datasource to use a service definition supporting network failover and transparent application failover (TAF) specified in the tnsnames.ora on the AS hosts or directly describe the service in the data-sources.xml. To my knowledge only datasources configured to use the OCI client can be used with TAF. Everything right so far?
    Now the interesting part. The best what TAF can do is automatically reconnect to the next known database node if it’s current node is not reachable or fails, and continue processing an open cursor for select so that the application can continue to use it’s current connection.
    If the application is running a database transaction it can only be rolled back and rerun after failover.
    In a good old plain Java application one had to implement the OracleOCIFailover interface and register a callback with the db connection in order to receive failover events. Therefore you need to process the query in a different thread.
    In a JEE server only the container should be responsible for creating threads, or? How does the Oracle AS support TAF? How can a user application get notice of a failover and react appropriately. Is the behaviour always the same no matter one decides to implement the data access via simple DAOs or entity beans (CMP/BMP)? I assume it is safe to use a connection pool and container will take care of the necessary cleanup jobs, right? Will the complete connection pool be reconstructed or only connections to the failed node?
    Does the application server internally use these OCI callbacks and wrap them up into special Exceptions? Is there anything an application programmer has to do in order to make his data access code ready for TAF, especially in case of failover while the db is processing transactional code?
    Any insights and/or code snippets would be greatly appreciated!
    Ah, one last question. From a HA perspective is it generally a bad idea to put application logic into the database (use CDM RuleFrame and so on) as there is no support in preserving package states or do you think this makes no difference as one has always to repeat everything since the last commit point no matter in which tier the code resides?
    During the next days I’m going to set up the above environment for testing. A 10.0.2.1 RAC on RHE4 is already up and running fine. AS 10.1.3.0.0 on RHE4 is following today or tomorrow.
    Many thanks for all answers!
    Regards,
    Eric

    Hi,
    well, I thought I could dig into the OC4J documentation before installing the server. After reading the OC4J Service Guide for 10.1.2 and 10.1.3 I'm a little bit confused.
    First I read the 10.1.2 Service Guide and almost everything seemed to be clear. I found a lot of answers to the questions above. I'd like to sum them up. Please correct me if I got something wrong!
    - TAF only works on top of OCI driver
    - TAF can be used with connection pooling
    - OC4J takes care of connection pool cleanup (OC4J and OCI Pool)
    These two pools are mentioned. It's not clear to me how they work together. Do one of you know some source where I can get more information about this?
    - after a failover all connections in the pool are checked by OC4J and only alive ones will survive
    - in case of a failover TAF issues an exception
    - the application has to catch this exception and acknowledge with a rollback, after that the transaction can be restarted (this seems to be the responsibility of the applications code, oc4j will not replay something automatically; If I got it right, CMP entity beans will be an exception to this rule - there OC4J will proceed transparently...)
    - the application can use OCI callbacks to customize the failover behavior (well I would like to see some source code example here, as I can't imagine how this could look like)
    After that I read the 10.1.3 service guide. The section about datasources in conjunction with HA is much shorter. Besides TAF new? mechanism is introduced, namely Fast Connection Failover (FCF). There is not much information about it but references to the JDBC Guide, because FCF is a feature of the implicit JDBC connection cache. Where cache seems to be just another word for pool.
    By the way, the example on p. 4-36 looks wrong at first glance. Enabling FCF and setting:
    <property name="fastConnectionFailoverEnabled" value="false"/> ???
    Seems to be a typo in the docu, or?
    I got the impression, that the text is written as if FCF being TAF's successor, without explicitly saying this. Is this right?
    So I proceeded reading the JDBC Developer Guide to lean more about FCF. Here is what I learned:
    - since 10g available
    - FCF is driver independend (you can also use the thin driver)
    - prerequisites are implicit connection cache (pool) enabled, ONS must be configured
    - in case of a failover the transcation will be rolled back automatically (not by the application); whereas using TAF you have to use a rollback to acknowledge the error
    - only one exception ORA-17008 to catch
    - application has to obtain a new connection from the cache (pool), where as using TAF the old connection object can be used, and resend the transaction (same as with TAF)
    So when to use what? The comparison on p. 27-8 was not very helpful to find an answer to this question.
    On p. 28-1 one can read that TAF does not work with the OCI Connection Pool. That's seems to be contradictory to the statement in Service Guide of 10.1.2 that OC4J takes care of both pools (OC4J and OCI). Or has something changed in 10.1.3 in that regard? May be this is because of the changes in Cache or Pool Management?
    What is the advantage of using TAF within OC4J in 10g, if there is any?
    What about select statements with FCF? You can only read about transactions. I'd assume the application would get the same exception executing a query (ORA-17008) as executing a transaction, right? So TAF should have the advantage of transparently proceeding selects after a failover. Am I right?
    I'd love to see more examples and comparisons of TAF and FCF.
    Regards,
    Eric

  • XML Datatypes in Oracle 9i

    My database architect would like to leverage the XML datatype support that is new in Oracle 9i. How can I configure TopLink to directly map object attributes to elements in an XML structure that is stored in an XML-type column?

    Marc,
    Yes. It is possible to map XMLType columns into your object model. It is accomplished using a direct-to-field mapping where the database column is an XMLType and the object model's attribute is a Document or String. In 9.0.3 of Oracle9iAS TopLink you must include the xdb.jar on your classpath, customize your configuration with an extended ConversionManager, and use a DescriptorEventListener.
    ConversionManager: Subclass the provided one and provide a conversion from XMLType to either the underlying DOM Document or XML representation of the string.
    DescriptorEventListener: Implement and register an event listener that will provide aboutToInsert and aboutToUpdate events for the class you are mapping the XML into. In these events you'll need to make use of the provided JDBC connection to convert the Document or String back into an XMLType object. (NOTE: If using Strings I believe you must use Oracle's XML parser to re-build the Document)
    A more detail technical tip will be availble soon and will be available through TopLink's OTN page (http://otn.oracle.com/products/ias/toplink/).
    Doug Clarke
    Product Manager
    Oracle9iAS TopLink

  • HOW TO: Use the XML parser in Oracle 8.1.7

    I am trying to figure out how to use the xml parser provided in oracle 8.1.7. all i want to do is parse a xml report that is defined using a schema, and place the data into the proper tables. i am totally unfamiliar with the xml parser and how it works. i have done some reading on the subject, but seem to be getting some conflicting infromation about which utilites i need and how to invoke them. can someone please tell me what utilities i need, how to invoke them, and what i need to do to get a xml document to parse and insert to a table? I would greatly appreciate any help anybody could offer. thanks.

    You can parse the XML Document with XML Parser and place the data into database using XSU(XML SQL Utility).
    Both of these are included in XDK for Java at:
    http://otn.oracle.com/tech/xml/xdk_java
    The following document could also help:
    Oracle9i XML Developer's Guide--XDK [PDF] at http://otn.oracle.com/tech/xml/doc.html

  • Org.xml.sax.SAXException: oracle.AWXML.Index

    i got the following error when i try to create an analytic workspace from a template file, in Analytic workspace manager 10g.
    Unable to create Analytic Workspace From file c:\...\global.xml
    org.xml.sax.SAXException: oracle.AWXML.Index
    at oracle.AWXML.AWHandlerBase.startElement(AWHandlerBase.java:123)
    at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1224)
    at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:311)
    at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:278)
    at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:294)
    at oracle.olap.awm.dataobject.modeler.ModelDO.readBaseObjectFromFile(ModelDO.java:744)
    at oracle.olap.awm.navigator.node.WorkspaceNode$1.construct(WorkspaceNode.java:1084)
    at oracle.olap.awm.ui.SwingWorker$2.run(SwingWorker.java:109)
    at java.lang.Thread.run(Unknown Source)
    this is available in this site under the heading
    "downloading and installing the second global schema for documentation"
    in global_doc.zip file.
    very urgent please..

    If you have not specified an external WSDL file in your webservice where the arguments (with their types are defined) then you cannot use the type="any" in your webservice arguments.
    If you want to use an external WSDL and define the argument types there you can do this by adding wsdlfile="nameOfExternal.wsdl" style="document" to your cfcomponent tag.

  • Data Load from XML file to Oracle Table

    Hi,
    I am trying to load data from XML file to Oracle table using DBMS_XMLStore utility.I have performed the prerequisites like creating the directory from APPS user, grant read/write to directory, placing the data file on folder on apps tier, created a procedure ‘insertXML’ to load the data based on metalink note (Note ID: 396573.1 How to Insert XML by passing a file Instead of using Embedded XML). I am running the procedure thru below anonymous block  to insert the data in the table.
    Anonymous block
    declare
      begin
      insertXML('XMLDIR', 'results.xml', 'employee_results');
      end;
    I am getting below error after running the anonymous block.
    Error :     ORA-22288: file or LOB operation FILEOPEN failed”
    Cause :   The operation attempted on the file or LOB failed.
    Action:   See the next error message in the error stack for more detailed
               information.  Also, verify that the file or LOB exists and that
               the necessary privileges are set for the specified operation. If
               the error still persists, report the error to the DBA.
    I searched this error on metalink and found DOC ID 1556652.1 . I Ran the script provided in the document. PFA the script.
    Also, attaching a document that list down the steps that I have followed.
    Please check and let me know if I am missing something in the process. Please help to get this resolve.
    Regards,
    Sankalp

    Thanks Bashar for your prompt response.
    I ran the insert statement but encountered error,below are the error details. statement.
    Error report -
    SQL Error: ORA-22288: file or LOB operation FILEOPEN failed
    No such file or directory
    ORA-06512: at "SYS.XMLTYPE", line 296
    ORA-06512: at line 1
    22288. 00000 -  "file or LOB operation %s failed\n%s"
    *Cause:    The operation attempted on the file or LOB failed.
    *Action:   See the next error message in the error stack for more detailed
               information.  Also, verify that the file or LOB exists and that
               the necessary privileges are set for the specified operation. If
               the error still persists, report the error to the DBA.
    INSERT statement I ran
    INSERT INTO employee_results (USERNAME,FIRSTNAME,LASTNAME,STATUS)
        SELECT *
        FROM XMLTABLE('/Results/Users/User'
               PASSING XMLTYPE(BFILENAME('XMLDIR', 'results.xml'),
               NLS_CHARSET_ID('CHAR_CS'))
               COLUMNS USERNAME  NUMBER(4)    PATH 'USERNAME',
                       FIRSTNAME  VARCHAR2(10) PATH 'FIRSTNAME',
                       LASTNAME    NUMBER(7,2)  PATH 'LASTNAME',
                       STATUS  VARCHAR2(14) PATH 'STATUS'
    Regards,
    Sankalp

  • Best method to load XML data into Oracle

    Hi,
    I have to load XML data into Oracle tables. I tried using different options and have run into a dead end in each of those. I do not have knowledge of java and hence have restricted myself to PL/SQL solutions. I tried the following options.
    1. Using DBMS_XMLSave package : Expects the ROWSET and ROW tags. Connot change format of the incoming XML file (Gives error oracle.xml.sql.OracleXMLSQLException: Start of root element expected).
    2. Using the XMLPARSER and XMLDOM PL/SQL APIs : Works fine for small files. Run into memory problems for large files (Gives error java.lang.OutOfMemoryError). Have tried increasing the JAVA_POOL_SIZE but does not work. I am not sure whether I am changing the correct parameter.
    I have read that the SAX API does not hog memory resources since it does not build the entire DOM tree structure. But the problem is that it does not have a PL/SQL implementation.
    Can anyone PLEASE guide me in the right direction, as to the best way to achieve this through PL/SQL ??? I have not designed the tables so am flexible on using purely relational or object-relational design. Although would prefer to keep a purely relational design. (Had tried used object-relational for 1. and purely relational for 2. above)
    The XML files are in the following format, (EXAMINEEs with single DEMOGRAPHIC and multiple TESTs)
    <?xml version="1.0"?>
    <Root_Element>
    <Examinee>
    <MACode>A</MACode>
    <TestingJID>TN</TestingJID>
    <ExamineeID>100001</ExamineeID>
    <CreateDate>20020221</CreateDate>
    <Demographic>
    <InfoDate>20020221</InfoDate>
    <FirstTime>1</FirstTime>
    <LastName>JANE</LastName>
    <FirstName>DOE</FirstName>
    <MiddleInitial>C</MiddleInitial>
    <LithoNumber>73</LithoNumber>
    <StreetAddress>SomeAddress</StreetAddress>
    <City>SomeCity</City>
    <StateCode>TN</StateCode>
    <ZipCode>37000</ZipCode>
    <PassStatus>1</PassStatus>
    </Demographic>
    <Test>
    <TestDate>20020221</TestDate>
    <TestNbr>1</TestNbr>
    <SrlNbr>13773784</SrlNbr>
    </Test>
    <Test>
    <TestDate>20020221</TestDate>
    <TestNbr>2</TestNbr>
    <SrlNbr>13773784</SrlNbr>
    </Test>
    </Examinee>
    </Root_Element>
    Thanks for the help.

    Please refer to the XSU(XML SQL Utility) or TransX Utility(for Multi-language Document) if you want to load data in XML format into database.
    Both of them require special XML formats, please first refer to the following docs:
    http://otn.oracle.com/docs/tech/xml/xdk_java/doc_library/Production9i/doc/java/xsu/xsu_userguide.html
    http://otn.oracle.com/docs/tech/xml/xdk_java/doc_library/Production9i/doc/java/transx/readme.html
    You can use XSLT to transform your document to the required format.
    If you document is large, you can use SAX method to insert data into database. But you need to write the code.
    The following sample may be useful:
    http://otn.oracle.com/tech/xml/xdk_sample/xdksample_040602i.html

  • Help In XML schema using  oracle 10g

    i want to give seminar in XML schema using oracle 10g. n i m very new in this topic. so help me out which topic i include & any document regarding this

    XML Schema has various aspects.
    1. Creating an XML Schema, which may be done in JDeveloper.
    2. Initializing an XML document from an XML Schema, which may also be done in JDeveloper.
    For creating and initializing an XML Schema please refer
    http://www.regdeveloper.co.uk/2007/10/01/build_xml_schema_jdeveloper/
    3. Validating an XML document with an XML Schema.
    http://www.oracle.com/technology/pub/articles/vohra_xmlschema.html

  • XML parsing in Oracle 11g

    Hello all,
    I'm using the below database.
    Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    PL/SQL Release 11.2.0.3.0 - Production
    CORE 11.2.0.3.0 Production
    TNS for Linux: Version 11.2.0.3.0 - Production
    NLSRTL Version 11.2.0.3.0 - Production
    I have a XML and I have to parse this and I need to store it in table.
    Please give solution to parse.
    <?xml version="1.0" encoding="UTF-8"?>
    <data>
    <passengerinformation>
      <passengerno>0001</passengerno>
      <title>Mr</title>
      <firstname>Test First Name</firstname>
      <familyname>family name</familyname>
      <email>[email protected]</email>
      <country>India</country>
      <contacttype>Mobile : +91 465465487979</contacttype>
    </passengerinformation>
    <bookinginformation>
      <bookingreferencenumber>FA45454</bookingreferencenumber>
      <vehicleno>AW123</vehicleno>
      <origin>Chennai</origin>
      <destination>Delhi</destination>
      <departuredate>24 Jun 13</departuredate>
      <classoftravel>Sleeper</classoftravel>
      <complaintcategory>baggagedelivery</complaintcategory>
      <comments>Test</comments>
    </bookinginformation>
    <bookinginformation>
      <bookingreferencenumber>ER12345</bookingreferencenumber>
      <vehicleno>AW124</vehicleno>
      <origin>Chennai</origin>
      <destination>Noida</destination>
      <departuredate>24 May 13</departuredate>
      <classoftravel>Sleeper</classoftravel>
      <complaintcategory>baggagedelivery</complaintcategory>
      <comments>Test</comments>
    </bookinginformation>
    <bookinginformation>
      <bookingreferencenumber>FA45454</bookingreferencenumber>
      <vehicleno>AW125</vehicleno>
      <origin>Chennai</origin>
      <destination>Mumbai</destination>
      <departuredate>24 Jul 13</departuredate>
      <classoftravel>Sleeper</classoftravel>
      <complaintcategory>baggagedelivery</complaintcategory>
      <comments>Test</comments>
    </bookinginformation>
    <bookinginformation>
      <bookingreferencenumber>FA45454</bookingreferencenumber>
      <vehicleno>AW126</vehicleno>
      <origin>Chennai</origin>
      <destination>Hyd</destination>
      <departuredate>24 Aug 13</departuredate>
      <classoftravel>Sleeper</classoftravel>
      <complaintcategory>baggagedelivery</complaintcategory>
      <comments>Test</comments>
    </bookinginformation>
    </data>

    To give you a starting point
    with xmldata as (
    select xmlparse (document
    '<?xml version="1.0" encoding="UTF-8"?>
    <data>
    <passengerinformation>
      <passengerno>0001</passengerno>
      <title>Mr</title>
      <firstname>Test First Name</firstname>
      <familyname>family name</familyname>
      <email>[email protected]</email>
      <country>India</country>
      <contacttype>Mobile : +91 465465487979</contacttype>
    </passengerinformation>
    <bookinginformation>
      <bookingreferencenumber>FA45454</bookingreferencenumber>
      <vehicleno>AW123</vehicleno>
      <origin>Chennai</origin>
      <destination>Delhi</destination>
      <departuredate>24 Jun 13</departuredate>
      <classoftravel>Sleeper</classoftravel>
      <complaintcategory>baggagedelivery</complaintcategory>
      <comments>Test</comments>
    </bookinginformation>
    <bookinginformation>
      <bookingreferencenumber>ER12345</bookingreferencenumber>
      <vehicleno>AW124</vehicleno>
      <origin>Chennai</origin>
      <destination>Noida</destination>
      <departuredate>24 May 13</departuredate>
      <classoftravel>Sleeper</classoftravel>
      <complaintcategory>baggagedelivery</complaintcategory>
      <comments>Test</comments>
    </bookinginformation>
    <bookinginformation>
      <bookingreferencenumber>FA45454</bookingreferencenumber>
      <vehicleno>AW125</vehicleno>
      <origin>Chennai</origin>
      <destination>Mumbai</destination>
      <departuredate>24 Jul 13</departuredate>
      <classoftravel>Sleeper</classoftravel>
      <complaintcategory>baggagedelivery</complaintcategory>
      <comments>Test</comments>
    </bookinginformation>
    <bookinginformation>
      <bookingreferencenumber>FA45454</bookingreferencenumber>
      <vehicleno>AW126</vehicleno>
      <origin>Chennai</origin>
      <destination>Hyd</destination>
      <departuredate>24 Aug 13</departuredate>
      <classoftravel>Sleeper</classoftravel>
      <complaintcategory>baggagedelivery</complaintcategory>
      <comments>Test</comments>
    </bookinginformation>
    </data>') x from dual)
    select
    passengerno
    from xmldata, xmltable( '/data/passengerinformation' passing xmldata.x
    columns
      passengerno varchar2(30) path 'passengerno'
    PASSENGERNO
    0001

  • XML DB in Oracle DB Express Edition?

    Hi,
    Can anyone tell if XML DB is available in Oracle 11g R2 Express edition?
    Thanks in advance,
    Divya

    Please avoid duplicating (cross posting) threads.
    Search the forum or see Licensing Information, to find that XML support is available, except for parts of it that depends on Java VM, which is not included.
    http://docs.oracle.com/cd/E17781_01/license.112/e18068/toc.htm#BABJBGGA
    Also, the EPG that Apex uses, is based on XML DB functionality, so it's obvious that (at least parts of) it is there.

  • XML support in SAP 4.6

    Hi all !
    I'm looking for information about XML support in SAP 4.6c.
    I have to implement a data exchange mechanism between SAP and web application written in Java. Whole idea looks simple: Java application send an XML document through RFC and ABAP program should parse this document. When document is parsed, program performs an action and receives single or multiple objects. Those objects have to be converted to XML and sent back to Java app.
    Is there any XML parser available in 4.6C. Is there any mechanism which serialize/deserialize ABAP Objects to/from XML.
    Thank you for any help and hints.
    Tomek

    Hi again !
    I need to convert an OBJECT INSTANCE. e.g.
    CLASS student DEFINITION.
    PUBLIC SECTION.
    METHODS:constructor
    IMPORTING
    i_name TYPE c
    i_indeks TYPE n,
    introduce_yourself
    EXPORTING
    e_name TYPE c.
    PRIVATE SECTION.
    DATA: name(30) TYPE c,
    indeks(10) TYPE n.
    ocena LIKE ys_ocena,
    tabela_ocen TYPE TABLE OF ys_ocena.
    ENDCLASS.
    I have to convert a single INSTANCE of this class to XML and send it as a XML stream (or XML formated content in internal table) in return value of function module called through RFC.
    As you can see - this class contains some variables and an internal table. For me, a best solution would be to provide this class instance as a parameter and get a XML formated data.
    I have a SAP system and Web Application written in Java. Comunications between them is provided by RFC (JCo). SAP application and Web Application communicate by exchanging a XML documents. Since, SAP part is using Abap Objects - i have to convert object to/from XML.
    Thanks for all your help.
    Tomek

  • Using "XML Document from XML Schema" in JDeveloper

    Hi Experts,
    I have a requirement to generate XML Document from XML Schema.
    For this I have used "XML Document from XML Schema" feature in JDeveloper. It is found in File->New->General->XML Document form XML Schema.
    I have registered a schema with jdev and got an XML document output for that successfully.
    Now, I want to implement this feature in my code for generating XML documents when XSD files are provided.
    Can any one please provide me with pointers to do that? I am sure there should be some libraries which can implement this feature.
    Thanks,
    Dilbagh

    Create an XML document from a Schema with the Oracle SchemaClassGenerator.
    import oracle.xml.classgen.SchemaClassGenerator;
    XMLSchema schema=new XMLSchema();
    XSDBuilder builder = new XSDBuilder();
    URL    url =  new URL(schemaUrl);     
    schema = (XMLSchema)builder.build(url);
    SchemaClassGenerator generator = new SchemaClassGenerator();
    Generate the Java classes from the example XML Schema.
    generator.generate(schema);With the java classes construct an XML document.

Maybe you are looking for

  • Purchase Order Text Object missing in Transcation VOTXN

    Hi Experts I want Purchase Order Text Object in Transction VOTXN, for that Referring SAP Note 75144 - EKKO EKPO entries should be in table TFRM, if these two entries are missing, using the solution contained in Note 524453 to generate the missing ent

  • After effects crashing unpredictable, please help if you can?

    Only be happening for a week or so. seems to be related to blurs in adjustment layers. ill be using blurs to spot blur certain anatomy for a tv show. sometimes I track and blur  with mocha sometimes manual track. ill be adjusting a track or a mask an

  • Macbook will not detect projector?

    Macbook will not detect projector?

  • CLOB Vs XMLTYPE

    Hi Guys, In one of my applications , From the front end we are getting XML data and storing the xml data in the col of table which is CLOB type . Today one of the application developer told that directly we can store the xml data into the data base.C

  • Setting Shutdown time in Energy Saver

    I'm trying to set a shutdown time in the Energy Saver on an additionaliMac G5 I have. The wakeup time works fine; however, every time I go into the Energy Saver, the lock is unlocked even though I've locked it when I set the time and closed out. The