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--] Quote Link to comment 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] Quote Link to comment 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 Quote Link to comment 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.