Is there any possibility to combine XPath with SAX in Java?

HI Gentlemen,
I have an XML instance to parse. One solution works with XPath and Document builder. However, the tree in memory is too big so that I can not build it in my storage (8 GB). Does anyone of you know a method where I use an XPath expression (Java) to select a node but with a better parser (e g SAX) which is not so space hungry? Direct access of nodes is obligatory.
Thanks, kind regards from
Miklos HERBOLY

As SAX  parsers do not build a DOM structure and XPath requires a DOM structure to select elements from, XPath is not usable with SAX, but some analysers support setting the XPath expressions to analyse before invoking the SAX parser and provide the result for XPath expressions.
Refer
https://code.google.com/p/xpath4sax/

Similar Messages

  • Hii Can anyone tell me is there any possibility of giving some due payment like bonus or offcycle after its termination is done along with the payroll run and posting.

    Hii Can anyone tell me is there any possibility of giving some due payment like bonus or offcycle once employee termination is done along with the payroll run and posting.
    Thanx

    One Possibility is by making manual entry for that employee from FI side..  (this will give you soln..) Take the help of FI consultant...
    Another possibility is in IT0003 "Payroll Status".. You can opt mention next month date "Run Payroll up to" & execute Off cycle payroll for that employee...
    Just try this hope this may sort your issue....
    If it still it doesn't give you soln.. You may need to reverse the posting of that employee & change employment status.. Run Bonus & finally terminate the employee & do the posting..

  • Is there any possibility for a MacBook Air With Touch screen??

    Is there any possibility for a MacBook Air With Touch screen??

    I think they call that the iPad.... 

  • If your iphone 3gs just shuts down when theres something wrong with your hardware,is there any possible way to get all your pictures back?

    if your iphone 3gs just shuts down when something went wrong with your hardware is there any possible way to get all pictures or other important stuff onto itunes?

    What happened to the phone. Did it just go black? Did you try to plug it into Itunes and see if it can be seen or throw it on the charger. You can still try the reset procedure listed in http://support.apple.com/kb/ht1430 and see if the phone turns back on.
    The only way to get things back is to have backed them up ahead of time.

  • Is there any possibility to protect number file with pas word ?

    Good morning,
    As many people may use my Ipad, I would like to prevent somebody having acces to confidential file created with numbers.
    As it exist with Excel, is there any possibilty to protect files with password ?
    Thanks for your help.

    No. Numbers for iOS doesn't have file password protest. iOS in general is not designed as a multi-user system and doesn't really provide for this.

  • Is there any possible way to turn my 4th generation iPod touch off with a broken lock button?

    I'm not exactly sure what happened but one day I found my button broken. Is there any possible way to turn it off?

    Settings
    general
    Assistive Touch: On
    Tap that white circle thingy that shows up on screen
    Tap device
    Hold the icon that says lock screen for 5.3354 seconds (5 seconds lol)
    Slide power off!

  • Need to take monthly report for SQL statements...Is there any possiblity?

    Hi,
    We have a requirement to find out the list of expensive sql statements in our ECC 6.0 system.
    I am aware that we can see expensive sql statements which are being executed online in the TCode ST04 or DB02old.
    But I want the list of statements on a monthly wise.
    Is there any possibility to find out the list of expensive sql statements for the previous 3 to 4 months?If so, how do we do that?
    Any report or Tcode with navigations.
    Please help.
    Regards,
    Sudheer.

    Hi,
    > We have a requirement to find out the list of expensive sql statements in our ECC 6.0 system.
    nice.
    > I am aware that we can see expensive sql statements which are being executed online in the TCode ST04 or DB02old.
    expensive SQL in DB02, really?
    > But I want the list of statements on a monthly wise.
    > Is there any possibility to find out the list of expensive sql statements for the previous 3 to 4 months?
    > If so, how do we do that?
    Up to now there is no transaction available with such information. The databases partially offer solutions.
    These are switched on by default of have to be setup before they could be used. So it depends on the
    database and the database version which are you using.
    On ORACLE 10g for example we have the AWR (Automatic Workload Repository) which should be switched on by default (depends again on the license). On ORACLE 9i statspack is available but has to be activated first.
    On DB6 (latest database and SAP release) we have the so called performance warehouse.
    On other databases there might be solutions too.
    Besides that you can always built your own solution and grab the top 10 SQL statements from the SQL cache and
    persist them in regular intervals. I have seen such solutions as well.
    Kind regards,
    Hermann

  • My documents on my iCloud storage got automatically deleted, is there any possible way to recover them? They're nearly 1GB and very important to me.

    On January 26th, I downloaded iCloud for Windows and logged in using my account which was the same with the one on my Mac. 2 days later, at 3:27 PM January 28th, my 1 GB of documents on my iCloud storage got deleted automatically. I'm saying this because at that time I was sleeping and both my Mac and my Windows PC are turned off, and I'm home alone, besides there was no suspicious login reported to me by Apple.
    So is there any possible way to recover these documents? I'm a teacher and they're very important to me. My Time Machine wasn't enabled so using it is useless.
    Thank you so much for any help.

    Please please help me, if you know how.

  • Is there any possiblity to not to take the print out before release of PO

    Is there any possiblity to not to take the print out before release of PO.
    Please give some inputs to set up this in system.

    Hi,
    Thank you for your reply with kindness.I will appreciate your help.
    I found nothing like what you have mentioned .Please find the programme details in my system.Please help in this reagrd.
    FUNCTION EXIT_SAPLMEDRUCK_001.
    ""Lokale Schnittstelle:
    *"       IMPORTING
    *"             REFERENCE(IX_DRUVO) TYPE  DRUVO
    *"       EXPORTING
    *"             REFERENCE(EX_RETCO)
    *"       CHANGING
    *"             REFERENCE(CX_DOC) TYPE  MEEIN_PURCHASE_DOC_PRINT
    *"       EXCEPTIONS
    *"              NO_OUTPUT
    INCLUDE ZXM01U04 .
    ENDFUNCTION.
    Even-- nothing is avaialble in Include programme also.Please help in this regard.
    What is my further action to this.

  • Is there any Possibility of extending or importing a jcd in JCAPS.

    Hi,
    I am using JCAPS 512. Please let me know is there any possibility to
    reuse a jcd by extending or importing it.
    Please let me know in which location the classes created in edesigner will be stored in system.
    Regards
    Venkatesh.S

    Using JCAPS 5.1.3 on several large projects and JCD's extensibility is my biggest gripe. I'm a Java developer accustomed to code freely. Actually, wanted to extend and reuse OTDs as well, guess SeeBeyond markets it like a "Visual Basic" tool for integration. They should have learned from Delphi how to do it better.
    Anyway, the JCD are J2EE Stateless Session Beans under the covers, the code you write with eDesigner (NetBeans 3) goes through a "codegen" process. That is, you are not writing the Session Bean directly, consequently, the classic limitations with interpreted code.
    However, the next JCAPS version with NetBeans Open ESB will make developers happy by allowing normal Java development.

  • Is there any possible to reverse last fiscal asset need to reverse in curr

    Hi all
    Please let me know is there any possible to reverse last fiscal asset need to reverse in current fiscal year.can you you tell me the procedure
    Please find the detils of the asset
    Asset purchased date =16.11.2006
    Depreciation start date =01.01.2007
    Asset capitalized date =01.01.2007
    Asset value =46375
    Depreciation as last fiscal year =4573.97
    Net book value 46375-4573.93 = 41801.03 as per last fiscal year
    In 2007 fiscal year two (April, May) depreciation runs over.
    April and May period Depreciation amount is 1,370.53 and 1, 416.21
    Now net book value = 43,588.26
    I want reverse with net book value (43588.26) or capitalization (46375)
    value,what ever is possible noproblem
    Please let me know the solusation as it is very arjunt
    if any one can give solusation for this thankful
    Please dothe needful i will assign the points

    Hello
    Was the wrong invoice posted from MM or FI? Why you do not reverse the posting in the original module (MM or FI) with the correspondent transaction.
    Do you want to leave a erroneous open item duplicated in the vendor?
    Yes, if you post a credit memo the APC account of the asset will be posted with
    an opposite sign. However, if you do this with AA transaction ABSO the offsetting
    account will be the one you insert manually in the transaction and not the vendor.
    You can simulate the posting before actually save it to check the accounts used.
    Regards
    Javier

  • Is there any possible way of deleting BBM5.0 when one's using OS5.0?

    Is there any possible way of deleting BBM5.0 when one's using OS5.0? I tried to use DM6.0 but BBM is marked as a core component impossible to delete.
    I hate BBM in general because it's always on. I don't want install an older version.
    If anyone can help me, thanks in advance.
    Solved!
    Go to Solution.

    lusilveira wrote:
    Is there any possible way of deleting BBM5.0 when one's using OS5.0? I tried to use DM6.0 but BBM is marked as a core component impossible to delete.
    I hate BBM in general because it's always on. I don't want install an older version.
    If anyone can help me, thanks in advance.
    with some 5.0.X.X OSes, the BBm is a core application and cannot be removed.
    BUT other 5.0.X.X OSes, the BBm has become an addon application and can be removed. (i.e. 5.0.0.436 and on 5.0.0.462)
    if you have the first category OS, I suggest you try and install BBm for example using AppWorld. Maybe by upgrading BBm, it will become an addon.
    The search box on top-right of this page is your true friend, and the public Knowledge Base too:

  • Is there any possibility to see full details about the event?

    ipad calendar:I have no chance to read the event location fully on my ipad. It is cut and finishes with "...", thus very important meeting  number cannot be seen. Is there any possibility to see full details about the event?

    Thanks for quick reply.
    Looks like opened the event. Here is a screen shot, I marked the cut numbers with red cirsles.

  • Is there any possibility for extraction of statutory reports in std sap....

    hi sap gurus,
    good afternooon toall,
    is there any possibility for extraction of statutory reports in std sap r/3 with out any customization
    is there any possibility ?
    for eg:
    the reports which will be given for internal audit purpose.
    like tax, lst,vat reports
    plz let met know
    regards,
    balaji.t
    09990019711

    Dear balaji
    check j1i2
    thanks
    G. Lakshmipathi

  • I forgot my password for my mac book retina which I just bought 1 1/2 months ago. Is there any possibility to reset it?

    Hi, I forgot my password for my mac book retina which I just bought 1 1/2 months ago.
    Is there any possibility to reset it? I guess (not sure) the operating system is os x.

    Forgot Your Account Password
    For Snow Leopard and earlier
         Mac OS X 10.6- If you forget your administrator password
    For Lion/Mountain Lion
        Boot to the Recovery HD:
    Restart the computer and after the chime press and hold down the COMMAND and R keys until the menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.
         When the menubar appears select Terminal from the Utilities menu.
         Enter resetpassword at the prompt and press RETURN. Follow
         instructions in the dialog window that will appear.
         Or see Reset a Mac OS X 10.7 Lion Password and
         OS X Lion- Apple ID can be used to reset your user account password.
    If you are unable to boot from an installer DVD:
    (these will only work on Leopard or earlier)
      1. Boot to Safe Mode by restarting and after the chime press and hold down
          the COMMAND-S keys until a black screen with white type appears.
      2. At the prompt, type the following commands pressing return after each
          command line:
         /sbin/fsck -yf
         If you do not receive a "Filesystem OK" message then repeat this command
         until you do.  If after seven tries you still do not receive a "Filesystem OK"
         message, then the system is corrupted and needs to be reinstalled.
         mount -uw /
         cd /private/var/db/netinfo
         mv local.nidb local.old
         rm ../.AppleSetupDone
         shutdown -r now
    The second-to-last command above will cause OS X to think that the operating system is newly installed, and when the new owner starts up the computer it will send him/her to the startup wizard where he/she can start a new user without reinstalling.
    This last method does not actually change a password. It simply removes the user accounts and lets you create an initial admin account as if the computer were new out of the box.
    Reset Admin Password Using The Terminal
    You can reset the password by printing out (or writing down) and carefully following these steps.
    First, find the short name of the admin user on the machine. The easiest way of doing this is by looking at what the directory is called in the Users folder.
    Now, start in Single-user Mode. It should boot into a command line.
    Enter these exact lines. Press RETURN after each.
    mount -uw /
    ifconfig lo0 up
    cd /var/db/netinfo
    netinfod -s local
    Now you'll need that short name. Enter "passwd", a space, and the short name of the admin. For example, if the admin was rather prosaically called "imadmin", you would enter "passwd imadmin".
    The computer will now prompt you to change the password for "lmadmin" (or whatever the short name was). Go ahead and enter a new password.
    Now, enter:
    sync
    reboot
    and the machine will reboot. The admin password should now be changed.

Maybe you are looking for

  • [SOLVED] systemd-tmpfiles-clean takes a very long time to run

    I've been having an issue for a while with systemd-tmpfiles-clean.service taking a very long time to run. I've tried to just ignore it, but it's really bothering me now. Measuring by running: # time systemd-tmpfiles --clean systemd-tmpfiles --clean 1

  • Electronic Signature

    URGENT! How can I electronically sign a doc in Adobe Reader, when all I see is the doc surrounded by black? I need to do this within the next hour!

  • Solution to BSOD with Crucial drives

    I *finally* have stable Lenovo W520 machines.  Here is what we had to do:  For the machines we put Crucial M4 drives in, we had to update to the latest Crucial firmware.  For the machines we had Crucial C300 drives in, we had to remove the intel dive

  • XOR (Exclusive OR logical operator)

    Does such a thing exist in SAP ? Do I have something else other than AND and OR as logical operators (like XOR in other languages ? bitwise operators won't help, since I need them in queries). Thanks Avraham

  • Error when importing hierarchy in STS

    All: I am getting an error when executing the “Determine Hierarchy for Sub plan” in the Status and Tracking System – customizing transaction. I get the following error message: <b>“Hierarchy contains more than one top node”</b> In this screen, I get