The HTML5 Helper
JavaScript, XML, HTML5, CSS, Canves, DOM
Showing posts with label
XML
.
Show all posts
Showing posts with label
XML
.
Show all posts
Thursday, May 23, 2013
Why does the childNodes array have and inaccurate number of items
As you can see from the image below, the childNodes array has 13 item. But clearly the "book" element has only 6 childNodes. Why is this inaccurate?
Answer: It's because of the white space between the elements.
Loading XML data into a JavaScript array via Chrome
Get the files here
Wednesday, May 22, 2013
Loading a local XML file in Chrome, Firefox and IE 10
Like me, you might have found it a challenge at first to load a local .xml file into Chrome. Well this video might help you solve that problem. If it does help please leave a comment below.
Extract XML node values using JavaScript via Chrome developer tools
Related articles:
Load a XML file using JavaScript in Chrome
Older Posts
Home
Subscribe to:
Posts (Atom)