Implementing a condition in template match
<xsl:template match="a[!(img)and(not(@id))]">
I want to write a template such that a tag should not have attribute id and should not be followed by img tag.
But its showing error.
Can any one help?
Assuming
followed by img tagrefers to children and not siblings, you only have to consolidate your use of thenot()function, instead of the unsupported!operator: