Hi all
,
I am writting some custom if then else tags and I am wondering if there is a way to check for a child tag like there is a way to check for a parent. For example I want to be able to check from my if tag, if a then tag exists. I don't won't to allow <pre:myIf test="true">
some content
</pre:myIf test="true">
I want to make sure there is a myThen tag nested. For example
<pre:myIf test="true">
<pre:myThen>
some content
</pre:myThen>
</pre:myIf>
I saw there is a getParent(), but I did not see a getChild()?
Any thoughts?
Thanks,
AMD