Dan,
With a small adjustment, it worked!
var asdf1 = xmlDoc.getElementsByTagName("Storyboard")[1];
var asdf2 = asdf1.getAttribute("Name");
if (sectionText1.innerHTML == "") {
sectionText1.innerHTML = "<a href='javascript:launchTopic(1,0,0);'>" + asdf2.substr(asdf2.lastIndexOf(".")...
Hello!
I have a question; how do I get the content from a tag's element? I have an XML file with the following structure:
<Content>
<Mapped>
<Storyboard ID="11111" Name="1.1 Course name">
<more xml stuff>32</more xml stuff>
<more xml stuff>Folder</more xml stuff>...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.