parsing though xml recursively using xslt
问题 I have an Xml as follows: <Soap:Envelope> <Soap:Body> <A> <B>Text</B> <C>Text</C> <D> <D1>Text</D1> <D2> <D3>Text</D3> <D4>Text</D4> </D2> </D> <E> <E1> <E2> <E3>Text</E3> </E2> </E1> </E> </A> </Soap:Body> </Soap:Envelope> How do I recursively parse through all the tags(I only know that I will be receiving an xml template), know the tag names and the "Text" in them using XSLT? I need to store the data in the format as below.Below answer works fine when I don't have and tags. How to get the