[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: RE: Using Variable in Template Matching....
> > It is an Element Name > [snip] > > > > Can i do > > <xsl:apply-templates match="$param"/> > > > > and.... > > > > <xsl:template match="$param"/> > > > > Thanks > > One thing that wasn't mentioned that may be useful in this situation is the use of modes. In particular, for generic processing something like: <xsl:apply-templates select="*[local-name()=$param]" mode="gunk"/> <xsl:template match="*" mode="gunk"> might help. This allows you to ensure that the matching template is only invoked on nodes selected via the param match. XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|