Aqua-Soft Forums: XML.GetValue() - Aqua-Soft Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

XML.GetValue() Rate Topic: -----

#1 User is offline   Poof Icon

  • Group: Member
  • Posts: 11
  • Joined: 30-July 08

Posted 25 November 2008 - 05:29 PM

I'm working on an AveScripter gadget that fills a dropdownlist with nodes from a xml file online.
I got it all working with the XMLHttpRequest object in Javascript, but because AveScripter uses its own XML system I'm trying use this system instead.

I've tried to get the XML.GetValue() to return information from the xml file, but nothing seems to work. When I use the Javascript XMLHttpReqeust object or just Firefox everything is loaded correctly.

Is there a way that I can see if the AveScripter XML object loaded anything at all?


PS: I rather not give the url to the xml because I don't want to spoil anything about the release :) but trust me, it's a well formed xml from a server that is working correctly.


EDIT: I found out that XML.GetValueCount() does work... so why does XML.GetValue() return me nothing??? :S
0

#2 User is offline   Poof Icon

  • Group: Member
  • Posts: 11
  • Joined: 30-July 08

Posted 27 November 2008 - 03:43 PM

I solved the problem, seems that you have to add brackets to the path parameter

e.g. XML.GetValue('[//nodes/@attribute]');
0

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic