Re: [xmljs-users] trouble with DOMImplementation
Brought to you by:
djoham,
witchhunter
From: Dmitry K. <dmi...@ya...> - 2007-08-16 12:33:32
|
The answer is simple: var parser = new DOMImplementation(); you just don't create new object :) "new" keyword is a key here. Best regards, - Dmitry Khudorozhkov, maintainer of XML for SCRIPT. jon heise <ju...@cs...> wrote: I'm trying to xmljs to parse some xml in a project i'm writing however DOMImplementation always returns null for me. $.post("p/" + $("#gettehplan").val() + "/",function(data){ alert("data is " + data) var parser = DOMImplementation(); alert("parser is " + parser); }); the second alert returns undefined i'm including all of the require js files no problem but domimplementation alway returns null ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ xmljs-users mailing list xml...@li... https://lists.sourceforge.net/lists/listinfo/xmljs-users --------------------------------- Park yourself in front of a world of choices in alternative vehicles. Visit the Yahoo! Auto Green Center. |