xsl-list
[Top] [All Lists]

Re: [xsl] Assign the XML text to Javascript Variable value

2010-02-11 09:40:35
I have developed one XSL for viewing purpose in xml file, I want know how to
assign the xml text into javascript "var" value. Within the XSL file (i.e.
text())

Actual in my requirement is particular word in XML file (i.e. this word
anywhere appears in the xml element) need to change another one word (e.g
"Ganesh" to "Selva"). Also how to handle the special character (quotes,
apos, plus, minis, etc...). This is during the browser viewing purpose.


Design your HTML and Javascript by hand, get that working... Then
write the XSLT to transform your input into that output.  If you are
having problems with the transform, post the sample output, the
relevant part of your transform, and some sample input.


-- 
Andrew Welch
http://andrewjwelch.com
Kernow: http://kernowforsaxon.sf.net/

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--