Can SAX be used with XSLT

I'm having Java memory problems with 8.1.7 when using a large
XML file and creating a XML DOM. One solution I may have found
is to use SAX which will create seperate trees for each
ROWSET/ROW instead of building the entire tree in memory like
DOM. But I can't figure out how to use SAX with XSLT. I want
each record written to the same text file using a XSLT
template. Anyone know how to do this?

The solution can be found in the XMLLoader application written
by Steven Muench, in his book "Building Oracle XML
Applications". It is also somewhere online under the book's
O'Reilly pages but I don't have the exact URL.
The solution is basically that the SAX model is used to parse
the large file and build a DOM tree as each node is
encountered. When the SAX model detects the closing tag of a
subdocument (probably what would be in your <ROWSET></ROWSET>
tags) then the current DOM tree is used to perform the proper
database operation. Then the SAX parser goes on with life until
it finds the next complete subdocument, etc. Pretty slick.
XMLLoader takes as an argument, the stylesheet you want to apply
to the data, so you can transform your XML data into something
that now has the Oracle canonical format on the fly.
There are numerous posts in this newsgroup regarding XMLLoader,
and Muench regularly answers questions here as well.
Good luck!
Mike

Similar Messages

  • GroupLayout can only be used with one Container at a time

    Dear all,
    I am a beginner so please don't throw rocks at me...
    I have created two frames with NetBeans. One is the main frame (extends from JPanel) and the other frame I put it to be started when pressing a button from the main frame (the second frame extends from JFrame). Both frames are created using the designer in NetBeans, so the code for creating the GUI is automatically generated by NetBeans, so both frames use the same layout (GroupLayout).
    Here is the code of the button from the main frame to start the second one:
    private void manageCustomersActionPerformed(java.awt.event.ActionEvent evt) {                                                
            // TODO add your handling code here:
            CustomerGUI custGUI1=new CustomerGUI();//CustomerGUI is the second frame
            custGUI1.setVisible(true);
    }When I press this button from the main frame I get this runtime exception: Exception in thread "AWT-EventQueue-0" java.lang.IllegalArgumentException: GroupLayout can only be used with one Container at a time. The second frame is not opened.
    How should I handle this?
    What I want to do: I want to have a main frame, from which I can start additional ones (the main frame must be always opened, while the additional ones can be closed after performing certain actions). I read a little about internal frames and I think this can be a solution, but I must edit the existing design...
    Thank you
    With respect,
    Don
    Edited by: don1983p on Dec 16, 2008 2:21 AM

    AndrewThompson64 wrote:
    There are those that maintain that JFrame should never be extended. I am not convinced, but most cases where a JFrame is extended would be better coded as simply configuring the JFrame within the main(). GUI builders such as found in NetBeans seem to extend JFrame as a matter of course.I too am not rigorous or religious about this either, but try to adhere to this as a matter of practicality and convenience, I find that if I don't extend a JComponent but rather use composition rather than inheritance, it's much easier to use objects of my class when programming in Eclipse. For instance in Eclipse (and in most IDEs), if I type my object name and then a period, it will show all of the method's available for me to use on this object. If I subclass JPanel or JFrame, I'll see a gazillion methods most I don't want to see, and thus most are clutter. On the other hand if I use composition, I'll only see a small number of methods and these will be only the methods that I want to see and need to use.

  • Fedex can only be used with dreamweaver using metric, not pounds (lbs)

    Fedex can only be used with dreamweaver using metric, not pounds (lbs), evidently?
    This as per their tier 2 tech suport.
    They say I should just convert to metric, no joke!
    Any ideas would be greatly appreaciated?
    Also a warning to anyone thinking of using business catalyst for their site, sorry, their business.
    Their note to me:
    Your request (# 82816) has been solved. To reopen this request, reply to this email or go to the Help & Support page.
                  Silviu Ghimposanu (Adobe Business Catalyst Support)           
                  Apr 14 15:23           
        Thanks for contacting us Michael  
    Our engineering team has detected some problems when doing weight conversions (from the quantities entered in the interface to what’s used when making the API calls to FedEx) -
      He have added this to our internal bug tracker to be fixed for one of the future releases. 
        I realise that this might not be what you wanted to hear,but at this moment we do't have a workaround in order to send the
      dimensions in pounds and not in KG 
        Sorry for this inconvenience!
      Kind regards, 

    If you're in US it will be in pounds. If your site is set any other country
    in the rest of the world it will be metric. So BC or as you call it
    Dreamweaver will look at the site country, which you set when creating the
    site

  • Why can't i sign in successfully to my FaceTime on my macbook? Customer Code: 7675-0789-4146. It says FaceTime can't be used with your apple id at this time

    why can't i sign in successfully to my FaceTime on my macbook? Customer Code: 7675-0789-4146. It says FaceTime can't be used with your apple id at this time

    Hello Clinton,
    Thank you for the details of the issue you are experiencing with FaceTime and Messages on your iMac.  I recommend following the steps in the article below for the issue you are experiencing:
    FaceTime, Game Center, Messages: Troubleshooting sign in issues
    http://support.apple.com/kb/ts3970
    Thank you for using Apple Support Communities.
    Best,
    Sheila M.

  • HT204053 hi i want to use find my mac but i got this massage (some configurations, such as software or hardware RAID,do not support a recovery partition and can't be used with find my mac)

    hi i want to use find my mac but i got this massage (some configurations, such as software or hardware RAID,do not support a recovery partition and can't be used with find my mac)

    hi i want to use find my mac but i got this massage (some configurations, such as software or hardware RAID,do not support a recovery partition and can't be used with find my mac)

  • Some configurations such as a software or hardware RAID do not support a recovery partition and can't be used with Find My Mac.

    I'm getting the following error message when attempting to invoke "Find My Mac"
    Some configurations such as a software or hardware RAID do not support a recovery partition and can't be used with Find My Mac.

    You have no recovery partition. This is a normal condition if your boot volume is a software RAID, or if you modified the partition table after running Boot Camp Assistant to create a Windows partition. Otherwise, you need to reinstall OS X in order to add a recovery partition.
    If you don't have a current backup, you need to back up before you do anything else.
    You have several options for reinstalling.
    1. If you have access to a local, unencrypted Time Machine backup volume, and if that volume has a backup of a Mac (not necessarily this one) that was running the same major version of OS X and did have a Recovery partition, then you can boot from the Time Machine volume into Recovery by holding down the option key at the startup chime. Encrypted Time Machine volumes are not bootable, nor are network backups.
    2. If your Mac shipped with OS X 10.7 or later preinstalled, or if it's one of the computers that can be upgraded to use OS X Internet Recovery, you may be able to netboot from an Apple server by holding down the key combination option-R  at the startup chime. Release the keys when you see a spinning globe.
     Note: You need an always-on Ethernet or Wi-Fi connection to the Internet to use Recovery. It won’t work with USB or PPPoE modems, or with proxy servers, or with networks that require a certificate for authentication. 
    3. Use Recovery Disk Assistant (RDA) on another Mac running the same major version of OS X as yours to create a bootable USB device. Boot your Mac from the device by holding down the option key at startup.Warning: All existing data on the USB device will be erased when you use RDA.
    Once you've booted into Recovery, the OS X Utilities screen will appear. Follow the prompts to reinstall OS X. You don't need to erase the boot volume, and you won't need your backup unless something goes wrong. If your Mac was upgraded from an older version of OS X, you’ll need the Apple ID and password you used to upgrade, so make a note of those before you begin.
    If none of the above choices is open to you, then you'll have to start over from an OS X 10.6.8 installation. There's no need to overwrite your existing boot volume; you can use an external drive. Install 10.6 from the DVD you originally used to upgrade, or that came with the machine. Run Software Update and install all available updates. Log into the App Store with the Apple ID you used to buy 10.7 or later, and download the installer. When you run it, be sure to choose the right drive to install on.

  • Item category S can only be used with account assignment category

    Hello Gurus,
    When i tried to create a PO then error "Item category S can only be used with account assignment category" is coming
    for my plant and material.
    Could you please tell me where i have to maintain the setting of account assignement for a plant or material.
    In TA:-OMG0 item catergory S is maintained for a account assignement F but still this issue is coming.
    I think there is a problem in plant or a material.
    Please help me.
    BR

    Hi,
    How you are creating PO  ,so that you have error "Item category S can only be used with account assignment category"
    Check what t.code used for your PO creation and what document type used for your PO creation- which result defaulting item category S which in turn asking for  with account assignment category.
    Cross check transaction variant or screen variant used for your PO creation!
    Regards,
    Biju K

  • Version 4.2.6(8E200) bought this from Apple, NewYork. Can this be used with any CDMA or only Verizon?

    version 4.2.6(8E200) bought this from Apple, NewYork. Can this be used with any CDMA or only Verizon?

    Apple's response: Sorry, only verizon
    Person in back alley wearing overcoats response : Step this way

  • Is "sp_purge_data" available only to datawarehouses or can it be used with both a normal database and Azure storage as well ?

    Is "sp_purge_data" available only to datawarehouses or can it be used with both a normal database  and Azure storage as well ?

    Thank you for the reply Qiuyun , the article was really helpful!
    I do have couple of other questions for you :
    How do we execute our SQL queries on Windows Azure tables and create horizontal partitions ? (I know that we have our SQL Server management Studio to execute normal queries on a SQL database , do we have a similar platform for Azure or do we have to get a local
    copy of the database to execute our queries and the  publish everything back to Azure)? I am looking to partition data on one of our databases and would like to know if it can be done in Azure directly or if we have to bring a local copy down ,write the
    partition function and
    and partition scheme or create a partition key and a row key - do the needful and publish it back to Azure?
    Also, how do I create a partition key and row key in Windows Azure?
    I am in the process of designing data archiving strategy for my team and would like to know more about the questions I just mentioned.
    Hoping to hear back from you soon.
    Thanks in advance for all the help!
    -Lalitha.

  • The Ipod "file shares" can't be used with itune because it's not formatted?

    Hi,
    I'm using ipod shuffle 512mb. When I connect ipod to my PC, it shows an error message saying "the Ipod "file shares" can not be used with itunes because it is not formatted properly". I am not able to sync the songs into Ipod...
    I tried everything but it is not working...
    If somebody knows how to resolve this ..... kindly reply to this...
    Thanks a lot!!!!!

    The iPod shuffle forum would be best to post this question. Here's a link to it.
    http://discussions.apple.com/category.jspa?categoryID=199

  • I but garage band w my iPad can i also use with my laptop, or i need to buy it again?

    i but garage band w my iPad can i also use with my laptop, or i need to buy it again?

    Welcome to the Apple Support Communities
    The iPad and the Mac use different operating systems and different App Stores (App Store in the iPad, and Mac App Store in the Mac). In this case, you have to purchase GarageBand for your Mac in the Mac App Store, because the iPad version isn't compatible with any Mac. However, if you have another iPhone, iPod touch or iPad, you can install GarageBand for free on those devices. The same for Macs if you purchase GarageBand for your Mac

  • HT1665 Can iPad be used with digital projectors?  I'd like to use as a teaching tool to project iBooks on screen.

    Can iPad be used with digital projectors?  I'd like to use as a teaching tool to project iBooks on screen.

    Yes. You'll need to get the proper adaptor, VGA or HDMI (depending on your projector) or connect wirelessly through an Apple TV connected to your projector.

  • Can CS5 be used with Photo elements 9?

    Can CS5 be used with Photo Elements 9?

    Well, they are separate programs. Not sure what specifically you are looking for. Of course PS CS5 can function as an advanced editor for images, but beyond that they don't interact.
    Mylenium

  • Can Aperture be used with iPad?

    can Aperture be used with iPad?

    Welcome to Apple Support Communities
    Aperture is available for Macs, but not iPads. However, you can use iPhoto for iPad > https://itunes.apple.com/us/app/iphoto/id497786065?mt=8

  • HT3986 can bootcamp be used with Windows install disk on an external drive (internal is broken) ?

    can bootcamp be used with Windows install disk on an external drive (internal is broken) ?

    With Boot Camp, you must install Windows onto in internal HDD (or SSD).  If you are referring that your internal Optical drive is broken, you might be able to install Windows from an external drive, but you might not.  I have heard varying levels of success with that.  I'm not sure what the official stance is, but I do know that if youe machine shipped with an internal optical drive, then you must use that to install Windows using Boot Camp and not swap it out for a "data doubler" and try to install from an external optical drive.

Maybe you are looking for