This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RE: javascript variable in xsl:variable


[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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]