I am trying to create a node a with subnodes which have sub nodes underneath them.
To create the root subnode i am using CreateIf function.
I am creating the node based on a condition.
If condition fails, i don't have a problem, it doesn't create the root subnode at all.
If condition passes through, the root subnode gets created but the sub nodes underneath them are not getting created.
from the above example, if condition passes it creates only the <a> and <b> tag but the <c> tag isn't created.