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

Subject: Re: [xsl] Call another XML and XSL from an XSL outputting HTML
From: "M. David Peterson" <m.david@xxxxxxxxxxxxx>
Date: Sun, 01 Jul 2007 09:24:24 -0600
On Sun, 01 Jul 2007 08:40:55 -0600, Manfred Staudinger <manfred.staudinger@xxxxxxxxx> 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


Current Thread