XML descendants showing up blank?

I wonder if any of you have a suggestion for me here...
var file = new File( /path/to/my/file.xml );
file.open('r');
var fileString = file.read();
var xml = new XML( fileString ); // everything's fine up to this point...
xml.descendants(); // returns the full contents of xml, so I know xml has content.
xml.descendants( 'Row' ); // returns nothing, even though there are definitely <Row> elements in the document.
Am I not using the 'descendants' method properly? Does anybody see something wrong in my syntax?
Thanks

I've looked a little more into it and it seems like the XML parser is getting tripped up when I use xmlns="urn:schemas-microsoft-com:office:spreadsheet" (this XML document was exported from Excel) on the root element. Is it possible that the JS XML methods break if you use the xmlns attribute??
Thanks.

Similar Messages

  • My iPhoto '08 (v 7.1.5) shows a blank screen (no photos). How do I rebuild it from my iPhoto library.  Thanks!

    My iPhoto '08 (v 7.1.5) shows a blank screen (no photos). How do I rebuild it from my iPhoto library.  Thanks!

    Try these in order - from best option on down...
    1. Do you have an up-to-date back up? If so, try copy the library6.iphoto file from the back up to the iPhoto Library (Right Click -> Show Package Contents) allowing it to overwrite the damaged file.
    2. Download <a href="http://www.fatcatsoftware.com/iplm/"><b><u>iPhoto Library Manager</b></u></a> and use its rebuild function. This will create a new library based on data in the albumdata.xml file. Not everything will be brought over - no slideshows, books or calendars, for instance - but it should get all your albums and keywords back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one.
    3. If neither of these work then you'll need to create and populate a new library.
    To create and populate a new *iPhoto 08* library:
    Note this will give you a working library with the same Events and pictures as before, however, you will lose your albums, keywords, modified versions, books, calendars etc.
    In the iPhoto Preferences -> Events Uncheck the box at 'Imported Items from the Finder'
    Move the iPhoto Library to the desktop
    Launch iPhoto. It will ask if you wish to create a new Library. Say Yes.
    Go into the iPhoto Library (Right Click -> Show Package Contents) on your desktop and find the Originals folder. From the Originals folder drag the individual Event Folders to the iPhoto Window and it will recreate them in the new library.
    When you're sure all is well you can delete the iPhoto Library on your desktop.
    In the future, in addition to your usual back up routine, you might like to make a copy of the library6.iPhoto file whenever you have made changes to the library as protection against database corruption.

  • Faces in Photos showed up blank after the upgrades

    Faces in Photos showed up blank after the upgrades (no labeled faces at all) with the suggested faces mostly full of 100's of blank white circles. I used to have about 50 faces labeled with about 2500 photos. Now I have no labeled faces on top of page (completely blank) and only 9 face suggestions on the bottom. Photos also runs very slowly compared to iPhoto. I tried re-installing and re-upgrading and have gotten the same results. I'm using a Mac Pro (2009), OS 10.10.3, 2.66 GHz Quad-Core Intel Xeon, 16 GB 1066 MHz DDR3 ECC, 7 GB storage. Any help will be appreciated and even if I have to delete the Face's database and start all over, where do I find that database or file to delete?

    1. Copy and paste is a very good way of moving chunks of text around, however, it's not really good for moving a Library containing many thousands of files. Drag and Drop is rather more reliable.
    it comes up with a black circle and a "!" image.
    2. The ! turns up when iPhoto loses the connection between the thumbnail in the iPhoto Window and the file it represents.
    Download iPhoto Library Manager and use its rebuild function. This will create a new library based on data in the albumdata.xml file. Not everything will be brought over - no slideshows, books or calendars, for instance - but it should get all your albums and keywords back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one.
    Regards
    TD

  • When I open a pdf document from my dropbox to view it, the document shows up blank, even though it is filled out. This also happened with pdf documents that have been e-mailed to me.

    When I open a pdf document from my dropbox to view it, the document appears blank, even though I know the information is actually there. This also has happened with pdf documents that have been e-mailed to me, then opened to view and they are blank?? Why are they showing up blank?

    When I open emails with PDFs I click on the attachment (doing this all on my iPad) it gives me the option to "open in iBooks", I accept then after that the document is sucked into my iPad but I can't do anything with the PDF after that.  Where is the actual file on my iPad? Why can't I email or send these PDFs to my cloud (Dropbox)?
    It's like once they go into iBooks they're stuck forever.

  • YouTube will not work on safari for me on the ipad. Is there anyway to fix this? I can go anywhere else on the internet fine and it works on google chrome, but on safari it shows a blank screen with the bar on top after it loads.

    YouTube will not work on safari for me on the ipad. Is there anyway to fix this? I can go anywhere else on the internet fine and it works on google chrome, but on safari it shows a blank screen with the bar on top after it loads, if it's even loading at all.
    I do not know if it's relevant or not, but I got a message on my ipad while on safari saying that my iPhone has a virus. I looked it up and it seems it might have just been an ad from the website I was on, but it happened around the same time YouTube stopped working.

    You will find that using the YouTube app will provide a better viewing experience for YouTube videos.

  • Access 2013: Sum fields on a form suddenly showing up blank

    I have a simple Access database (originally built in 2010, now running 2013). Sometime in the last week or so all of the SUM fields in the database started showing up BLANK (one minute everything was working fine, the next it wasn't, not sure what happened
    in between). Even when I create a new, basic form, I can't seem to get my SUM fields working.
    For example, I have a table where I document number of miles traveled for work purposes, the fields include: TravelDate, ProjectID, Mileage, and Description. Mileage is a Number field, Long Integer. If I create a continuous form, connect it to the table
    (same thing happens if I connect to a query), add a field in the Detail section with
    Mileage as control source and txtMileage as name and a field in the FORM FOOTER that is: =Sum([txtMileage])...the SUM field is empty in
    Form View. And, there are no NULL values in the data set. This is happening across all of my forms and subforms, all SUM fields are now displaying as blank.
    Is it possible that I changed a global Access setting to cause this? A form setting? Any other ideas?
    Thanks!
    Laura

    I had the same sudden issue. But I was able to determine that it involved only one workstation. All the others were fine, as well as a test run on another Win 8 station outside the environment. From there I was able to determine that  a third party
    app had been installed near the time of the problem showing up. I uninstalled it and it immediately was resolved. The app was a C# based tool thought the authors have yet to identify why this caused a problem. My suspicion is that they wrote a 32 bit version
    and this was installed on a 64 bit station, and there is some issue with mso.dll, where I believe the function calls exist for sum. I am testing to see if there are similar function errors in Excel.
    What is noticeable was that Access did not throw a an Error# nor a #name. Just nothing appeared, and when you click on a row, the sum would appear, though it was incorrect.
    In Access 2010 I remember there were some footer field issues in continuous which eventually were patched.
    It was an opportunity to remind my client - do not install anything from any one on the live system without prior testing.

  • A column in 4i showing Null & Blank simultaneously but not in 10g

    Hi ,
    Presently working on migrating data from discoverer 4i to discoverer 10g and post migration it seems to be succesful.
    Though currently in a report we are facing the following issue :
    A column in 4i viewer showing Null & Blank simultaneously but its not so in 10g.In 10g it is showing NULL only.
    I tried working out with OPTION / Sheet----> Null and
    even with FORMAT DATA / TEXT giving the category as NONE(depicting the format as in Database)
    There was no difference with the above.
    Kindly advice me regarding the above.
    Regards
    Sajit.

    Hi,
    Check the aggregation methods in the 4i and in the new version

  • My game center won't load and shows up blank when I try to open it. I've already tried to close all the apps and restart it and it still won't work. Is their anyway to fix it without restoring it??

    My game center won't load and shows up blank when I try to open it. I've already closed all of my apps and restarted it and it still won't work. Is their anyway to fix it without restoring it and starting over??

    Try:
    - Reset the iOS device. Nothing will be lost      
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - sign out and the sign back into Game Center
    - Reset all settings                            
    Go to Settings > General > Reset and tap Reset All Settings.
    All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
    - Restore from backup. See:                                               
    iOS: Back up and restore your iOS device with iCloud or iTunes
    - Restore to factory settings/new iOS device.                       

  • My iphoto will not load, all it does when i open it is just show a blank iphoto and won't load any of my photos that were already in there.

    My iphoto will not load, all it does when i open it is just show a blank iphoto and won't load any of my photos that were already in there. Any way to fix it ?

    Remember: we cannot see your machine. There are 9 different versions of iPhoto and they run on 8 different versions of the Operating System. The tricks and tips for dealing with issues vary depending on the version of iPhoto and the version of the OS.  So to get help you need to give as much information as you can. Basic things like :
    - What version of iPhoto.
    - What version of the Operating System.
    - Details. As full a description of the problem as you can. For instance: 'iPhoto won't export' is best explained by describing how you are trying to export, and so on.
    - History: Is this going on long? Has anything been installed or deleted?
    - Are there error messages?
    - What steps have you tried already to solve the issue.
    - Anything unusual about your set up? Or how you use iPhoto?
    Anything else you can think of that might help someone understand the problem you have.

  • Hi, I've just installed mavericks but my HPc4180 will not print and is showing a 'blank' page in previews can anyone help me?

    Hi, I've just installed mavericks but my HPc4180 will not print and is showing a 'blank' page in previews can anyone help me?

    A few suggestions for you:
    Try:
    uninstall all HP utilities or other HP apps on your Mac
    see if there is updated software on the HP website
    go to System Preferences > Printers & Scanners > Print
    control-click on your printer in the column on the left
    select "Reset Printing System..." and "reset" in the dialog that follows
    Do a factory reset on your printer
    go back to printers & scanners and it should see your printer and download a driver for it from Apple

  • While trying to open the mail , it shows a blank screen then went to home page.

    while trying to open the mail , it shows a blank screen then went to home page.

    Hello there, Nina2800.
    It sounds like you are having issues connecting to the iTunes Store and getting a blank page.  The following Knowledge Base article offers up some great steps for verifying connectivity:
    Can't connect to the iTunes Store
    http://support.apple.com/kb/TS1368
    Troubleshooting on a Mac
    If you haven't been able to connect to the iTunes Store, a software conflict or your internet service provider (ISP) may be blocking your access. 
    Update iTunes to the latest version.
    If you have a firewall, your settings may be preventing you from connecting to the iTunes Store. To configure your firewall, please refer to the "Blocked by firewall" section in this article.
    You may need to reset your keychain. Connection issues are occasionally caused by keychain issues. Click here to find out how to use Keychain First Aid to resolve any issues with your keychain.
    If you are receiving a specific error message you may want to see, the "Specific Conditions and Alert Messages" section in this article as needed.
    If the issue still persists, contact your internet service provider and confirm that the ports and servers in this article are enabled over your network.
    Additionally, this article provides some additional recomendations if the issue persists:
    iTunes: Advanced iTunes Store troubleshooting
    http://support.apple.com/kb/ts3297
    Thanks for reaching out to Apple Support Communities.
    Cheers,
    Pedro.

  • I have a problem with my 4s camera which has come up recently. Everytime I take a picture and look it up via the 'Photos' app, it shows as blank. But when I click on edit on the blank picture, it comes up and I am able to save it back on my photo album.

    I have a problem with my 4s camera which has come up recently. Everytime I take a picture and look it up via the 'Photos' app, it shows as blank. But when I click on edit on the blank picture, it comes up and I am able to save it back on my photo album as a proper image. Besides, I have also experiences the camera working a bit wiered (slow and often blanks out the moment I am ready to take a photo). Any help on this pls?

    Hi Noob Søren
    There are a few things that are confusing in your question.
    As far as I know, you dont have to install Time Machine on this OS as it is already installed for you. You only need to connect a hard drive to your computer via firewire or usb, click on the Time Machine icon, Open Time Machine Preference in the drop down menu and select a disk: your connected hard drive.
    You can of course reformat this connected device, partition it into a few volumes to organise data if you so wish.
    I find it strange that your mac's hard drive is divided into two volumes... perhaps this was created through bootcamp?
    You can access the configuration of your hd through Applications/Utilities/Disk Utilities.
    Clicking on one of the icons on the right hand panel will bring the details of the contents of your hardDrive and volumes. From there you can decide to erase a partition, reformat etc....
    If your hd contains more than one volume, and one of them is empty, you could decide to remove it. Back up all your important data before doing so.
    Hope this helps
    WN

  • Having big problems with my new Mac Pro, when I launch Photoshop CC, I get an error message, can carry on but after a few tasks it starts going gar... menus go blank, when you try to save it shows a blank box.... can anybody help?

    Having big problems with my new Mac Pro, when I launch Photoshop CC, I get an error message, can carry on but after a few tasks it starts going gar... menus go blank, when you try to save it shows a blank box.... can anybody help?

    when I launch Photoshop CC, I get an error message
    and what exactly is the text of that error message?

  • How to show a blank or clear cell for the first entry in a numbers pop-up menu on a mac. I can do it on the iPad but not on the mac. Thank you.

    Can you please advise how to show a blank or clear cell as the first option in a pop -up menu on a Mac, I can see how on an IPad but but not on the Mac.
    Thank you.

    Hi grm,
    Yvan Koenig wrote an Applescript to create an popup menu with a true blank menu item. You can find it in Yvan's Box Account public area. Click on for_iWork'09, then for-numbers'09, then look for and download popup_with_nil.zip. Unzip the file, then open it with ScriptEditor.
    Yvan's scripts include instructions (in French and English) on how and where to save the script and how to use it. I haven't read this one recently, so I can't give you any further details on it.
    Regards,
    Barry

  • How can I access the savestore.js contents if the command about:sessionrestore shows a blank box even for already succesfully used backups?

    -------------------------------------------------------------------------------------------------------------------------------------------
    How can I access the savestore.js contents if the command about:sessionrestore shows a blank box even for already succesfully used backups?
    Is there a recent known problem with the about:sessionrestore command or is there any other way understandable to Firefox 29.0.1 through which recover the information stored in the sessionstore.js files.
    It seems the command about:sessionrestore is not capable anymore to read the contents of the sessionstore.js file present in the user profile folder.
    The box where windows and tabs should be listed is empty.
    I tried to paste a few old sessionstore.js files in the user directory while the firefox.exe process was not active, then opened Firefox again and tried to launch the about:sessionrestore command without any result.
    I think the files are not corrupted because I used most of them in other occasions and I stored them in folders not connected to the common use of any process.
    Also, I already successfully used the about:sessionrestore command in Firefox 29.0.1 in a few other occasions.
    I did a "clean reinstall" of Firefox 29.0.1 and the box contained in the tab where about:sessionrestore is executed is still empty even if the files themselves contain such information as tabs location and html addresses.
    After this I recovered the profile data I had stored in another folder and this is what you can see attached to this question.
    ---------------------------------------------------------------------------------------------------------

    If I select the "show my windows and tabs from last time" option in the startup settings the contents of any savestore.js file i paste in the user profile folder are opened without any problem.
    still, the box in the tab loaded by the about:sessionrestore command is blank and empty, so it's not possible to "de-select" any window or tab. it's necessary to find an editor to modify session backup files which may contain "bad addresses".
    does such an editor already exists?

Maybe you are looking for

  • SQlldr Error while uploading "excel" or "csv" file.

    Hello to community, We are using Oracle AS(application Server) 10g as a "web Server" & "database Server" The Database Server is having an NFS Partition,which has mounted onto "Web Server" So, if any client tried to upload any excel OR csv file , the

  • *IDOC INBOUND ( NON SAP system - SAP system )*

    I am transferring IDOC  INBOUND ( NON SAP system ->> SAP system ) by calling SAP standard funtc module IDOC_INBOUND_SINGLE using SAP JCo. In which I am passing all necessary information in Control Record regarding sender and receiver port/IDOC/segmen

  • Firefox says that every website I go to is untrusted. These are websites that I go to daily. What do I do?

    The firefox window pops up saying it is an untrusted site. it even did it when I started this inquiry.

  • Iphoto emptying trash have a problem

    Hi One of my iphoto Libraries have a problem when i right click and ask to empty trash the progress bar shows and it stays this way forever althought there is only 20 photos in it, i tried putting them all back in there albums and deleted only one ph

  • Problems using illustrator

    I downloaded creative cloud and now I'm trying to open a file in illustrator and everytime it opens the file, I get an error message that says illustrator stopped working?!?!?!?! Help!! I really need to update a file in illustrator