Topic: XML to string |
|
---|---|
Author | Thread |
Bipolar (III) Inmate From: övik |
posted 12-19-2003 17:56
If I have gotten hold of the tag 'data' using xml.getElementByTagName("data"), is there any way that I can extract the content as a string containing it's children? |
Nervous Wreck (II) Inmate From: |
posted 12-19-2003 18:58
You can try the innerHTML attribute. E.g.: code: var dataContent = document.getElementByTagName('data')[0].innerHTML;
|