XML too big?

i'm doing a web page with my restaurant's menu. I'm using a
tree component, have done the AS and the XML and everything seemed
to work while testing with only a couple items inside the xml.
However - after having populated the XML with all the data, the
tree stopped displaying all the data - i've got three main chapters
in the tree -Starters, Main Courses and Desserts.
Now only the Starters show. Is the XML to big? How can i use
multiple XMLs in one tree?
Appreciate all help.

I agree with the poster who said SAX may be a better choice. 13 MB, though (probably) smaller than the memory space of your machine, is still going to take a while to parse & build the nodes in memory. Unless you are going to keep the parsed XML tree in a memory for a LONG time and do a LOT with it, SAX is likely a better choice.
With SAX, you just parse a little at a time until you find what you're looking for, then quit. This would be a better wa to go, for example, if want only few parts of the 13 MB document.
And how many 13 MB documents do you have? If more than just one or two, you're going to take a huge performance hit by trying to parse each one & stuff the whole thing into memory if you're only interested in a small part of it.

Similar Messages

  • XML formatted Email Attachment created by CL_IXML is too big to be received

    Dear all,
    I followed the excellent web blog http://wiki.sdn.sap.com/wiki/display/Snippets/FormattedExcelasEmailAttachment
    to pass an internal table (2MB in size, 18 columns * 6300 rows) to CL_IXML DOM and send this XML file as an formatted Excel attachment, it perfectly works, but the size of this XML attachment exceeded 8 MB, although I reduced it to 6MB successfully by simplying its Cell Attribute from
    <Cell ss:StyleID="s62"><Data ss:Type="String">1E2</Data></Cell>
    TO                    <Cell*><Data ss:Type="String">1E2</Data></Cell>.
    but I cannot do the same on its Data Attribute, and it is still too big to be received by the mailbox of my third party users, is there any way to reduce it below to 3MB?
    we need the attachment to be formatted Excel, and cannot request my third party receiver to do anything in Excl.
    I am using ECC 6.0, 32 bit no-unicode, and SAP Gui 7.20.
    looking forwarding to your reply
    Peter Ding

    You can try zipping the file and send it as attachment.
    Use the FM SCMS_XSTRING_TO_BINARY to convert the XML to Binary. Do the ZIP using the method COMPRESS_BINARY of the class CL_ABAP_GZIP.
    Regards,
    Naimesh Patel

  • I need to downsize phots to publish on a website but they are too big . In help it says when I select a photo it gives me the option to downsize. It does NOT. ?

    I can't figure out how to downsize my photos for a website that won't take anything above 3MB my Photos are 4MB. Even when I send them in an email, they are too big to send more than 3 at a time and I don't know how to fix it! Help says that when I select a photo it gives me the option to downsize. It does NOT?????

    This is the iPhoto for iOS forum. Are you asking about iPhoto on your Mac?
    In iPhoto on your Mac select Export and you will have the option to select a size for your photo.
    In iPhoto for iOS this capability is not there. I use PhotoForege2 on my iPad to resize my photos to meet the requirements you describe.

  • Saving animated gif error - canvas size too big?

    Hi,
    i have been asked to create an animated gif which has a snow effect in the background. The animation runs pretty well using the pattern style to move the animated snow down. The problem is when I try to export the animation the save for web dialogue window freezes and I can't quit photoshop. I have tried to make the canvas (image size) smaller and it works.
    Is there a memory problem with creating animations in Photoshop if the document size is too big, im running a 3000x1000px at 72dpi
    TThe animation would be used on a web app, which a script could probably do a better job, but I need to try this first.
    thanks
    lister

    Something is very wrong here. The point behind using GIFs is that they are small and OK to put on a Web site.
    First thing: forget all about PPI - this has absolutely no relevance to Web/screen images; it is only used for printing. You need to think about the pixel size.
    So, how big in pixels are your starting images?
    How big do you want the resulting GIF to be? Again, you have to decide in pixels, as the viewing size will depend upon screen resolution of the person looking at it. You can use a notional PPI of 70-100 to guess how big it will be in inches, but that's all it is - a guess.
    Is this getting you going in the right direction?
    I cannot resist commenting that I hate almost all animated GIFs as they reduce Web site usability so much.

  • When I open my iPad the page is too big for the screen and won't shrink down. The keypad has also become very 'sticky'

    Recently when I open any apps the pages are too big for the screen. They shrink when pinched but immediately become bigger again. It's very difficult to scroll too. The keypad has become very sticky. Missing letters and spaces when I type and needing to tap the keys much harder than usual

    I have the exact same problem, I think.  I was on my iPad 3's home page swiping R-L to locate a certain icon when all of a sudden the screen appeared to get HUGE.  So big I could only see one or two icons.  I couldn't even turn it off to try a reboot because after I pushed the sleep/wake button, I couldn't find the red slide bar.  I finally just had to wait for the battery to die, then recharge it, and it looked normal again.  I also spoke with several friends who haven either iPads or iPhones, and they've all had this happen to them.  I checked my accessibility settings, and Zoom was already off.  So what is causing this problem for so many people, and what can we do to prevent it?  Please help.

  • Hi! I need help, today I connected my mac Book Air to a tv for a presentation and as soon as I conected it the image on my screen went bigger. And I cant find the way to put it back as it was before. The Images are too big! heelp

    Hi! I need help, today I connected my mac Book Air to a tv for a presentation and as soon as I conected it the image on my screen went bigger. And I cant find the way to put it back as it was before. The Images are too big! heelp

    Morning DeeHutton,
    Thanks for using Apple Support Communities.
    For more information on this, take a look at this article:
    iPhone: Hardware troubleshooting
    http://support.apple.com/kb/ts2802
    Best of luck,
    Mario

  • My homescreen won't resize and I can't access anything because everything is too big to navigate.  Help.

    My homescreen won't resize and I can't access anything because everything is too big to navigate.  Help.

    Double-tap the screen with three fingers to disable Zoom.
    To turn off Zoom go to Settings > General > Accessibility > Zoom and turn this Off.

  • When doing a second "Organize Library" cuz the first was too big, will iTunes recognize what's already copied over?

    I'm stuck with a large folder of music on my PC in My Music folder. And I used "Organize Library" in iTunes but it didn't copy everything over because the amount of music was too big. I've deleted the original copies of music outside of iTunes to open up more space and was wondering if I do a second "Organize Library" if it will recognize that some of the music has already been copied over.

    I don't know what "restore the iPod" is
    It's usually the second thing to do (after Reset) when the iPod is not working correctly.
    Select the iPod in iTunes and click Restore.
    See this -> Restoring iPod to factory settings
    what about my main question? Can I go back to "sync all" but manually block certain albums?
    No because sync all is just that.
    Sycning specific playlists should work fine. And you can create more than one and sync which ones you want.

  • I have my iTunes library on an external HD because it is too big for my iMAC 500GB HD. I want to backup my external HD. Can I do this with any Apple cloud product or should I look elsewhere? Also is it worth just buying another external HD to back up

    I have my iTunes library on an external HD because it is too big for my iMAC 500GB HD. However, it is not backed up, so I need a solution to backup my external HD. Can I do this with any Apple cloud product or should I look elsewhere for cloud products? Will it be cheaper/easier just to buy another external HD to back up my existing external HD? Thanks

    I don't know if this is me adding files to iTunes when the external wasn't connected
    it is.
    is it OK to just keep deleting that library on the Air?
    i wouldn't - at least not until i
    mount the external
    point iTunes media folder location back to the external via preferences > advanced
    consolidate my library via file > library > organize library
    The ntfs hasn't seem to be causing any problems, but I've always wanted to know.
    in order for your Mac to write to NTFS drives, it needs some help by installing e.g. the NTFS 3G driver. apparently that or something similar is installed on your Mac already. preferably, it would be formatted for Mac but then windows machines would need to have e.g. MacDrive installed to recognize the drive.

  • I recorded an interview on my iPad using the iTalk app. How can I transfer that audio to my MacBook Pro? The file is too big to email.

    I recorded an interview on my iPad using the iTalk app. How can I transfer that audio to my MacBook Pro? The file is too big to email.

    Use DropBox. https://www.dropbox.com/help/84/en
     Cheers, Tom

  • The "other" memory section on my Mac is WAY too big.

    Hey everyone!
    I know there are a LOT of discussions about this topic, but none of them really seemed to work for me. So the other day I got an error saying "Your startup disk is almost full". I immediately checked the storage section of "About my Mac", and sure enough, something like 100 GB were taken up by local backups. To fix this issue, I disabled local backups via this terminal command: sudo tmutil disablelocal.
    I did a restart and checked my storage again. This time, it looked like this (and still does):
    All of what used to be backups is now other. And the reason I have those 900 or so MB of backups is because I eventually turned those on again (with the reverse of the above command) in an effort to fix this. Out of options, I then went to the apple store, where they told me to just delete stuff that was too big. So I got a 1 TB drive and started copying and deleting stuff. The main thing I got rid of was a giant windows VM I had. And just to prove that something's wrong here, look at the breakdown of my files from OmniDiskSweeper:
    If you do the math, I should have about 100 GB more free than I do now. I've tried:
    Turning the thing off then on (you'd be surprised how often that works)
    Resetting the PRAM
    Forcing spotlight to reindex the machine
    Throwing the machine out the window (well, not quite)
    What I think might be the cause:
    This is a stab in the dark here, but possibly all those GB of backups tried to delete themselves and somehow corrupted and aren not called backups anymore by the system?
    Just one more thing: I noticed that OmniDiskSweeper showed a volume I don't recognize. It's called MobileBackups. Maybe that has something to do with it?
    I'll appreciate your help.
    Thanks!

    Although the guide is a little dated, a lot of the information there is really great and helps you track down a lot of files that are just taking up way too much space on your hard drive.
    http://pondini.org/OSX/DiskSpace.html
    I just did this the other day on my Air running 10.9 and recovered around 50GB of disk space, so there is potentially a lot you can do. I suggest following the steps on this guide (to the T, don't want to mess anything up) and go from there. Don't delete ANYTHING that you are not aware of the function, and remember that searching for names of files is a great way to determine whether or not you need it. Some files that SEEM like junk and take up a considerable amount of space are system files that will either be replaced the next time you boot up or render you computer useless entirely.
    For example, there is a file that saves the state of your computer just before it goes to sleep so that it can return quickly when you start up again, and that file is normally the size of the amount of RAM you have (I have 4GB of RAM, so the file was 4GB). After doing some research, this file will either be recreated if deleted, or your sleep mode will not be able to function properly if the file is deleted. So again, just tread lightly.
    Also, there is an application I used to get rid of a bunch of duplicate files that I had on my drive called Gemini (http://macpaw.com/gemini), which I recommend using to clean up documents. Again, be careful, you don't want to go deleting files that you are using that the application mistook for a duplicate.
    Hope this helps!

  • I'm trying to open a 900kb Word doc (240pages) in Pages but get this error message:  Import Warning - A table was too big. Only the first 40 columns and 1,000 rows were imported.

    I'm trying to open a 900kb Word doc (240pages) in Pages but get this error message:  Import Warning - A table was too big. Only the first 40 columns and 1,000 rows were imported.

    Julian,
    Pages simply won't support a table with that many rows. If you need that many, you must use another application.
    Perhaps the originator could use a tabbed list rather than a table. That's the only way you will be able to contain a list that long in Pages. You can do the conversion yourself if you open the Word document in LibreOffice, Copy the Table, Paste the Table into Numbers, Export the Numbers doc to CSV, and import to Pages. In Pages Find and Replace the Commas with Tabs.
    There are probably other ways, but that's what comes to mind here.
    Jerry

  • I upgraded because they said my files were too big but I've emailed files a lot prior.  now after the upgrade I have a completed file to emial to someone, enter all the data, and there is no "SEND" button.  how do i send these files and why isnt it just l

    I have often sent pdf or other files with adobe by email with no problem.
    this file it said was too big so I'd have to upgrade to send it.   so I upgraded it.  I followed all the instructions, email, etc, etc, and its' ready to go but there is no SEND button.  how do I sent my file?

    Are you still experiencing a problem with Adobe Send?  We inadvertently introduced a problem earlier today (now fixed), but you reported your issue was last night.
    Anyway, can you check again?

  • I am having trouble with a video.  I have tried to copy it to a flash drive because it is too big to fit on a DVD, it says it is too large for the volumes format.  Please advise.

    I have done many DVD's for seniors for graduation so I am familier with Imovie.  I have just finished a projec that is a combination of video, music and stills.  I shared it through idvd.  Now I can't burn it to a dvd because it is too large.  It is too big even for a two sided disk.  I have researched it and i find that blue ray would be big enough.  Does apple offer  blue ray burner?  if so, what is the cost?  I tried another route and took my external hard drive to copy it to a PC.  there computer wouldn't recongize my drive.  I am assuming it is because it is formated for apple.  I tired copying it to a flash drive and and it says that it can't be copied because it is too large for the volume's format.  Suggestions?   PLEASE!!!!!

    Could the video be too big because of using too high a resolution?   480p is sufficient for a DVD.  the thread at:
    https://discussions.apple.com/thread/5868958?tstart=30
    may be of help.
    Apple does not support Blue ray - you have to use a thrid party application like Toast.
    To transfer the video to a PC you need a FAT-formatted hard drive (or of course a sufficiently big memory stick).
    You could also go via a network, via the cloud (eg Dropbox) or with 'Wetransfer" or similar.
    Geoff.

  • Itunes is too big for my laptop, i moved it to an external hard drive and now it's lost

    My laptop was too slow and the hard drive was full so I added memory and it was still too full. I bought an external hard drive and tried moving my itunes to it. But now itunes can't find any of my music. I tried moving the entire itunes folder onto the external hard drive and still itunes can't find it. I tried moving everything back to the laptop - but it won't accept the file because its too big. Help!

    iPods don't look for the library. iTunes does.
    I recently moved my itunes music folder
    Don't move your music folder.
    Let iTunes do it.
    Point iTunes prefs to the location where you wan tit.
    Then go to menu Advanced -> *Consolidate library*.
    This will copy the iTunes music folder to the location in iTunes prefs.

Maybe you are looking for

  • No POs found when entering with vendor role/contact person for vendor

    Dear colleagues, I wanted to post either a GR or an invoice as a vendor, that is, entering the system as the contact person of the vendor, with the vendor role, and searching for the POs created for me as vendor, then selecting one of them. However,

  • How to add infopath data to word doc

    hi  I create a form in infopath. I want to combine the information in this form, in strategic places in a Word document. My intention is similar to a mail merge but from infopath software. In Mail Merge I create a lot of files at once. Here I want th

  • Got new iphone to replace broken one-cannot access apps and songs

    i tried to syn new phone to replace old phone, but my apps are not syncing/running and my songs are not playing

  • EAL Bridge - Replicated Partition

    Hi Gurus, Can data can be replicated in Essbase using EAL Bridge, configured using Replicated Partition in real time. If so, how frequently will the data replication happen. I know that this happens real time or very close to real time if we use Tran

  • Is reseed required when in "failed and Suspended" status

    We had a small hiccup in our SAN which we have resolved. The database copies went into a "Failed and suspended" state on one server. Can we just right click on them and say "resume?"    It seems all the documentation on MS web site talk about reseedi