Now when I tried to debug the transformation using Oxygen tool (XML Editor tool), I had set the breakpoint at <xsl:apply-templates select="businessinfo/businessline"/>
and I see that the control has immediately gone to <xsl:template match="businessline"> and the entire section of XML under businessline element in source XML has been selected, indicating that part of XML is being processed now. My question here is, why did control go to <xsl:template match="businessline">. I have not specified this in XSL. But why did it go?
Also, after this, when the execution reached <xsl:apply-templates select="businessinfo/errors"/>, the debugger took the control to
and nothing has been processed.
Please be advised that, there is exactly a similar version running in production in our project.