Categories | Question details Back To List | ||||||||
Problem with doXPath I am performing an Ajax asynchronous get that returns a little bit of well-formed XML // ask the server for the general information for this filter dhtmlxAjax.get("FilterSelection2.aspx?LoadXML=GeneralTab", generalTab_onload); <?xml version="1.0" encoding="utf-8" ?> <GeneralTab> <General FilterID="1" FilterName="Example" Description="Test Filter" ManualFlag="1" ActiveFlag="0"/> </GeneralTab> When I attempt to retrieve the following attributes, the result variable has nothing. // parse the XML record returned and update the items on the General Tab function generalTab_onload(loader) { var result = loader.doXPath("/GeneralTab/General/@*"); } What am I missing here? Best regards, Gyle Answer posted by dhxSupport on Mar 25, 2009 03:18 In which browser issue occurs for you? The same code was checked in latest IE and FF - works for both. Try to use debug version of dhtmlxcommon.js , it will show clear error message if some error occurs during loading|parsing http://dhtmlx.com/docs/products/kb/index.shtml?cat=search&q=2545&ssr=yes&s=dhtmlxcommon Attachments (1)
|