Re: RE: [xsl] javascript variable in xsl:variable

Subject: Re: RE: [xsl] javascript variable in xsl:variable
From: "Thomas B. Passin" <tpassin@xxxxxxxxxxxx>
Date: Fri, 26 Apr 2002 09:55:29 -0400
[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


Current Thread