Subject: [xsl] manipulate xml with xsl/javascript, save with asp/vbscript From: "Mac Martine" <email@xxxxxxxxxxxxxxxx> Date: Wed, 12 Mar 2003 11:08:13 -0800 |
Hello- I am trying to find the slickest way to update an XML tree. Here is what I am aiming for: I am using ASP/VBscript to transform the xml/xsl, but I don't want the ASP/VBscript script to do any manipulations of the XML. The only other thing I want to use the ASP/VBscript code for is to save the XML file after it has been manipulated by XSL and/or Javascript. All I will be doing is adding an attribute to an element or two. The XSL does all the work of figuring out where to add the attribute, now I just need to figure out a slick way of adding that attribute and saving the XML file with the added attribute. I could either add the attribute with XSL somehow (?) or have Javascript do it, but I have only been able to have Javascript alert() the xml code, and not document.write() it. When I do a document.write() on a loaded xml document it displays as html. Does anyone have any ideas as to what would be the best way to do this, whether it be something I have suggested or something I haven't thought of? I hope this is clear enough. Anyone have any great ideas about this? Thanks- Mac XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] copy XML and add attributes t, Mac Martine | Thread | Re: [xsl] manipulate xml with xsl/j, Mike Brown |
[xsl] Looping on a set value while , Alex Dragowski | Date | Re: [xsl] disable-output-escaping=", Mike Brown |
Month |