geouser Posted September 3, 2020 Share Posted September 3, 2020 https://www.w3schools.com/xml/tryit.asp?filename=try_dom_navigate Here is an error: the numbers should be 1; 4; 6; 8 not 1; 3; 5; 7; if book.xml is corect Link to comment Share on other sites More sharing options...
Ingolme Posted September 5, 2020 Share Posted September 5, 2020 The code from the TryIt example is actually running live in the browser, it is real output. 1, 3, 5 and 7 are correct. Every second node is whitespace. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now