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

RE: Transform in browser (was:No Subject)

Subject: RE: Transform in browser (was:No Subject)
From: cknell@xxxxxxxxxx
Date: Mon, 03 Mar 2003 13:08:54 -0500
xsl transform in browser
> From:     "Pilarski,James" <James.Pilarski@xxxxxxxxx>
>
> I was wondering if there was any way for me to change the text 
> in the <AccessedDate> element without effecting any of the other.
> elements or attributes.  Unfortunately, the current system's
> structure does not allow me to transform the XML, save, and 
> redisplay it in the browser.  What I need to do is get the new
> Accessed Date from another node in the XML (I have assigned this
> to a variable already, $NewDate) and set the <AccessedDate> 
> element equal to the $NewDate variable.

As I see it, you have two choices:
1) Do a second transformation (client-side) after you have loaded the page.

2) Use DOM scripting techniques to alter the text node.

Both of these involve client-side scripting, and so are off-topic for the list. If no one else comes up with a better suggestion, please feel free to contact me off-list to discuss the particulars.
-- 
Charles Knell
cknell@xxxxxxxxxx - email





 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.