[?] XMLDom loading files with <?xml ?> data... - Printable Version -Shoutbox (https://shoutbox.menthix.net) +-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58) +--- Forum: Skype & Technology (/forumdisplay.php?fid=9) +---- Forum: Tech Talk (/forumdisplay.php?fid=17) +----- Thread: [?] XMLDom loading files with <?xml ?> data... (/showthread.php?tid=97796) [?] XMLDom loading files with <?xml ?> data... by whiz on 06-13-2011 at 10:33 AM
Note: this question relates to using the XMLDom ActiveXObject with an HTML Application, although this effect also occurs with standalone JScript, and I assume with Plus! scripting as well. xml code: Trouble is, I can only seem to read the first line (<?xml ... ?>). Using something like: js code:...where Node is any of the child nodes (name, coder etc.), always seems to return: code:Even using //app[@version="1.0"]/ has no effect. However, the following code works (by returning the app node). js code:As long as the select function receives something with a // at the start, it fetches the <?xml ?> section. Why is this? |