想要在Javascript的新窗口中打开xmldata [英] want to open xmldata in a new window from Javascript
本文介绍了想要在Javascript的新窗口中打开xmldata的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
任何人都可以帮助我。
i在string中有我的xml数据类型。我想在javascript的新窗口中将xl数据打开为xml。
谢谢
Hi,
Can anyone help me.
i have my xml kind of data in string.and i want to open that sml data as xml in new window from javascript.
Thanks
推荐答案
我的意思是我必须打开一个新窗口并以xml格式显示数据。
ex:str =
< student>
< name> abc
< age> 21
<地址> dndfk
但myWindow.document.write(str);将仅显示abc,21,dndfk
I mean i have to open a new window and show that data in xml format.
ex: str =
<student>
<name>abc
<age>21
dndfk
but myWindow.document.write(str ); will display only the values like abc,21,dndfk
这篇关于想要在Javascript的新窗口中打开xmldata的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文