Quote:
Originally Posted by mhkay
If you want "/" to be just a dummy node, then you could do
Code:
<xsl:variable name="dummy"><doc/></xsl:variable>
and then
Code:
xsl:apply-templates select="$dummy"
But personally, I'd be more inclined to do it with named templates and xsl:call-template.
|
Hello, and thank you for the reply. Using the dummy node approach works great, but what I thought would be a bitwise operation doesn't work the way I assumed but :
Code:
(floor($types div 1) mod 2 = 1)
does.
Before posting I did try using call-template but gave up on it when Oxygen told me that mode was not supported on call-template or a name attributed template. Or is there something I've missed?
--
William