xsl-list
[Top] [All Lists]

Re: [xsl] Call another XML and XSL from an XSL outputting HTML

2007-07-01 08:24:52
On Sun, 01 Jul 2007 08:40:55 -0600, Manfred Staudinger <manfred(_dot_)staudinger(_at_)gmail(_dot_)com> wrote:

You have to call the XSLT Processor from Javascript.

You can also use an iframe. One old-school asynchronous technique is to use a 0px width/height iframe to render the content using a PI and then capture the result and place it inline whereever it needs to be. Of course you could also just render the iframe as is setting the width/height to the proper settings.

The upside to this approach is it doesn't require any additional transformation code and therefore by its very nature its cross-browser compatible. The downside is that compiling and reusing the transformation file is not an option.

--
/M:D

M. David Peterson
http://mdavid.name | http://www.oreillynet.com/pub/au/2354 | http://dev.aol.com/blog/3155

--~------------------------------------------------------------------
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>
--~--