Subject: XSL Parameters was: RE: Accessing XSL context
From: "Borden, Jonathan" <jborden@xxxxxxxxxxxx>
Date: Fri, 5 Feb 1999 11:03:30 -0500
|
One trick I've used to fake XSL parameters is to add attributes to the
document prior to passing it to the XSL transformer. This leads to use of
<xsl:value-of match="/root/@Parameter1" />
the ability to declare constants would improve the efficiency (it seems) of
transformation by eliminating the multiple re-evalation of patterns, as well
as assisting with the context issue.
Jonathan Borden
http://jabr.ne.mediaone.net
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|