I have tried testing the parent node's text content as shown in my code but it does not seem to work
The code snippet you have posted does not demonstrate that problem, see How do I post a question effectively? and post a Short, Self Contained, Correct Example
Thanks
In reply to Re: XML:: Twig - can you check for text following the element being handled?
by Anonymous Monk
in thread XML:: Twig - can you check for text following the element being handled?
by mertserger
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |