kunchokz Posted February 17, 2006 Share Posted February 17, 2006 [!--fonto:Verdana--][span style=\"font-family:Verdana\"][!--/fonto--]I have an xml file and a php file.How can I retrieve the values inside the xml tag, in the xml file from the php file using getElementTagName of javascript? [!--fontc--][/span][!--/fontc--] Link to comment https://forums.phpfreaks.com/topic/3456-getelementbytagname/ Share on other sites More sharing options...
naskoo Posted February 17, 2006 Share Posted February 17, 2006 [a href=\"http://www.phpfreaks.com/tutorials/44/0.php\" target=\"_blank\"]http://www.phpfreaks.com/tutorials/44/0.php[/a] Link to comment https://forums.phpfreaks.com/topic/3456-getelementbytagname/#findComment-11857 Share on other sites More sharing options...
ChrisDarl Posted February 17, 2006 Share Posted February 17, 2006 If you really wanted to use JS i suppose you might be able to have the XML file in a iFrame and use JS to extract via TagNames from the iFrame and transfer it to the document on loadNot the most ideal way Link to comment https://forums.phpfreaks.com/topic/3456-getelementbytagname/#findComment-11882 Share on other sites More sharing options...
kunchokz Posted February 22, 2006 Author Share Posted February 22, 2006 I used the code of xml parser. It works fine with ie 6.0 and mozilla 1.0.7 if i have to fetch the data within the top level nodes. But I cannot fetch the data within the child nodes in mozilla. And the code doesnot work with opera 8.52 Link to comment https://forums.phpfreaks.com/topic/3456-getelementbytagname/#findComment-12125 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.