Subject: RE: [xsl] loading dom From: cknell@xxxxxxxxxx Date: Thu, 07 Apr 2005 13:39:21 -0400 |
Javascript and DOM programming are off-topic for this list. However, as I have done a good deal of building and saving XML documents using Javascript, I may be able to help you off-list. If you are interested, you can contact me at the email address below. You will have to be more explicit about the nature and details of your problem. "i am not able to do anything" doesn't really tell anyone enough to diagnose your problem. -- Charles Knell cknell@xxxxxxxxxx - email -----Original Message----- From: Prasad Akella <avlnprasad@xxxxxx> Sent: Thu, 07 Apr 2005 18:40:28 +0200 To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: [xsl] loading dom Hello, I have an xslt which transforms xml into xhtml controls. I need to take the data entered from the user in those controls and save the xml tree again as there is some appending to the original data going on. For this i am calling a javascript from one of my xhtml controls. But the problem is i am not able to do anything. Is it a problem with namespace i am not sure. var xmlDoc = new ActiveXObject("MICROSOFT.FreeThreadedXMLDOM"); function save(){ xmlDoc.async="false"; xmlDoc.onreadystatechange=verify; xmlDoc.load(Server.MapPath('QP_Sample.xml')); var xmlObj=xmlDoc.documentElement; alert(xmlObj) xmlDoc.save(Server.MapPath('AP_Sample.xml')); return true; } This above function is written in a javascript which is written in my CData section of the xsl file. I am calling the function in a template which is writing the xhtml controls as <xhtml:input type="button" name="submit" value="Finish Exam" onclick="save()"/> can someone please tell me what to do. with kind regards, Prasad ______________________________________________________________ Verschicken Sie romantische, coole und witzige Bilder per SMS! Jetzt bei WEB.DE FreeMail: http://f.web.de/?mc=021193
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] loading dom, Prasad Akella | Thread | [xsl] xsl display graphic from xml, josh higgins |
[xsl] xsl display graphic from xml, josh higgins | Date | [xsl] xsl can't get graphic to load, josh higgins |
Month |