Thanks Nishen, I tried that as well. It does not work. And by list I mean for getElementByTagName. Do you have any other suggestion?
thanks Biva ________________________________________ From: Nishen Naidoo [nishen.nai...@mq.edu.au] Sent: Tuesday, March 15, 2011 7:52 PM To: Support and info exchange list for Fedora users. Cc: Shrestha, Biva Subject: Re: [fcrepo-user] DOm parser Hi Biva, Maybe try using the getElementsByTagnameNS and use the foxml namespace. getElementById should just return a single element I think, not a list? Thanks, Nish ________________________________ Nishen Naidoo IT Projects Developer Library IT MACQUARIE UNIVERSITY NSW 2109 E-Mail: nishen.nai...@mq.edu.au<http://redir.aspx?C=4d67c484cb234b39bbb1a17b428e82b9&URL=mailto%3anishen.naidoo%40mq.edu.au> Phone: +61 2 98506553 Mobile: +61 4 30006783 Fax: +61 2 98507912 http://www.library.mq.edu.au/<http://redir.aspx?C=4d67c484cb234b39bbb1a17b428e82b9&URL=http%3a%2f%2fwww.library.mq.edu.au%2f> CRICOS Provider No 00002J This message is intended for the addressee named and may contain confidential information. If you are not the intended recipient, please delete it and notify the sender. Views expressed in this message are those of the individual sender, and are not necessarily the views of Macquarie University Library or Macquarie University. Please consider the environment before printing this email. On 16 March 2011 09:09, Shrestha, Biva <shrest...@ornl.gov<mailto:shrest...@ornl.gov>> wrote: Hi all, I am trying to parse the FOXML file for a digital object using DOM parser. I am doing this because I need to extract the audit trails. I do not get any error while parsing but all of the functions like getElementById, getElementsByTagName returns empty node list. Is there a different parser for FOXML standard or the DOM parser should work. Also if there is any API service that can do the same function of getting audit trails that would be great too. I know there is a service called getObjectHistory but it returns timestamps only. we need all the information in the audit trail. thanks Biva ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d _______________________________________________ Fedora-commons-users mailing list Fedora-commons-users@lists.sourceforge.net<mailto:Fedora-commons-users@lists.sourceforge.net> https://lists.sourceforge.net/lists/listinfo/fedora-commons-users ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d _______________________________________________ Fedora-commons-users mailing list Fedora-commons-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fedora-commons-users