This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: RE: javascript variable in xsl:variable
- From: "Thomas B. Passin" <tpassin at mitretek dot org>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Fri, 26 Apr 2002 09:55:29 -0400
- Subject: Re: RE: [xsl] javascript variable in xsl:variable
- References: <200204261313.JAA24674@www20.ureach.com>
- Reply-to: xsl-list at lists dot mulberrytech dot com
[Ken Schulte]
>...
> So, my objective is to have an xml document in memeory that I
> can build an html page via xsl transformation. Then when the
> users cause an event to be executed, I want to be able to read
> xml and perform necessary changes to html.
A few days ago some posted this link:
http://www.15seconds.com/issue/010921.htm
It does just what you are talking about. The link has code for doing menu
trees using xml and xslt transformations in the browser. For example, it
uses statements like this:
folderTree.innerHTML = xmlDoc.documentElement.transformNode(xslDoc)
Another source of examples and information is the new Wrox book "Web Service
Faceplates", where they transform parts of a web page in place.
Of course, anything like this is only going to work for Internet Explorer
until Mozilla gets something like TransformSingleNode() in place.
Cheers,
Tom P
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list