desmondtsk
asked on
Javascript to create XML files
Can anyone please tell me how to create XML files using Javascript?
If this possible?
If this possible?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Any way it gives a warning that shows running ActiveXobjects unsafe. and another prob is VB Script not able to run in NS. Is there is any other solution?...
I created a ActiveX DLL but with which the same problem persist..
A VC guy told that inherit ISafe.. to open that in scripting... but if we implement it we cannot save that object in local...(File system object deney...) MS DOM itself come with a API called "Save" but it won't work in scripts...(From VB it works fine)
I created a ActiveX DLL but with which the same problem persist..
A VC guy told that inherit ISafe.. to open that in scripting... but if we implement it we cannot save that object in local...(File system object deney...) MS DOM itself come with a API called "Save" but it won't work in scripts...(From VB it works fine)
for Cross Platform XML Parsing in JavaScript try this:
http://xmljs.sourceforge.net/
http://xmljs.sourceforge.net/
rdov,
This is not the requirement. He want the string to be stored into client machine? Is it correct desmondtsk
?
This is not the requirement. He want the string to be stored into client machine? Is it correct desmondtsk
?
Finalized by:
Moondancer
Community Support Moderator @ Experts Exchange
Moondancer
Community Support Moderator @ Experts Exchange
Here is a good introduction:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/xmlsdk30/htm/xmconintroductiontothedom.asp
If you problem is to create a (xml) file on disk, you would have security constraints.