Hi there,
I've a problem with some XSL I'm writing, I'm wondering if there's an escape character in XSL or something that can solve this problem, here's what I've got for my XSL...
So I've got a couple of elements in my XML called 'xf:select1' they all have an attribute called appearance, this can be one of three values, one for example is 'full'.
the problem is I can't test for this in my if statement because I would be writing it like this (I think)...
Here you can see I've got (') inside ('), and there's already a (") around the pair of them.
Is there a way around this?
Cheers,
Alex.
I've a problem with some XSL I'm writing, I'm wondering if there's an escape character in XSL or something that can solve this problem, here's what I've got for my XSL...
Code:
<xsl:when test="name(../*[position()=$pos * 2])='xf:select1'">
<xsl:apply-templates select="../*[position()=$pos * 2]" mode="s1evens"/>
</xsl:when>
So I've got a couple of elements in my XML called 'xf:select1' they all have an attribute called appearance, this can be one of three values, one for example is 'full'.
the problem is I can't test for this in my if statement because I would be writing it like this (I think)...
Code:
<xsl:when test="name(../*[position()=$pos * 2])='xf:select1[@appearance='full']'">
Here you can see I've got (') inside ('), and there's already a (") around the pair of them.
Is there a way around this?
Cheers,
Alex.