Subject: Re: [xsl] retrieving mode name From: "andrew welch" <andrew.j.welch@xxxxxxxxx> Date: Fri, 23 Jun 2006 11:30:23 +0100 |
Hi all,
maybe a simple question: How can retrieve the name of the mode a stylesheet is currently processed in? I would like to do something like this: <if test="$modename eq example">
Is that possible (using saxon8 & xslt2)?
If you mean the inital mode that can be set when starting the transform (the -im switch) then it's not possible to detect that within the stylesheet. You could pass it is as a parameter and use that, or maybe explain a bit more what you are trying to achieve and see if theres a different solution.
cheers andrew
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] RE : [xsl] retrieving mode na, Florent Georges | Thread | Re: [xsl] retrieving mode name, Georg Hohmann |
[xsl] RE : [xsl] retrieving mode na, Florent Georges | Date | [xsl] RE : Re: [xsl] Merging attrib, Florent Georges |
Month |