Help Needed -- Oracle XML/SQL utility and PL/SQL parser

Let's say we have an xml file
<?xml version="1.0" standalone="no"?>
<abc>
<def>
<ghi>test</ghi>
</def>
<jkl>
<mno>testing</mno>
</jkl>
</abc>
We can store the <def> tag in one table say def and <jkl> tag in another table say jkl.
Is there a way to combine def and jkl and insert in one table so that there in one row with two columns test and testing??
null

Hi,
Are u sure that it is a java enabled database? The most common
case of failure with the xmlgen package is because the loadjava
command did not succeed.
Please make sure that oraclexmlsqlload.bat file loaded all the
java procedures successfully. If not then u would have to java-
enable your database by running the initjvm script. (please see
the docs).
Thx
Murali
Iveta Vojtko (guest) wrote:
: Hi,
: I have downloaded XML SQL Utility for Java against Oracle
8.0.5
: on WindowsNT. The xmlgen package was created successfully but
: its body is invalid and my PL/SQL test has failed because of
: following error: PLS-00103: Encountered the symbol "NAME"
: when expecting one of the following: := . ( @ % ; not null
range
: renames default character. The symbol ":= was inserted abefore
: "NAME" to continue.
: Is it because I am not using Oracle8i? I just want to use the
: server side of XML SQL. Please, reply asap. Thank you.
Oracle Technology Network
http://technet.oracle.com
null

Similar Messages

  • I need some working examples with pl/sql records and pl/sql tables.

    i am new to pl/sql tables and pl/sql records. i need some working examples on pl/sql records and pl/sql tables from basics to hoghlevel.how to use then procedures and functions and packages.

    i am new to pl/sql tables and pl/sql records. i need some working examples on pl/sql records and pl/sql tables from basics to hoghlevelThere is no such thing as PL/SQL "+tables+". This is a misnomer and creates the perception that a PL/SQL "table" is somewhat like a SQL table. Nothing can be further from the truth. The correct term is "+collection+" or "+associative array+". Compared to SQL tables, these are very primitive structures, very rigid structures, cannot scale, and can be quite expensive memory wise.
    That is not to say do not use an associative array or collection. These are very useful tools.. but only when applied correctly. Like using a collection for a bulk fetch to transfer more rows between the PL and SQL engines and thus decrease context switching.
    Unfortunately, quite often we see the row-by-row and slow-by-slow approach - where the developer uses SQL as an I/O only layer, pulls rows into expensive PL engine memory into record structures and arrays, and then process the rows there.
    So before looking at working example (even the wrong approach's code will compile and run and work in practice), make sure that you know the fundamentals of correctly using the PL engine and correctly using the SQL engine. And these fundamentals can be summed up into a very basic rule:
    Maximize SQL. Minimize PL/SQL+
    Get this rule right, and you will have a sound foundation for writing performant and scalable Oracle applications.

  • Troubleshoting help needed:  My iMac keeps crashing and restarting with a report detail: "spinlock application timed out"  What can I do to fix this?timed out"

    Troubleshooting help needed:  My iMac keeps crashing and restarting with a notice: "Spinlock application timed out"  What can I do?

    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Console in the page that opens.
    Select the most recent panic log under System Diagnostic Reports. Post the contents — the text, please, not a screenshot. In the interest of privacy, I suggest you edit out the “Anonymous UUID,” a long string of letters, numbers, and dashes in the header and body of the report, if it’s present (it may not be.) Please don't post shutdownStall, spin, or hang reports.

  • SQL, PL/SQL Expression and PL/SQL function

    In a Post Calculation Computation field I wanted the following computation:
    if B is X
    then
    field = A
    else
    field = B
    end if;
    or as a decode
    Decode(B,X,A,B)
    I could not get this to work so I wrote a database function that simulates the decode. So when I put:
    My_decode(B,X,A,B)
    in the field it did work.
    Basically I am not sure what kind of code one is expected to put into SQL, PL/SQL Expression and PL/SQL function fields. Can someone give an example of each? Also the APEX help is sometimes incorrect.
    For example if you click the "Post Calculation Computation" label it says:
    The For example, if this item is named P1_X, you could use post calculation expressions such as UPPER(:P1_X), INITCAP(:P2_Y), MIN(:P1_X,:P2_Y-200), NVL(:P1_X,:P2_Y), or a function call such as return my_func(:P1_X); to set the final value of the item.
    But if you put return my_func(:P1_X); in the field you get an error. It should be just my_func(:P1_X);
    thanks Rene

    DECODE is only available in SQL, so would have to be used in a SQL Expression.Yes, that's what APEX keeps telling me when I use in in a field that has "SQL or PL/SQL expression" above it. So what do you put in the field?

  • Differ java.sql.* and javax.sql.*

    Dear Friends,
    What is differenece between java.sql.* and javax.sql.*?.
    Advance in thanks

    java.sql is the package you can use for all basic kinds of database access. If you are not developing a full scale enterprise application, java.sql package is all that you need.
    javax.sql is extension to the basic java.sql package. It includes classes that allow connection pooling and rowsets, among others.
    If you are just getting started with JDBC, you just need to get familiar with java.sql and leave the wonders of javax.sql until later.

  • XML SQL Utility and Oracle 8.0.5

    Hi,
    I have downloaded XML SQL Utility for Java against Oracle 8.0.5
    on WindowsNT. The xmlgen package was created successfully but
    its body is invalid and my PL/SQL test has failed because of
    following error: PLS-00103: Encountered the symbol "NAME"
    when expecting one of the following: := . ( @ % ; not null range
    renames default character. The symbol ":= was inserted abefore
    "NAME" to continue.
    Is it because I am not using Oracle8i? I just want to use the
    server side of XML SQL. Please, reply asap. Thank you.
    null

    Hi,
    Are u sure that it is a java enabled database? The most common
    case of failure with the xmlgen package is because the loadjava
    command did not succeed.
    Please make sure that oraclexmlsqlload.bat file loaded all the
    java procedures successfully. If not then u would have to java-
    enable your database by running the initjvm script. (please see
    the docs).
    Thx
    Murali
    Iveta Vojtko (guest) wrote:
    : Hi,
    : I have downloaded XML SQL Utility for Java against Oracle
    8.0.5
    : on WindowsNT. The xmlgen package was created successfully but
    : its body is invalid and my PL/SQL test has failed because of
    : following error: PLS-00103: Encountered the symbol "NAME"
    : when expecting one of the following: := . ( @ % ; not null
    range
    : renames default character. The symbol ":= was inserted abefore
    : "NAME" to continue.
    : Is it because I am not using Oracle8i? I just want to use the
    : server side of XML SQL. Please, reply asap. Thank you.
    Oracle Technology Network
    http://technet.oracle.com
    null

  • Help needed with Java 1.4 and xml Runtime problem

    I am working on a java 1.3 and JAXP1.1 written code. Now I want to compile and run it using J2SE 1.4. Here are the import statements from the existing code.
    import org.xml.sax.*;
    import org.xml.sax.helpers.DefaultHandler;
    import org.xml.sax.Locator;
    import javax.xml.parsers.SAXParser;
    import javax.xml.parsers.SAXParserFactory;
    import org.xml.sax.Attributes;
    import org.xml.sax.XMLReader;
    import org.xml.sax.InputSource;
    import java.sql.*;
    import java.net.*;
    import java.io.*;
    When I run the existing(using java 1.3 and Jaxp1.1) code I have to include the files crimson.jar and jaxp.jar in the windows 2000 CLASSPATH and works fine.
    But when I compile and run it using J2SE 1.4 which has the built in support for the saxp, I thought that I don't have to specify any CLASSPATH for the new 1.4 so I don't specify any Classpath and it gives me the Microsoft "ClassFactory cannot find the requested class" error which means that even thought the new java 1.4 has the xml classes as libraries yet it still requies some .jar files to be listed in the CLASSPATH.
    If I am right then what path will work(i.e what jar class I need to add to the CLASSPATH).
    Thanks for your help.
    RA.

    Thanks for your reply,
    I think I didn't specify when the error occurs. The ClassFactory related error occurs when I run the program, it compiles without any error.
    From what I understood somewhere in the java 1.4 docs, that the new 1.4 has the xml libraries built in by default so one doesn't need to give the classpaths just like we don't give any CLASSPATH for using swing and many of the other java packages. That is one thing.
    Second thing is that I also tried to use the java_xml_pack-spring02 and java_xml_pack-summer02; but non of them include the crimson.jar and the jaxp.jar files in them which are the 2 .jar files that makes the program run fine when used under the java 1.3 with combination of the jaxp1.1(which was downloaded seperately and then the CLASSPATH for it was set.).
    Can you please help what .jar files do I need to use instead. I tried to use the ones that the new java_xml_pack-spring02 and java_xml_pack-summer02 has for the jaxp in them.
    Thanks again.
    RA

  • Help needed in XML encoders and decoders

    I'm using XMLEncoders and XMLDecoders for storage of java objects. Currently I've tried on simple data types only. But the problem is if I want to operate on the XMLEncoder created file from two different programs, then it is giving errors. In one program I'm executing
    XMLEncoder e = new XMLEncoder(new BufferedOutputStream
    (new FileOutputStream("polledobjects.xml")));
    e.writeObject(...);
    e.writeObject(...);
    e.close();
    and in another program I want to append to append a few more objects in the same polledobjects.xml, so I created another XML encoder object and opened the polledobjects.xml in append mode.
    XMLEncoder e1 = new XMLEncoder(new BufferedOutputStream(new
    FileOutputStream("polledobjects.xml",true)));
    e1.writeObject(...);
    e1.writeObject(...);
    e1.close();
    Now, Decoder works fine till the point it goes thru xml portion created by the first program, but as soon as it reached xml portion created by the second program, it gives the error->
    java.lang.ArrayIndexOutOfBoundsException: 2
    at java.beans.ObjectHandler.dequeueResult(XMLDecoder.java:272)
    at java.beans.XMLDecoder.readObject(XMLDecoder.java:150)
    at Convert.main(Convert.java:57)
    XML file created is :-
    <?xml version="1.0" encoding="UTF-8"?>
    <java version="1.4.2" class="java.beans.XMLDecoder">
    <object class="Data_to_Poll">
    <void property="active">
    <boolean>true</boolean>
    </void>
    <void property="agent">
    <string>192.9.200.151</string>
    </void>
    </object>
    </java>
    <?xml version="1.0" encoding="UTF-8"?>
    <java version="1.4.2" class="java.beans.XMLDecoder">
    <object class="Data_to_Poll">
    <void property="active">
    <boolean>true</boolean>
    </void>
    <void property="agent">
    <string>192.9.200.151</string>
    </void>
    </object>
    </java>
    I know it is giving problems b'cos it is encountering <?xml tag 2 times in the same xml document, but what should I do if I want to append in the same xml file and in the second program nothing more than filename is known...
    plz. help me out....

    In the below code hope "append" method may help u solve ur req.
    import java.io.*;
    import java.beans.*;
    import java.util.*;
    public class Convert {
    public static void main(String asd[]) {
    try{
    Convert c = new Convert();
    c.encode("source.xml");
    c.decode("source.xml");
    c.append("source.xml");
    }catch(Exception e) {
    e.printStackTrace();
    public void encode(String fName) throws FileNotFoundException {
    XMLEncoder xmlE = new XMLEncoder(new BufferedOutputStream(new FileOutputStream(fName)));
    xmlE.writeObject(new MyObject());
    xmlE.writeObject(new MyObject("Orange","BasketBall"));
    xmlE.close();
    /*xmlE = new XMLEncoder(new BufferedOutputStream(new FileOutputStream(fName,true)));
    xmlE.writeObject(new MyObject());
    xmlE.close();*/
    public void decode(String fName) throws FileNotFoundException {
    XMLDecoder xmlD = new XMLDecoder(new BufferedInputStream(new FileInputStream(fName)));
    Object obj = xmlD.readObject();
    boolean mine= obj instanceof MyObject;
    System.out.println(obj+" is : "+mine);
    xmlD.close();
    public void append(String fName) throws Exception {
    XMLDecoder xmlD = new XMLDecoder(new BufferedInputStream(new FileInputStream(fName)));
    Vector objs = new Vector();
    Object obj = xmlD.readObject();
    try{
    while(obj !=null){
    objs.add(obj);
    obj = xmlD.readObject();
    }catch(Exception e) {
    e.printStackTrace();
    if(obj!=null) {
    objs.add(obj);
    xmlD.close();
    XMLEncoder xmlE = new XMLEncoder(new BufferedOutputStream(new FileOutputStream(fName)));
    int count = objs.size();
    for(int i=0;i<count;++i) {
    xmlE.writeObject(objs.get(i));
    xmlE.writeObject(new MyObject("White","VollyBall"));
    xmlE.close();

  • XML/SQL Utility and stored procedure

    Hi there,
    Is it possible to use the XML/SQL Utility passing a stored
    procedure call, which returns a result set (ref cursor), instead
    of a SELECT statement? If yes, how should I call the
    OracleXMLQuery constructor?
    Thanks,
    Flavio.
    null

    Here's a sample. The next code drop of the XSQL Servlet will make the easy-to-do from within XSQL Pages:
    package package1;
    import org.w3c.dom.*;
    import java.sql.*;
    import oracle.jdbc.driver.*;
    import oracle.xml.sql.query.OracleXMLQuery;
    public class Class1 extends Object {
    public static void main( String[] arg ) throws Exception {
    Connection conn = getConnection();
    CallableStatement ocs = conn.prepareCall("begin ? := App.HotItems('PAUL'); end;");
    ocs.registerOutParameter(1,OracleTypes.CURSOR);
    ocs.execute();
    ResultSet rs = ((OracleCallableStatement)ocs).getCursor(1);
    OracleXMLQuery oxq = new OracleXMLQuery(conn,rs);
    System.out.println(oxq.getXMLString());
    oxq.close();
    rs.close();
    ocs.close();
    conn.close();
    public static Connection getConnection() throws Exception {
    String username = "scott";
    String password = "tiger";
    String dburl = "jdbc:oracle:thin:@localhost:1521:xml";
    String driverClass = "oracle.jdbc.driver.OracleDriver";
    Driver d = (Driver)Class.forName(driverClass).newInstance();
    return DriverManager.getConnection(dburl,username,password);
    null

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

  • Help needed with condition based joins in pl\sql

    Hi,
    I need to get data from 6 tables,
    Scenario 1 : I need to join 4 tables and join this result set to 5th table
    Scenario2: resultset of join of 4 tables to 6th table
    In this case how do i save the intermediate result set of 4 tables to use it in further joins.

    Welcome to the forum.
    Your question is broad.
    http://tkyte.blogspot.com/2005/06/how-to-ask-questions.html
    A more detailed example would help.
    Mention your database version as well and see the FAQ http://forums.oracle.com/forums/help.jspa when it comes to posting formatted examples using the {noformat}{noformat} tag
    However, i think using the WITH clause or a subquery ( a.k.a. inline view) is what you're looking for.
    Do some searches on http://asktom.oracle.com to find many examples.
    Also see:
    http://www.oracle-base.com/articles/misc/WithClause.php
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/queries007.htm#sthref3193                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Help Needed in Creating Java Class and Java Stored Procedures

    Hi,
    Can anyone tell how can i create Java Class, Java Source and Java Resource in Oracle Database.
    I have seen the Documents. But i couldn't able to understand it correctly.
    I will be helpful when i get some Examples for creating a Java Class, Java Source and Stored Procedures with Java with details.
    Is that possible to Create a Java class in the oracle Database itself ?.
    Where are the files located for the existing Java Class ?..
    Help Needed Please.
    Thanks,
    Murali.v

    Hi Murali,
    Heres a thread which discussed uploading java source file instead of runnable code on to the database, which might be helpful :
    Configure deployment to a database to upload the java file instead of class
    The files for the java class you created in JDev project is located in the myworks folder in jdev, eg, <jdev_home>\jdev\mywork\Application1\Project1\src\project1
    Hope this helps,
    Sunil..

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

Maybe you are looking for

  • ITunes 10.4 not playing songs all the way through

    Hi all, I am having an issue with iTunes 64bit 10.4. My songs don't play all the way through, sometimes playing a few seconds before skipping to the next one and sometimes well into the song before skipping (without any predictable pattern even for t

  • ADF task flow return redirect to page?

    Hello, I am using JDeveloper 11.1.2.3.0 I have build a task flow (bounded task flow) in my application and I want to redirect on task flow return, to another page from the application. This page is not part of the flow. From what I am reading till no

  • Using File handling in JSP

    hi, I am working on website where i have to use file handling instead of database.i m using JSP,the job is,site's contact us page's information should store in a file (.txt) and as a administrator login then this file retrievs details of all the cont

  • Error Message BP714

    Dear All, I have a PO of Year 2010. Its Dlvry date was in March 2010. But in current year If I am changing dlvry date to Jul 2011, it gives me error for the item as   BP714: Item &&& Commitment budget exceeded The amount by which it exceeds is the am

  • Insert data into oracle table from XML file

    I need to insert data into oracle table from XML file If anybody handled this type of scenario, Please let me know how to insert data into oracle table from XML file Thanks in advance