[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

manipulate xml with xsl/javascript, save with asp/vbsc

Subject: manipulate xml with xsl/javascript, save with asp/vbscript
From: "Mac Martine" <email@xxxxxxxxxxxxxxxx>
Date: Wed, 12 Mar 2003 11:08:13 -0800
javascript save xml

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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.