Subject: 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 |
- RE: Embedding XSL in JavaScript, (continued)
- Mac Rost - Wed, 5 Mar 2003 09:42:22 -0500 (EST)
- John Proctor - Wed, 5 Mar 2003 12:02:11 -0500 (EST)
- XSLList - Wed, 5 Mar 2003 14:09:29 -0500 (EST)
- Mac Martine - Wed, 12 Mar 2003 13:18:18 -0500 (EST)
- Mac Martine - Wed, 12 Mar 2003 14:13:48 -0500 (EST) <=
- Mike Brown - Wed, 12 Mar 2003 14:35:19 -0500 (EST)
- XSLList - Wed, 12 Mar 2003 15:20:20 -0500 (EST)
- Americo Albuquerque - Wed, 12 Mar 2003 14:51:05 -0500 (EST)
- john liao - Sat, 15 Mar 2003 17:58:32 -0500 (EST)
|
|