RE: [xsl] Nesting an xsl:when

Subject: RE: [xsl] Nesting an xsl:when
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Wed, 3 Sep 2008 11:58:22 +0100
> Thanks for this. The user makes a choice from a drop down 
> menu on the rendered page and then an xsl:when reads some of 
> the XML to see which one is loaded and applies it.

The only way the XSLT code can react to user input is if the entire
transformation is run (or re-run) in response to the user input.

The XSLT code can generate dynamic HTML, but the dynamic HTML is not
executed until the transformation has finished.

Michael Kay
http://www.saxonica.com/

Current Thread