XSL : XML Transformation - I want to permorm some operations when a particular tag occures else other operation
Posted on 2003-12-09
Hi Experts !!!
Pls Help me out of this prob. What i am trying to do is to transform one xml to another using xsl. my input xml look like
Here note that inside child tag either subchild can occure or grandchild but not both.
and in xsl i want to perform something when inside child tag i have subchild tag
& somthing else when i have grandchild inside childtag. & i want to make sure that atleast one exists .
So could pls suggest me how can i determine in xsl that inside child tag wheather subchild exists or grandchild ??