Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. dandan86

    editing an attribute of an XML file

    Hey, I am just using editplus - i am rather a beginner. I can download other tools if that's the way to do it. thanks.
  2. dandan86

    editing an attribute of an XML file

    hey guys, so, here is the issue: I got this XML with a very long attribute in it (the attribute is more than a few lines long, it represents a part of an html document using escape tags) - now, I need to edit specific parts of that attribute - my problem is: say i have the attribute node - how...
  3. dandan86

    "Access Denied" - can't write a new file

    Hey all, I am using micorsoft xmlparser, I am doing some parsing and when i am trying to save a new file with the new content i am getting the error msg:"Access Denied" - when i remove the line in which i save the new xml it works perfectly. The problem is that it seems like I can not create a...
  4. dandan86

    XML parser save method

    Alright, I think it is indeed the folder option thing, Instead of writing in javascript i wrote it in ASP, here is the code: <html> <body> <% dim xmlDom, Onode set xmlDom = Server.CreateObject("MSXML2.DOMDocument.4.0") xmlDom.load("Server.Mappath("note.xml")) //checking for parser load error -...
  5. dandan86

    XML parser save method

    when i open the ASP file (i know that for now it looks like an html one, and i know i am rather clueless), I go to Internet Explorer and on the address bar type the following: http://localhost/myWeb/test1.asp so i guess that means i use the iis localhost? thanks for your willingness to help. Dan
  6. dandan86

    XML parser save method

    Hey, someone tipped me that maybe it has to do with folder security options - that perhaps I have no atuhorizatino for creating files in the folder this way or something like that. can anyone shed a light over this? how do i change the folder security options?
  7. dandan86

    XML parser save method

    this is the case: The XML file and the ASP file will be on the same server, the ASP file will hold a JavaScript code which will perform the manipulation. anyhow - for now i am just trying to test it on my own computer, using IIS and a simple ASP file with a javascript code - where the xml file...
  8. dandan86

    XML parser save method

    sry for double-posting: i have tried to following: xmlDoc.save("file://C:\\Documents and Settings\\DanC\\Desktop\\XML DOM\\somefile.xml"); and still get the same "Premission Denied" thing - any ideas? thanks in advance, Dan
  9. dandan86

    XML parser save method

    and spaces (such as in: documents and settings) present no problem? thanks
  10. dandan86

    XML parser save method

    oh, and - I know i can read from the file since I use document.write(xmlDoc.getSingleElement("//to").getAttribute("urgent"); and i do get the value of the attribute "urgent" printed (where "urgent" is an attribute of an element named "to" - obviously the deatils of the XML don't matter, just...
  11. dandan86

    XML parser save method

    I am not trying to overwrite the file but create new one, I can easily create new files in that folder (right click---->new---->txt file) so i guess that means i can write in that folder - maybe there is something to change in teh folder settings? thanks in advance, Dan
  12. dandan86

    XML parser save method

    Thanks for replying. Yes, for now I will settle for saving it on my hard-drive -so say i have the path: C:\Documents and Settings\DanC\Desktop\XML DOM and i want the new XML file to be saved there? what should i write as an arguement to the save method? i tried to somehow modify what you wrote...
  13. dandan86

    XML parser save method

    Thanks for replying, In windowsXP PRO, on IE - i hope this is answers. any clue?
  14. dandan86

    XML parser save method

    Hey all, I am sort of new in XML, here is my problem: I am trying to update an XML document, for that matter I load it with a javascript code, and did some editting - only when try xmlDoc.save("filename.xml"); i get an error saying "permission denied" - So i can not save the xml and hence i can...

Part and Inventory Search

Back
Top