The following code will select all nodes where type attribute doesn’t exist:
select="image[not(@type)]"
Add this logic in your code.
The following code will select all nodes where type attribute doesn’t exist:
select="image[not(@type)]"
Add this logic in your code.